[MacPorts] #58917: llvm-8.0 fails to build on older sytems (darwin 13 and less) when go is installed, as it tries to build the go bindings but go needs special attention to work on these systems
MacPorts
noreply at macports.org
Fri Oct 11 01:41:08 UTC 2019
#58917: llvm-8.0 fails to build on older sytems (darwin 13 and less) when go is
installed, as it tries to build the go bindings but go needs special
attention to work on these systems
-----------------------+----------------------
Reporter: iEFdev | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: llvm-8.0 |
-----------------------+----------------------
Comment (by iEFdev):
Replying to [comment:13 kencu]:
> I have to figure out which versions of `llvm` support this configure
flag to turn the `go` bindings off. Unfortunately not all of them, no
doubt, so there will be some inconsistency in the `llvm` ports wherever
this break comes.
You can add llvm9 to the list.
{{{
:info:build # command-line-arguments
:info:build /opt/local/lib/go/pkg/tool/darwin_amd64/link: running
/opt/local/bin/clang-mp-5.0 failed: exit status 1
:info:build Undefined symbols for architecture x86_64:
:info:build "_fstatat64", referenced from:
:info:build syscall.libc_fstatat64_trampoline in go.o
:info:build "_openat", referenced from:
:info:build syscall.libc_openat_trampoline in go.o
:info:build "_unlinkat", referenced from:
:info:build syscall.libc_unlinkat_trampoline in go.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[2]: *** [bin/llvm-go] Error 2
:info:build make[2]: Leaving directory
}}}
-----
And it (re)installed everything with `+universal` tonight when I upgraded.
Was that supposed to happen? It's never done that before.
I got `clang_select`+ a few others, and the it wanted to reinstall som
10+15 programs - and all had the universal variant selected. Now, since
the install break, I reverted them backā¦ (uninstalling + activating the
one I hade before). I thought I had `-universal` in variants.conf, but
appearently I didn't. I'll try to reinstall everything now with the
`-DLLVM_ENABLE_BINDINGS=OFF` added.
// Adding the log incase you want/need that one
--
Ticket URL: <https://trac.macports.org/ticket/58917#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list