Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115528 - make xorg ebuild produce usable X with hardened gcc
Summary: make xorg ebuild produce usable X with hardened gcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 06:30 UTC by Michal Suchanek
Modified: 2005-12-14 07:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.