Bug 204894 - clang does not pass march to external as
Summary: clang does not pass march to external as
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 10:44 UTC by Jeroen
Modified: 2015-11-29 22:32 UTC (History)
0 users

See Also:


Attachments
commands to reproduce the issue (11.80 KB, text/plain)
2015-11-29 10:44 UTC, Jeroen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen 2015-11-29 10:44:09 UTC
Created attachment 163648 [details]
commands to reproduce the issue

When building u-boot for ARM with clang from the base system with an external as, march is not passed on, resulting in several build errors. Explicitly adding e.g. -Xassembler -march=armv7-a can be used to workaround it. Example attached.