glibc currently fails to build --disable-shared --enable-static-nss binary.
Just either one of these options also fails.
Besides the required dependencies patches also attached some patches which are
not importable, they just work for me.
Tested on: clean 2.3.5, Fedora Core 4 glibc-2.3.5-10, RawHide glibc-2.3.5-11
Resulting glibc still has broken NPTL libpthread but I do not need it.
Created attachment 536 [details]
FC4 glibc-2.3.5-10 .spec patch for clear reproducibility
Patch also contains: LDFLAGS="-static"
to be able to build with: --disable-shared
It should not be required.
Another bug is the requirement to specify CFLAGS+LDFLAGS both for "configure"
Created attachment 537 [details]
Remove dependency on libgcc_s.so which is impossible for: --disable-shared
Created attachment 538 [details]
Fixes undefined linking crash for "--disable-shared". It may be a valid patch, not sure.
Created attachment 544 [details]
FC4 glibc-2.3.5-10 .spec patch for clear reproducibility (v2, incl. Bug1050)
*** This bug has been marked as a duplicate of 333 ***