Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653088 - www-client/chromium-65.0.3325.146: x86_64-pc-linux-gnu-clang++: error: unknown argument: '-mno-abm'
Summary: www-client/chromium-65.0.3325.146: x86_64-pc-linux-gnu-clang++: error: unknow...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 08:51 UTC by Stijn Tintel
Modified: 2018-04-13 20:56 UTC (History)
0 users

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


Attachments
build.log (build.log,333.09 KB, text/x-log)
2018-04-13 14:14 UTC, Stijn Tintel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2018-04-13 08:51:05 UTC
It seems Chromium insists on being built with clang, and clang does not understand "-mno-abm". Please filter this flag in the ebuild.
Comment 1 Mike Gilbert gentoo-dev 2018-04-13 14:10:01 UTC
The ebuild already calls "strip-unsupported-flags" if the system default compiler is being overridden.
Comment 2 Stijn Tintel 2018-04-13 14:14:39 UTC
Created attachment 527254 [details]
build.log
Comment 3 Stijn Tintel 2018-04-13 14:15:03 UTC
Apparently that is not enough. See build.log.
Comment 4 Mike Gilbert gentoo-dev 2018-04-13 15:18:15 UTC
Please provide the output of "emerge --info www-client/chromium".
Comment 5 Mike Gilbert gentoo-dev 2018-04-13 15:30:01 UTC
It looks like you have a bunch of flags in CPPFLAGS, and strip-unsupported-flags does not touch that variable.

I suggest not setting CPPFLAGS in make.conf. That variable is meant for pre-processor flags, not compiler flags.