#47241 closed defect (fixed)
clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory
Reported by: | udbraumann | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | leopard snowleopard | Cc: | larryv (Lawrence Velázquez), h.rayflood@… |
Port: | clang-3.7 |
Description
While trying to upgrade clang-3.7
from 3.7-r231583_0
to 3.7-r232656_0
I on Snow Leopard 10.6.8 receive the following error:
:info:build llvm[3]: Copying runtime library macho_embedded/soft_pic to build dir :info:build cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime/compiler-rt/clang_macho_embedded/soft_static/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/macho_embedded/libclang_rt.soft_static.a :info:build cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime/compiler-rt/clang_macho_embedded/soft_pic/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/macho_embedded/libclang_rt.soft_pic.a :info:build cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime/compiler-rt/clang_darwin/asan_iossim_dynamic/libcompiler_rt.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib :info:build cp: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime/compiler-rt/clang_darwin/asan_iossim_dynamic/libcompiler_rt.dylib: No such file or directory :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build rm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/macho_embedded/.dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/Release+Debug+Asserts/lib/clang/3.7.0/lib/darwin/.dir :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime/compiler-rt' :info:build make[2]: *** [compiler-rt/.makeall] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang/runtime' :info:build make[1]: *** [all] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools/clang' :info:build make: *** [all] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/trunk' :info:build 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/make -j8 -w clang-only :info:build Exit code: 2 :error:build org.macports.build for port clang-3.7 returned: command execution failed :debug:build Error code: CHILDSTATUS 88868 2
libcompiler_rt.dylib
is not existing, while libcompiler_rt.a
apparently is? Is libcompiler_rt.dylib
really required?
Attachments (3)
Change History (14)
Changed 10 years ago by udbraumann
Attachment: | main.log.gz added |
---|
comment:1 follow-up: 2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… removed |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
Summary: | clang-3.7 @3.7-r232656_0 fails building on 10.6.8 → clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory |
comment:2 Changed 10 years ago by udbraumann
Changed 10 years ago by udbraumann
Attachment: | main-r234122_0.log.gz added |
---|
comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)
Keywords: | leopard snowleopard added |
---|
comment:4 follow-up: 5 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Sorry, that's a conditional patch for older systems, so I forgot to test it. I'll regenerate it.
comment:5 Changed 10 years ago by udbraumann
Thanks for fixing the trouble with the patches in 3.7-r234122_0.
Have tested clang-3.7 r235803_0 but the problem with the missing libcompiler_rt.dylib which firstly occurred in r232656_0 still is there.
comment:8 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 Changed 9 years ago by udbraumann
I am sorry to report that r138590 unfortunately does not fix the problem for my 10.6.8 platform with Xcode 4.2:
... :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug+Asserts/lib/clang/3.7.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-rt/clang_macho_embedded/soft_pic/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug+Asserts/lib/clang/3.7.0/lib/macho_embedded/libclang_rt.soft_pic.a :info:build cp: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-rt/clang_darwin/ubsan_iossim_dynamic/libcompiler_rt.dylib: No such file or directory :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug+Asserts/lib/clang/3.7.0/lib/darwin/libclang_rt.ubsan_iossim_dynamic.dylib] Error 1 ...
Please see the full log in main-r241984.log.gz
Changed 9 years ago by udbraumann
Attachment: | main-r241984.log.gz added |
---|
comment:11 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Well please open another ticket with for your case. I don't see how that could possibly be happening given the Makefile doesn't add the ubsan_iossim_dynamic config any more.
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:
See
main-r234122_0.log
.Inside
clang_darwin.mk.rej
I find this:Thanks for your help.