Summary: | llvm-3.5.2 error: instruction requires: !armv*m | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Qiming Wang <hughwung> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Qiming Wang
2015-12-19 12:36:55 UTC
Created attachment 419768 [details]
build log
it is the same error for llvm-3.5.0 I know why this error comes up! Because clang makefile will try run 'xcrun' to find the xcode commandline tools, and it will succeed. Then it will use that compiler instead the one from the prefix. I hided the 'xcrun' utility, and llvm is merge successfully! Nice shot. Not sure if we need to patch the build system not to look for xcrun though. Thank you for the report. yes, we do, so let's keep this ticket open for the time being I currently create a fake xcrun in `../Gentoo/usr/bin/xcrun` which always returns false to work around. I committed a fix to the ebuilds based on your suggestion, I hope it is sufficient. |