This is the mail archive of the glibc-bugs@sources.redhat.com 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 libc/631] --enable-static-nss breaks build


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


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