Hmm, removing the path didn’t help either.
I ended up defining the `LLVM_AR=/path/to/homebrew/llvm-ar` environment
variable after installing clang from brew. I was worried that there would be
problems using ar from a different version of the toolchain than the compiler,
but things seem to have
> On 10 Jul 2019, at 15:25, Scott Colby wrote:
>
> Unfortunately that path is absent on my system. Could the issue be that the
> llvm version of ar is not present at all on macOS? What remains confusing in
> that case is that by using CC=cc (and I assume just ar) the LTO compilation
> succe
Unfortunately that path is absent on my system. Could the issue be that the
llvm version of ar is not present at all on macOS? What remains confusing in
that case is that by using CC=cc (and I assume just ar) the LTO compilation
succeeds, despite cc being a symlink to clang anyway.
Thanks,
Scot
> On 9 Jul 2019, at 19:28, Scott Colby wrote:
>
> Hello all,
>
> I am having difficulty building Python with `--with-lto` on macOS 10.14.5.
> With a clean checkout of the CPython source at the tagged release for 3.7.4,
> I ran:
>
> $ ./configure --prefix=/opt/python3.7.4 --enable-optimizat