[MacPorts] #69480: llvm-17 fails to build agains port:legacy-support=1.1.1 when the latter is build with -flto
MacPorts
noreply at macports.org
Wed May 29 11:06:09 UTC 2024
#69480: llvm-17 fails to build agains port:legacy-support=1.1.1 when the latter is
build with -flto
-----------------------------+--------------------
Reporter: RJVB | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+--------------------
Comment (by RJVB):
Sorry, no, I moved on to other things since I had a workaround (and
llvm-17 turns out to be barely useable for me anyway). You must have
sensed though that I was planning to update my legacy-support install
(with the tiny hope that'll fix `go` from crashing systematically).
Do you have any interest in knowing whether building the components of the
static library with `-fPIC` fixes the issue (supposing it persists
otherwise)? As I implied above, that ''should'' allow you to simplify the
buildsystem and reduce the build time; compile everything once, `$(AR)`
the static library and then invoke `$(CC)` (or `$(CXX)`) to link that
archive into a shared library.
--
Ticket URL: <https://trac.macports.org/ticket/69480#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list