Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257587 - flag-o-matic.eclass needs to perform platform-specific filtering for 'strip-flags'
Summary: flag-o-matic.eclass needs to perform platform-specific filtering for 'strip-f...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2009-02-04 12:12 UTC by Stuart Shelton
Modified: 2021-03-25 16:32 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 Stuart Shelton 2009-02-04 12:12:38 UTC
Until platform-specific CFLAG filtering can be implemented, the function should check $CHOST and only filter for known values.

For example, on IRIX the following flags *must not* be stripped:

-c99, -32, -o32, -n32, -64, -mips[1-4], -r{4,5,8,10,12,14,16}000, -TARG:.*, -diag_error [0-9]+

(The last because the compiler incorrectly treats compiler status 1035 - #error directive in a source file - as a warning rather than an error)

This is normally dealt with by the compiler wrapper script that I'm (still...) working on re-adding the necessary flags, but it has problems with how gtk+-2 (ab)uses double-quotes during it's build.  I'm now resorting to building without the wrapper and relying on the ebuild and the source configure/Makefile not to remove any necessary include, library, or rpaths - but this fails almost immediately because the ebuild's strip-flags statement removes the '-c99' flag, removing C99 and therefore glib support.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-19 22:59:50 UTC
This will need significant work. Marking as NeedPatch for now.
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 18:07:12 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.