[LLVMbugs] [Bug 14013] New: clang HEAD broken on snow leopard

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 3 16:17:13 PDT 2012


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

             Bug #: 14013
           Summary: clang HEAD broken on snow leopard
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: idadesub at users.sourceforge.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


It seems the commit, r164907, has broken clang on Snow Leopard. This commit
added IOS6 support, and it's assuming that compiler-rt is going to generate
cc_kext_ios5.a, but the compiler-rt doesn't seem to be creating this file.
Here's the error I'm getting:

make -C /Users/etryzelaar/Projects/rust/rust/src/llvm/projects/compiler-rt \
     
ProjSrcRoot=/Users/etryzelaar/Projects/rust/rust/src/llvm/projects/compiler-rt
\
     
ProjObjRoot=/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt
\
     
CC="/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/Release+Asserts/bin/clang"
\
      clang_darwin
/Users/etryzelaar/Projects/rust/rust/src/llvm/autoconf/mkinstalldirs
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/Release+Asserts/lib/clang/3.2/lib/darwin
> /dev/null
/bin/date >
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/Release+Asserts/lib/clang/3.2/lib/darwin/.dir
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'armv7' from lib ''
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'armv7f' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'armv7k' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'armv7s' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'armv7f' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'armv7k' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'armv7s' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'armv7f' from lib 'cc_kext_ios5'
warning: clang_darwin.mk: dropping arch 'armv7k' from lib 'cc_kext_ios5'
warning: clang_darwin.mk: dropping arch 'armv7s' from lib 'cc_kext_ios5'
warning: clang_darwin.mk: dropping arch 'armv7f' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'armv7k' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'armv7s' from lib 'profile_ios'
  FINAL-ARCHIVE: clang_darwin/cc_kext_ios5:
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext_ios5/libcompiler_rt.a
rm -f
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext_ios5/libcompiler_rt.a
  ARCHIVE:   clang_darwin/profile_osx/x86_64:
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/libcompiler_rt.a
rm -f
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/libcompiler_rt.a
ar cru 2> /dev/null
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/libcompiler_rt.a
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/SubDir.lib__profile/GCDAProfiling.o
 
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/SubDir.lib/int_util.o
lipo -create -output
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext_ios5/libcompiler_rt.a 
  COMPILE:   clang_darwin/profile_ios/i386:
/Users/etryzelaar/Projects/rust/rust/src/llvm/projects/compiler-rt/lib/int_util.c
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/Release+Asserts/bin/clang
-arch i386 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -Werror -O3
-fomit-frame-pointer -miphoneos-version-min=1.0 -isysroot
/Users/etryzelaar/Projects/rust/rust/src/llvm/projects/compiler-rt/SDKs/darwin
-c -fPIC -o
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_ios/i386/SubDir.lib/int_util.o
/Users/etryzelaar/Projects/rust/rust/src/llvm/projects/compiler-rt/lib/int_util.c
lipo: no input files specified
lipo: Usage: lipo [input_file] ... [-arch <arch_type> input_file] ... [-info]
[-detailed_info] [-output output_file] [-create] [-arch_blank <arch_type>]
[-thin <arch_type>] [-remove <arch_type>] ... [-extract <arch_type>] ...
[-extract_family <arch_type>] ... [-verify_arch <arch_type> ...] [-replace
<arch_type> <file_name>] ...
make[5]: ***
[/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext_ios5/libcompiler_rt.a]
Error 1
make[5]: *** Waiting for unfinished jobs....
ranlib 2> /dev/null
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/tools/clang/runtime/compiler-rt/clang_darwin/profile_osx/x86_64/libcompiler_rt.a
make[4]: *** [BuildRuntimeLibraries] Error 2
rm
/Users/etryzelaar/Projects/rust/rust/build-make/llvm/x86_64-apple-darwin/Release+Asserts/lib/clang/3.2/lib/darwin/.dir
make[3]: *** [compiler-rt/.makeall] 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