Bug 4347

Summary: xorg-server (0.99.1-r7 gentoo package) compiled with hardened gcc causes certain components to have missing symbols
Product: xorg Reporter: Mike Auty <mike.auty>
Component: Build/ModularAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Mike Auty 2005-09-04 07:57:06 UTC
I compiled xorg-server (0.99.1-r7 according to the gentoo package) and all the
associated libraries using the hardened gcc profile.  Everything compiled fine,
but starting the server showed the following libraries reported undefined symbols:

Module extmod - libextmod.so: symbol not found XTestJumpPointer
Module dri - libdrm.so: symbol not found drmGetLibVersion
Module nvidia - libdcc.so: symbol not found xf86DestroyI2CDevRec

Recompiling the xorg-server package only using the vanilla gcc module, the
server starts up and all works fine.  I also tried using the --with-pic flag,
but the server gave the same errors both with and without that flag.

If there's any further information I can provide or further tests I can run,
please let me know and I'll provide them as soon as I can...
Comment 1 Adam Jackson 2005-09-09 10:45:13 UTC
pretty sure this is a dupe, iirc hardened tries to build things with -z now in
the linker flags and that simply will not work.

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.