Bug 4347 - xorg-server (0.99.1-r7 gentoo package) compiled with hardened gcc causes certain components to have missing symbols
Summary: xorg-server (0.99.1-r7 gentoo package) compiled with hardened gcc causes cert...
Status: RESOLVED DUPLICATE of bug 600
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-04 07:57 UTC by Mike Auty
Modified: 2005-09-08 17:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.