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

Bug 552312

Summary: flag-o-matic.eclass strips all flags from ARM asm code
Product: Gentoo Linux Reporter: Steve Arnold <nerdboy>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal CC: arm
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: failed build (using replace-flags)
good build (avoids replace-flags)

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