[llvm-commits] [compiler-rt] r150232 - /compiler-rt/trunk/make/platform/clang_darwin.mk

Alexander Potapenko glider at google.com
Fri Feb 10 01:09:50 PST 2012


On Fri, Feb 10, 2012 at 10:00 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Fri Feb 10 00:00:35 2012
> New Revision: 150232
>
> URL: http://llvm.org/viewvc/llvm-project?rev=150232&view=rev
> Log:
> make/clang_darwin: Tweak CheckArches function to force the integrated-as and use
> the stub SDK to try and ensure we always pick up the right archs when they
> should be able to be used.
>  - Also, warn when we drop an architecture.
>
> Modified:
>    compiler-rt/trunk/make/platform/clang_darwin.mk
>

Daniel,

either r150231 or r150232 has broken the LLVM build.


  ASSEMBLE:  clang_darwin/ios/armv6:
/Users/glider/src/llvm-buildbot/slave/mac10.6/build/llvm/projects/compiler-rt/lib/arm/divmodsi4.S
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/as: assembler
(/usr/bin/../libexec/gcc/darwin/arm/as or
/usr/bin/../local/libexec/gcc/darwin/arm/as) for architecture arm not
installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/ppc/as for architecture ppc
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
make[5]: *** [/Users/glider/src/llvm-buildbot/slave/mac10.6/build/llvm-build/tools/clang/runtime/compiler-rt/clang_darwin/ios/armv6/SubDir.lib__arm/divmodsi4.o]
Error 1
make[4]: *** [BuildRuntimeLibraries] Error 2
make[3]: *** [compiler-rt/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1

Do you think that the toolchain should support ARM in order to build
LLVM for x86?

Alex




More information about the llvm-commits mailing list