Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 192038

Summary: mozilla-firefox and sunbird don't compile with USE="debug" and gcc-4.2
Product: Gentoo Linux Reporter: Ewan Marshall <ewanm89>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ewan Marshall 2007-09-10 19:59:08 UTC
mozilla firefox and sunbird don't compile with USE="debug" on amd64, and fails with:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../../dist/lib/libembed_base_s.a(nsEmbedAPI.o): relocation R_X86_64_PC32 against `NSGlue_Warning' can not be used when making a shared object; recompile with -fPIC

Reproducible: Always

Steps to Reproduce:
1.Try to firefox or sunbird with debug use flag on amd64.

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../../dist/lib/libembed_base_s.a(nsEmbedAPI.o): relocation R_X86_64_PC32 against `NSGlue_Warning' can not be used when making a shared object; recompile with -fPIC

Expected Results:  
It compiles.

It compiles fine without the debug use flag, and others have reported the same problem.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-10 20:19:48 UTC

*** This bug has been marked as a duplicate of bug 188636 ***