This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/631] --enable-static-nss breaks build
- From: "striek at hotmail dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Mar 2005 09:47:28 -0000
- Subject: [Bug libc/631] --enable-static-nss breaks build
- References: <20050103000912.631.elkner@linofee.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From striek at hotmail dot com 2005-03-26 09:47 -------
Same problem here. Just about everything I attempt to compile with static NSS
glibc breaks during the build, with *exactly* the same error message described
above. Glibc-2.3.3 compiles without errors, however.
glibc version 2.3.3 (from ftp.gnu.org)
gcc version 3.3.4
Slackware 10.1
Kernel 2.6.11.5 / 2.6.11.3
i686 architecture
glibc-2.3.3 compiled with the following flags:
../glibc-2.3.3/configure --enable-add-ons=linuxthreads
--prefix=/usr/local/glibc-static-2.3.3 --enable-static-nss
Packages compiled with the above libraries use the following flags:
./configure --disable-nls (--disable-shared)
and
make LDFLAGS="(-static | -all-static) -L/usr/local/glibc-static-2.3.3/lib
-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group"
Have tried compiling with CFLAGS+="-static" and similar to no avail, as well
with --disable-shared with individual packages, which also did not work.
Of note is that shadow-4.06 successfully compiles with the library compiled as
above.
I believe this is not a Redhat bug, rather a bug in the C library which occurs
when using static NSS routines. I have seen reports of it from debian, red hat,
and slackware systems. I am compiling the de facto library from gnu.org.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sources.redhat.com/bugzilla/show_bug.cgi?id=631
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.