[MacPorts] #69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic
MacPorts
noreply at macports.org
Sat Sep 28 22:24:11 UTC 2024
#69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: xmms2 |
---------------------------+--------------------
Comment (by kencu):
Replying to [comment:4 barracuda156]:
> A good practice is to add flags unconditionally when one is sure they
work for all supported systems. Since the failure was with some clang and
no testing done with gcc (which is okay), the flag should have been added
conditionally on the compiler being clang.
This is not the way MacPorts has expected contributors do things.
If someone adding a flag knows ahead of time that it is not supported by
gcc, OK, they can can add conditional code -- if they choose to. It's not
a requirement to support gcc, or wrong if they don't.
But otherwise, contributors can add a flag unconditionally if it passes
CI.
If it turns out later that gcc doesn't support it, or some ancient clang
doesn't support it, that can be fixed later.
--
Ticket URL: <https://trac.macports.org/ticket/69956#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list