[MacPorts] #59104: recoll: not using the right compiler and ignoring stdlib in link stage
MacPorts
noreply at macports.org
Wed Sep 25 06:07:47 UTC 2019
#59104: recoll: not using the right compiler and ignoring stdlib in link stage
---------------------+----------------------
Reporter: mojca | Owner: medoc9
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: recoll |
---------------------+----------------------
Comment (by kencu):
I fixed all the `macports-clang-*` versions to default to `-stdlib=libc++`
if macports was configured to use `libc++`.
But the ancient rickety old clangs on 10.7 and 10.8 don't know about that,
so they still default to the old `-stdlib=libstdc++` if they don't see
otherwise on the build line.
So now we're going to see that on 10.7 and 10.8 like we used to see that
on 10.6.8 until I fixed it.
This would be a significant regression to go back and fix each individual
port. I **know** it's the right thing to do, -- but nobody is going to do
it, certainly not me at this point in time.
I would say when we see this, just blacklist the old clangs on 10.7 and
10.8 (whatever 10.8 is would be fine) and then a macports clang compiler
will be called in, and it will do the right thing.
Or change the defaulting to `macports-clang-5.0+` on 10.7 and 10.8, if
that is acceptable. Nobody cares if the old apple clangs in 10.7 and 10.8
can build a port any longer....
--
Ticket URL: <https://trac.macports.org/ticket/59104#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list