public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc
@ 2023-10-31 16:21 7dog123
  2023-11-06 15:38 ` Brian Inglis
  0 siblings, 1 reply; 2+ messages in thread
From: 7dog123 @ 2023-10-31 16:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc
  2023-10-31 16:21 rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc 7dog123
@ 2023-11-06 15:38 ` Brian Inglis
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2023-11-06 15:38 UTC (permalink / raw)
  To: cygwin; +Cc: 7dog123

On 2023-10-31 10:21, 7dog123 via Cygwin 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

You might want to try the glibc ML instead of cygwin:

	https://sourceware.org/mailman/listinfo/libc-help/

	mailto:libc-help@sourceware.org

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-06 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 16:21 rtld-Rules:40: *** This makefile is a subroutine of elf/Makefile not to be used directly. when building glibc 7dog123
2023-11-06 15:38 ` Brian Inglis

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).