[MacPorts] #58611: llvm-3.7: libcompiler_rt.a: No such file or directory (was: LibcxxOnOlderSystems fails on step 7 - error: architecture not supported)
MacPorts
noreply at macports.org
Sun Jun 16 20:13:23 UTC 2019
#58611: llvm-3.7: libcompiler_rt.a: No such file or directory
------------------------+----------------------
Reporter: scottmeup | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: guide | Version:
Resolution: | Keywords:
Port: llvm-3.7 |
------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* cc: larryv (added)
* owner: (none) => jeremyhu
* keywords: libcxx snow leopard =>
* port: => llvm-3.7
Old description:
> Hi, I'm trying to follow the guide listed here:
> https://trac.macports.org/wiki/LibcxxOnOlderSystems
>
> At step 7, running the line as written
>
> `sudo port -v -n upgrade --force --enforce-variants cctools -llvm34
> +llvm39`
>
> fails with Error: `cctools: Variant llvm39 conflicts with llvm40`
>
>
> running the line modified to include llvm40
>
> `sudo port -v -n upgrade --force --enforce-variants cctools -llvm34
> +llvm40`
>
> gets further but still fails with
>
> `In file included from /usr/include/limits.h:64:`
>
> `/usr/include/machine/limits.h:10:2: error: architecture not supported`
>
> `#error architecture not supported`
>
> and requests that I submit a ticket.
>
> I'm running Snow Leopard 10.6.8 on a Macbook Pro 5,3
New description:
Hi, I'm trying to follow the guide listed here:
LibcxxOnOlderSystems
At step 7, running the line as written
`sudo port -v -n upgrade --force --enforce-variants cctools -llvm34
+llvm39`
fails with Error: `cctools: Variant llvm39 conflicts with llvm40`
running the line modified to include llvm40
`sudo port -v -n upgrade --force --enforce-variants cctools -llvm34
+llvm40`
gets further but still fails with
`In file included from /usr/include/limits.h:64:`
`/usr/include/machine/limits.h:10:2: error: architecture not supported`
`#error architecture not supported`
and requests that I submit a ticket.
I'm running Snow Leopard 10.6.8 on a Macbook Pro 5,3
--
Comment:
The log you attached contains 6 failed build attempts.
The first one failed with these errors:
{{{
:info:build cp:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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
:info:build make[3]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build cp:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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
}}}
Build attemps 2 through 6 failed with this error:
{{{
:info:build /usr/include/sys/cdefs.h:540:4: error: Unknown architecture
}}}
However those build attempt were not clean; they were resuming from the
original failed build. As such, I would not pay any attention to the
possibly erroneous errors they generated and I would focus on the error
generated by the original build attempt.
--
Ticket URL: <https://trac.macports.org/ticket/58611#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list