[MacPorts] #67320: clang-11 @11.1.0_7 +universal fails to build when libxslt -universal is active
MacPorts
noreply at macports.org
Fri Apr 28 22:47:21 UTC 2023
#67320: clang-11 @11.1.0_7 +universal fails to build when libxslt -universal is
active
------------------------+--------------------
Reporter: fhgwright | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: clang-11 |
------------------------+--------------------
Comment (by fhgwright):
Replying to [comment:5 ryandesign]:
> This sounds like a linker bug we encountered many years ago already. I
know of no solution other than installing the offending libraries
universal.
I don't see how a linker bug would cause it to optionally link against
`libxslt`. Once it does that, it's of course not a bug that it can't link
against a library with a missing architecture.
Replying to [comment:6 kencu]:
> all the years I’ve been building clang, I’ve never seen this…
>
> I can’t as yet find anywhere that the llvm tree tries to link in libxslt
The log shows the command that's doing it, but not ''why'' it's doing it.
> probably have to run the failing link manually with -Wl,-v to get some
idea what is going on here
I neglected to capture `.CC_PRINT_OPTIONS`, which might be helpful.
--
Ticket URL: <https://trac.macports.org/ticket/67320#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list