[MacPorts] #60408: Unable to Build clang-3.7 on Lion -- Build crashes and hangs
MacPorts
noreply at macports.org
Tue Apr 28 19:04:33 UTC 2020
#60408: Unable to Build clang-3.7 on Lion -- Build crashes and hangs
------------------------+----------------------
Reporter: RobK88 | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: clang-3.7 |
------------------------+----------------------
Comment (by kencu):
Somewhat strange. Things go smoothly until the build starts to build
{{{compiler-rt}}} with the newly-minted clang, and then that crashes, as
per your crashlogs.
{{{
:info:build make[3]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime
/compiler-rt'
:info:build /usr/bin/make -C
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
/compiler-rt \
:info:build
ProjSrcRoot=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
/compiler-rt \
:info:build
ProjObjRoot=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime
/compiler-rt \
:info:build
CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/bin/clang"
\
:info:build VERBOSE=1 \
:info:build clang_darwin clang_macho_embedded
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/autoconf/mkinstalldirs
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin
> /dev/null
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/autoconf/mkinstalldirs
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/macho_embedded
> /dev/null
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/autoconf/mkinstalldirs
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/include/sanitizer
:info:build cp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
/compiler-rt/include/sanitizer/*.h
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/include/sanitizer
:info:build mkdir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib:
File exists
:info:build /bin/date >
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/.dir
:info:build /bin/date >
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/macho_embedded/.dir
:info:build warning: clang_darwin.mk: dropping arch 'i386' from lib
'eprintf' (clang does not support it)
:info:build warning: clang_darwin.mk: dropping arch 'ppc' from lib '10.4'
(clang does not support it)
:info:build warning: clang_darwin.mk: dropping arch 'i386' from lib '10.4'
(clang does not support it)
:info:build warning: clang_darwin.mk: dropping arch 'x86_64' from lib
'10.4' (clang does not support it)
:info:build make[3]: *** [BuildRuntimeLibraries] Interrupt: 2
:info:build make[3]: *** Deleting intermediate file
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/macho_embedded/.dir'
:info:build make[3]: *** Deleting intermediate file
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/.dir'
:info:build make[2]: *** [compiler-rt/.makeall] Interrupt: 2
:info:build make[1]: *** [all] Interrupt: 2
:info:build make: *** [all] Interrupt: 2
}}}
I have seen that before, when llvm was built with a too-old clang version,
but on your system, llvm-3.7 should have been built with clang-3.4, and
that does built it correctly.
The buildbot last built clang-3.7 correctly on 10.7 in January
<https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/15670>
but there have been a few (minor, I thought) changes to clang-3.7 since
then.
I'll try on my 10.7 system again to see.
Do you have a version of clang-3.7 installed at this time, that you are
trying to update? Does it work? Or crash?
--
Ticket URL: <https://trac.macports.org/ticket/60408#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list