[MacPorts] #59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger
MacPorts
noreply at macports.org
Mon Nov 18 11:22:16 UTC 2019
#59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger
-------------------------------------------------+-------------------------
Reporter: dgelessus | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger i386
Port: libcxx llvm-3.4 clang-3.4 llvm-3.7 |
clang-3.7 |
-------------------------------------------------+-------------------------
Comment (by dgelessus):
> The MacPorts-specific part adds acceptance for the macports-libstdc++
flag, and changes some header lookup dirs, but does not actually function
without the llvm support, of course, even if it accepts the flag.
Ah, I already expected something like that. At least the patch works well
enough on the older versions that the accidental clang-3.4 -stdlib
=macports-libstdc++ call runs without errors.
For reference, #59584 is the MacPorts base ticket for this issue.
I let my clang-3.7 build run overnight (llvm-3.7 already built
successfully). Most of the build ran without problems, but now I'm getting
this error in the compiler-rt build:
{{{
llvm[3]: Copying runtime library darwin/eprintf to build dir
cp /opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-
rt/clang_darwin/eprintf/libcompiler_rt.a /opt/local/var/macports/build
/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/libclang_rt.eprintf.a
llvm[3]: Copying runtime library darwin/10.4 to build dir
cp /opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-
rt/clang_darwin/10.4/libcompiler_rt.a /opt/local/var/macports/build
/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/libclang_rt.10.4.a
cp: /opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-
rt/clang_darwin/eprintf/libcompiler_rt.a: No such file or directory
gmake[3]: *** [Makefile:241: /opt/local/var/macports/build
/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/libclang_rt.eprintf.a]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
cp: /opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime/compiler-
rt/clang_darwin/10.4/libcompiler_rt.a: No such file or directory
gmake[3]: *** [Makefile:241: /opt/local/var/macports/build
/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/libclang_rt.10.4.a]
Error 1
rm /opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/darwin/.dir
/opt/local/var/macports/build/_Users_Shared_macports-
ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.1/lib/macho_embedded/.dir
}}}
This issue (or a very similar one) has been reported before as #54836, but
it doesn't look like it was ever fixed. #59157 is a similar issue, but
with a different cause (command-line tools vs. full Xcode installation,
which is not an issue on Tiger). That ticket may be useful as it has a
detailed analysis of what causes the issue, which might help with finding
the root cause on Tiger.
--
Ticket URL: <https://trac.macports.org/ticket/59717#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list