after update of the patchset for mozilla-firefox and other mozilla-apps (TB,SB) they fail to compile on amd with LDFLAGS='-Wl,--as-needed' Here's some start of the error output: rm -f libpipnss.so x86_64-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -fPIC -shared -Wl,-z,defs -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -Wl,-h,libpipnss.so -o libpipnss.so md4.o nsPSMBackgroundThread.o nsSSLThread.o nsCertVerificationThread.o nsCipherInfo.o nsNSSCallbacks.o nsNSSComponent.o nsNSSIOLayer.o nsNSSModule.o nsSSLSocketProvider.o nsTLSSocketProvider.o nsSDR.o nsPK11TokenDB.o nsNSSCertificate.o nsPKCS12Blob.o nsNSSASN1Object.o nsKeygenHandler.o nsCrypto.o nsPKCS11Slot.o nsKeygenThread.o nsCMSSecureMessage.o nsCMS.o nsCertPicker.o nsCRLInfo.o nsNSSCertCache.o nsNSSCertHelper.o nsNSSCertificateDB.o nsNSSCertTrust.o nsNSSCertValidity.o nsOCSPResponder.o nsUsageArrayHelper.o nsCRLManager.o nsNSSShutDown.o nsNTLMAuthModule.o nsNSSEvent.o nsSmartCardMonitor.o nsSmartCardEvent.o nsStreamCipher.o nsKeyModule.o nsCertTree.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-rpath,'$ORIGIN:$ORIGIN/..' ../../../../dist/lib/libunicharutil_s.a -L../../../../dist/bin -lxpcom -lxpcom_core -L../../../../dist/bin -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../../../dist/bin -lmozjs -Wl,-R/usr/lib64/nss -L/usr/lib64/nss -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -Wl,--version-script -Wl,../../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /usr/lib64/nss/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertReqMessages': (.text+0x29): undefined reference to `SEC_ASN1Encode_Util' /usr/lib64/nss/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertRequest': (.text+0x5f): undefined reference to `SEC_ASN1Encode_Util' /usr/lib64/nss/libcrmf.a(crmfenc.o): In function `CRMF_EncodeCertReqMsg': (.text+0x8f): undefined reference to `SEC_ASN1Encode_Util' /usr/lib64/nss/libcrmf.a(crmftmpl.o):(.data.rel.ro+0x170): undefined reference to `SEC_NullTemplate_Util' /usr/lib64/nss/libcrmf.a(crmftmpl.o):(.data.rel.ro+0x1b0): undefined reference to `SEC_BitStringTemplate_Util' /usr/lib64/nss/libcrmf.a(crmftmpl.o):(.data.rel.ro+0x1f0): undefined reference to `SEC_IntegerTemplate_Util' /...... screen cluttered with undefined references unsetting this LDFLAG let it compile I have installed dev-libs/nss-3.12_beta1-r1, the patch I suspect to cause this is 015_firefox-nss-3.12.patch.
Hrm...you using nss-3.12_beta1 or nss-3.11.7?
D'oh, sorry, you already said it...
Created attachment 142424 [details] emerge --info Yep, I use nss-3.12_{alpha/beta} since several weeks (having a home-made minefield ebuild). I had no problems to build ff-2.0.0.11 against it (could be however, that the last time before you added the patch to the patchset, I built it against nss-3.12_alpha2)
No, i can reproduce it...
After including the nss-as-needed patch it works again, thanks.Tested with mozilla-firefox, mozilla-thunderbird, sunbird, seamonkey and xulrunner (all Gecko 1.8.x)
Hrm...i think i posted to this bug when i fixed it :/ Well, thanks, closing.