Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552312 - flag-o-matic.eclass strips all flags from ARM asm code
Summary: flag-o-matic.eclass strips all flags from ARM asm code
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 17:28 UTC by Steve Arnold
Modified: 2015-06-17 07:30 UTC (History)
1 user (show)

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


Attachments
failed build (using replace-flags) (vo-aacenc-0.1.3.log,98.27 KB, text/plain)
2015-06-16 17:31 UTC, Steve Arnold
Details
good build (avoids replace-flags) (vo-aacenc-0.1.3-good.log,85.82 KB, text/plain)
2015-06-16 17:41 UTC, Steve Arnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2015-06-16 17:28:21 UTC
Looking at allowed_flags I see some x86, sparc, mips but no ARM flags.  Using both vo-foobarencode ebuilds as examples, replace-flags and filter-flags cause build failures in the ARMV7 asm source tree by stripping *all* flags from the build.  The workaround for now is "don't use those functions".  Other than adding some suitable ARM flags, I don't have the rest of the answer (since I stopped sleeping 6 months ago I should probably not attempt a fix).
Comment 1 Steve Arnold archtester gentoo-dev 2015-06-16 17:31:00 UTC
Created attachment 405250 [details]
failed build (using replace-flags)
Comment 2 Steve Arnold archtester gentoo-dev 2015-06-16 17:41:15 UTC
Created attachment 405252 [details]
good build (avoids replace-flags)

Also threw in QA exec warning fix suggested by igli.
Comment 3 SpanKY gentoo-dev 2015-06-17 07:30:16 UTC
please list the exact flags you want white listed