First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 208212
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Walter Meinl <wuno@lsvw.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ei.txt emerge --info text/plain Walter Meinl 2008-02-01 19:12 0000 4.12 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 208212 depends on: Show dependency tree
Show dependency graph
Bug 208212 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-30 20:34 0000
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.

------- Comment #1 From Raúl Porcel 2008-02-01 17:40:09 0000 -------
Hrm...you using nss-3.12_beta1 or nss-3.11.7?

------- Comment #2 From Raúl Porcel 2008-02-01 18:54:48 0000 -------
D'oh, sorry, you already said it...

------- Comment #3 From Walter Meinl 2008-02-01 19:12:31 0000 -------
Created an attachment (id=142424) [edit]
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)

------- Comment #4 From Raúl Porcel 2008-02-01 19:41:02 0000 -------
No, i can reproduce it...

------- Comment #5 From Walter Meinl 2008-02-07 07:07:56 0000 -------
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)

------- Comment #6 From Raúl Porcel 2008-02-08 12:43:57 0000 -------
Hrm...i think i posted to this bug when i fixed it :/

Well, thanks, closing.

First Last Prev Next    No search results available      Search page      Enter new bug