public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: 7dog123 <futuretrunks745@gmail.com>
Cc: libc-help@sourceware.org
Subject: Re: rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc
Date: Mon, 6 Nov 2023 20:34:54 -0300	[thread overview]
Message-ID: <15D0A229-D37E-46A4-8A35-CC9B83B1846C@linaro.org> (raw)
In-Reply-To: <CAKmq3HsmgCzRtBtOr=9f12pB5pq8_HYTu9TSpdBwQMC_pvnKCg@mail.gmail.com>



> On 6 Nov 2023, at 15:30, 7dog123 via Libc-help <libc-help@sourceware.org> wrote:
> 
> I'm trying to build glibc on cygwin but I keep on getting this error
> 
>    [ALL  ]      rtld-Rules:40: *** This makefile is a subroutine of
> elf/Makefile not to be used directly.  Stop.
>    [ALL  ]      make[4]: Leaving directory '/build/src/glibc-2.38/elf'
>    [ERROR]      make[3]: *** [Makefile:1315:
> /build/x86_64-pc-linux-gnu/build/build-libc/multilib/elf/rtld-libc.a] Error
> 2
>    [ERROR]      make[3]: *** Waiting for unfinished jobs....
>    [ALL  ]      make[3]: Leaving directory '/build/src/glibc-2.38/elf'
>    [ERROR]      make[2]: *** [Makefile:484: elf/subdir_lib] Error 2
>    [ALL  ]      make[2]: Leaving directory '/build/src/glibc-2.38'
>    [ERROR]      make[1]: *** [Makefile:9: all] Error 2
>    [ALL  ]      make[1]: Leaving directory
> '/build/x86_64-pc-linux-gnu/build/build-libc/multilib'
> 
> I'm building it through crossingtool-ng.
> 
> Here's the configuration it used:
> 
>    /build/x86_64-pc-linux-gnu/src/glibc/configure --prefix=/usr
> --build=x86_64-build_pc-cygwin --host=x86_64-pc-linux-gnu
> --cache-file=/build/x86_64-pc-linux-gnu/build/build-libc/multilib/config.cache
> --without-cvs --disable-profile --without-gd
> --with-headers=/x-tools/}x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sysroot/usr/include
> --disable-debug --disable-sanity-checks --enable-kernel=6.5.5
> --with-__thread --with-tls --enable-shared --enable-add-ons=no

Cygwin it is not a supporter ABI. The glibc currently only supports Linux and Hurd.

      reply	other threads:[~2023-11-06 23:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-06 18:29 7dog123
2023-11-06 23:34 ` Adhemerval Zanella [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15D0A229-D37E-46A4-8A35-CC9B83B1846C@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=futuretrunks745@gmail.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).