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

Bug 115528

Summary: make xorg ebuild produce usable X with hardened gcc
Product: Gentoo Linux Reporter: Michal Suchanek <hramrach>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Suchanek 2005-12-14 06:30:05 UTC
It is recommended to build X either with USE=dlloader or USE=static when using hardened gcc. 
However, the xorg ebuild does not check that either of these flags is set, and happily produces garbled 
binaries.

Using dlloader solved the issue for me on ppc and x86

Reproducible: Always
Steps to Reproduce:
1. put hardened into USE flags
2. emerge gcc
3. emerge xorg-x11

Actual Results:  
X does not start

Expected Results:  
ebuilds either refuses to build due to invalid USE combo or automatically adds dlloader for hardened 
gcc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-14 07:37:30 UTC
hardened profile sets USE=dlloader flag automatically... Set correct profile
when using hardened toolchain.