[LLVMbugs] [Bug 8655] New: clang + compiler-rt requires an arm assembler to build on Darwin

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 20 13:10:17 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8655

           Summary: clang + compiler-rt requires an arm assembler to build
                    on Darwin
           Product: compiler-rt
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stoklund at 2pi.dk
                CC: llvmbugs at cs.uiuc.edu


I tried building compiler-rt as part of the clang build by placing it in
llvm/projects.

The build failed because I don't have an arm assembler installed on my Snow
Leopard system:

  ARCHIVE:   clang_darwin/eprintf/i386:
/Volumes/Krask/b/tools/clang/runtime/clang_darwin/eprintf/i386/libcompiler_rt.a
  FINAL-ARCHIVE: clang_darwin/eprintf:
/Volumes/Krask/b/tools/clang/runtime/clang_darwin/eprintf/libcompiler_rt.a
  ARCHIVE:   clang_darwin/10.4/i386:
/Volumes/Krask/b/tools/clang/runtime/clang_darwin/10.4/i386/libcompiler_rt.a
  ARCHIVE:   clang_darwin/10.4/x86_64:
/Volumes/Krask/b/tools/clang/runtime/clang_darwin/10.4/x86_64/libcompiler_rt.a
  FINAL-ARCHIVE: clang_darwin/10.4:
/Volumes/Krask/b/tools/clang/runtime/clang_darwin/10.4/libcompiler_rt.a
  ASSEMBLE:  clang_darwin/armv6/armv6:
/Volumes/Krask/g/llvm/projects/compiler-rt/lib/arm/restore_vfp_d8_d15_regs.S
/usr/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[4]: ***
[/Volumes/Krask/b/tools/clang/runtime/clang_darwin/armv6/armv6/SubDir.lib__arm/restore_vfp_d8_d15_regs.o]
Error 1
make[3]: *** [BuildRuntimeLibraries] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list