This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/20846] New: Unable to build GLIBC with --disable-shared


https://sourceware.org/bugzilla/show_bug.cgi?id=20846

            Bug ID: 20846
           Summary: Unable to build GLIBC with --disable-shared
           Product: glibc
           Version: 2.24
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: neotheuser at ymail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

Hello everyone, sorry if this is a duplicate bug, the search function wouldn't
load for me and "possible duplicates" is showing "data error."

Adding --disable-shared (to make a static C library for sysroot) breaks the
build of GLIBC very early on as it fails to generate the libc-modules.h file.

I have looked over commit 130ac68ca25c9aa65e027e3e37337bc048205c69 but was
unable to fix the issue. Master branch and gentoo/2.24 both fail for me
(haven't tried others.) In the mean time I have built GLIBC for my custom build
environment without that option.

Full configure line:

../configure --prefix=/home/<scrubbed>/git-toolchain-bin/usr
--with-binutils=/home/<scrubbed>/git-toolchain-bin/usr/bin
--with-headers=/home/<scrubbed>/git-toolchain-bin/usr/include --disable-shared

Thank you, and again, sorry for the possible duplicate! Build log attached.

Alec Ari

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]