Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325539 - dev-libs/dietlibc-0.33_pre20090721: Missing gcc-specs-pie check for -nopie
Summary: dev-libs/dietlibc-0.33_pre20090721: Missing gcc-specs-pie check for -nopie
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 18:23 UTC by Luca Lesinigo
Modified: 2010-06-26 06:53 UTC (History)
1 user (show)

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 Luca Lesinigo 2010-06-25 18:23:09 UTC
dietlibc-0.33_pre20090721 ebuild will unconditionally do:

append-flags [....] -nopie

this gives 922 times this warning on gcc hppa2.0-unknown-linux-gnu-4.2.4:
  hppa2.0-unknown-linux-gnu-gcc: unrecognized option '-nopie'
otoh, it doesn't emit any warning on x86_64-pc-linux-gnu-4.3.4

please modify the ebuild to add it only where relevant - I don't know if it's about gcc 4.2.4 vs 4.3.4 or if it's something about hppa (and possibly other archs?)

[dietlibc-0.33_pre20090721 does not even compile on hppa right now, but that's for other causes. this is just a minor bug causing warnings.]
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-25 18:30:32 UTC
it should be:

gcc-specs-pie && append-flags -nopie
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2010-06-26 06:53:22 UTC
fixed in cvs. i've also added a new dietlibc snapshot for testing