Opened 5 years ago

Last modified 5 years ago

#58611 closed defect

llvm-3.7: libcompiler_rt.a: No such file or directory — at Version 2

Reported by: scottmeup (Andrew Scott) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: guide Version:
Keywords: Cc: larryv (Lawrence Velázquez)
Port: llvm-3.7

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

Changed 5 years ago by scottmeup (Andrew Scott)

Attachment: main.log.zip added

main.log - zip compressed

comment:1 Changed 5 years ago by scottmeup (Andrew Scott)

Description: modified (diff)

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: larryv added
Description: modified (diff)
Keywords: libcxx snow leopard removed
Owner: set to jeremyhu
Port: llvm-3.7 added
Status: newassigned
Summary: LibcxxOnOlderSystems fails on step 7 - error: architecture not supportedllvm-3.7: libcompiler_rt.a: No such file or directory

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.

Note: See TracTickets for help on using tickets.