[llvm-bugs] [Bug 24839] New: Failed to build on OS X 10.11

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 16 05:29:34 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24839

            Bug ID: 24839
           Summary: Failed to build on OS X 10.11
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: 191919 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I tried to build compiler-rt under OS X 10.11 GM with the configure script:

$ ../llvm/configure --enable-optimized=YES --enable-assertions=NO --prefix=/opt
--enable-targets=x86_64,x86,arm,aarch64
$ make

I got the following error messages:

ld: warning: ld: warning: ld: warning: ignoring file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++abi.tbd,
missing required architecture x86_64h in file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++abi.tbdignoring
file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbd,
missing required architecture x86_64h in file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbdignoring
file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libSystem.tbd,
missing required architecture x86_64h in file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libSystem.tbd


Undefined symbols for architecture x86_64h:
  "_OSSpinLockLock", referenced from:
      __sanitizer::BlockingMutex::Lock() in sanitizer_mac.o
  "_OSSpinLockUnlock", referenced from:
      __sanitizer::BlockingMutex::Unlock() in sanitizer_mac.o
  "__Block_object_assign", referenced from:
      ___copy_helper_block_ in asan_mac.o
      ___copy_helper_block_.16 in asan_mac.o
      ___copy_helper_block_.19 in asan_mac.o
      ___copy_helper_block_.22 in asan_mac.o
      ___copy_helper_block_.25 in asan_mac.o
  "__Block_object_dispose", referenced from:
      ___destroy_helper_block_ in asan_mac.o
      ___destroy_helper_block_.17 in asan_mac.o
      ___destroy_helper_block_.20 in asan_mac.o
      ___destroy_helper_block_.23 in asan_mac.o
      ___destroy_helper_block_.26 in asan_mac.o
  "__NSConcreteStackBlock", referenced from:
......
......
  "_write", referenced from:
      _wrap_write in asan_interceptors.o
      substitution_write in asan_interceptors.o
      __sanitizer::internal_write(int, void const*, unsigned long) in
sanitizer_mac.o
     (maybe you meant: __ZN11__sanitizer14internal_writeEiPKvm, _wrap_writev ,
_wrap_write )
  "_writev", referenced from:
      _wrap_writev in asan_interceptors.o
      substitution_writev in asan_interceptors.o
     (maybe you meant: _wrap_writev)
ld: symbol(s) not found for architecture x86_64h
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: ***
[/Users/xx/box/build-llvm/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx_dynamic/x86_64h/libcompiler_rt.dylib]
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

Building under OS X 10.10 is fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150916/7af194bf/attachment.html>


More information about the llvm-bugs mailing list