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: "dank at kegel dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Jun 2005 19:37:36 -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 dank at kegel dot com 2005-06-15 19:37 -------
This bug report is a bit confusing because similar errors happen
when building glibc-2.3.5, and when building user apps.
The patch I posted fixes building glibc-2.3.5 itself.
Compiling user apps with this option might require
some more flags than the user is used to. I had to add
-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group
to the gcc commandline to get a small test program to link -static.
I haven't figured out the options for g++ yet.
--
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.