[MacPorts] #47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory

MacPorts noreply at macports.org
Tue Apr 7 07:07:14 PDT 2015


#47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory
-------------------------+------------------------
  Reporter:  braumann@…  |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  clang-3.7   |
-------------------------+------------------------

Comment (by braumann@…):

 FWIW: since I noticed that r234122_0 came out in between, I tried to
 upgrade to this particular release candidate, however, there is some
 confusion while applying patches:

 {{{
 ...
 :info:patch --->  Applying leopard-no-asan.patch
 :debug:patch Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPT
 IONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk"
 && /usr/bin/patch -p1'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm-3.7/files
 /leopard-no-asan.patch'
 :info:patch patching file projects/compiler-
 rt/make/platform/clang_darwin.mk
 :info:patch Hunk #1 FAILED at 115.
 :info:patch 1 out of 1 hunk FAILED -- saving rejects to file projects
 /compiler-rt/make/platform/clang_darwin.mk.rej
 :info:patch patching file tools/clang/runtime/compiler-rt/Makefile
 :info:patch Hunk #1 FAILED at 78.
 :info:patch 1 out of 1 hunk FAILED -- saving rejects to file
 tools/clang/runtime/compiler-rt/Makefile.rej
 :info:patch Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm-3.7/files
 /leopard-no-asan.patch'
 :info:patch Exit code: 1
 ...
 }}}

 See {{{main-r234122_0.log}}}.

 Inside {{{clang_darwin.mk.rej}}} I find this:

 {{{
 ***************
 *** 115,127 ****
   UniversalArchs.profile_ios += $(call
 CheckArches,armv7,profile_ios,$(IOS_SDK))

   # Configurations which define the ASAN support functions.
 - Configs += asan_osx_dynamic
   UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64
 x86_64h,asan_osx_dynamic,$(OSX_SDK))

 - Configs += asan_iossim_dynamic
   UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386
 x86_64,asan_iossim_dynamic,$(IOSSIM_SDK))

 - Configs += ubsan_osx
   UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64
 x86_64h,ubsan_osx,$(OSX_SDK))

   # Darwin 10.6 has a bug in cctools that makes it unable to use ranlib on
 our ARM
 }}}

 Thanks for your help.

-- 
Ticket URL: <https://trac.macports.org/ticket/47241#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list