[MacPorts] #58935: go @1.13: build fails on 10.9 and less
MacPorts
noreply at macports.org
Fri Oct 11 03:58:05 UTC 2019
#58935: go @1.13: build fails on 10.9 and less
---------------------+-------------------------------
Reporter: kencu | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion mountainlion
Port: go |
---------------------+-------------------------------
Comment (by Ionic):
That was my thinking as well, but I'd hope that the bootstrapping
`llvm`/`clang` and the later default `llvm`/`clang` versions won't ever
need the `legacy-support` port.
Using the `muniversal` PG would be possible, but doesn't really help a
lot.
I'm using `lipo -archs` to get a list of architectures in an object file
in a stable(!), scripting-compatible format and I need that information in
any case in order to filter out variations that are not suitable for a
given architecture (as you've seen, different architectures on the same OS
have different symbols). I don't know of any other tool that could do that
in a sane and stable version.
Then again, I could rewrite this to make the Makefile take another
parameter for the architecture and use that as an override (including
checking for non-fatness of object files) instead of relying on `lipo`
(and hence the `cctools` ports) and use the `muniversal` PG for MacPorts.
That would leave the rather cool auto-detection and fat-file feature using
`lipo` around for people that don't want to build this library as part of
MacPorts and still enable us to drop the `cctools` dependency again?
--
Ticket URL: <https://trac.macports.org/ticket/58935#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list