[MacPorts] #47241: clang-3.7 @3.7-r232656_0 fails building on 10.6.8
#47241: clang-3.7 @3.7-r232656_0 fails building on 10.6.8 ------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: clang-3.7 ------------------------+-------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/47241> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * cc: jeremyhu@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Changes (by larryv@…): * keywords: => leopard snowleopard -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by jeremyhu@…): Sorry, that's a conditional patch for older systems, so I forgot to test it. I'll regenerate it. -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by braumann@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#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: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by h.rayflood@…): #47729 maybe resolve this probrem. -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory -------------------------+--------------------------------- Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory -------------------------+--------------------------------- Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by jeremyhu@…): r138590 -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory -------------------------+--------------------------------- Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by braumann@…): 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 -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#47241: clang-3.7 @3.7-r232656_0: libcompiler_rt.dylib: No such file or directory -------------------------+--------------------------------- Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard snowleopard Port: clang-3.7 | -------------------------+--------------------------------- Comment (by jeremyhu@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/47241#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts