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

Bug 293843

Summary: i686-mingw32 fails on hardened because of LDFLAG -z
Product: Gentoo Linux Reporter: Ralph Sennhauser (RETIRED) <sera>
Component: [OLD] Core systemAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: developer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ralph Sennhauser (RETIRED) gentoo-dev 2009-11-20 13:19:09 UTC
crossdev -S -t i686-mingw32 fails during linking gcc-stage1 using hardened/linux/amd64/10.0.

The error is the LDFLAG -z is not supported for this target. How about filtering this flag? Switching to non hardened profile lets me build mingw32.

Have forgotten to backup the logs of the failed attempt, if necessary I can reproduce them.

Also mingw32 doesn't install with FEATURES="stricter", but that's a different issue.

Reproducible: Always

Steps to Reproduce:
1. set profile to hardened/linux/amd64/10.0
1. crossdev -S -t i686-mingw32
Comment 1 Magnus Granberg gentoo-dev 2011-06-09 22:39:05 UTC
You can try to pass -nonow. For it would disable -z now from the hardened compiler.