[MacPorts] #54332: Support for setting Deployment Target and Base SDK
MacPorts
noreply at macports.org
Sun Jun 18 18:10:06 UTC 2017
#54332: Support for setting Deployment Target and Base SDK
--------------------------+----------------------
Reporter: ssisak | Owner:
Type: enhancement | Status: reopened
Priority: Normal | Milestone:
Component: base | Version: 2.4.1
Resolution: | Keywords:
Port: |
--------------------------+----------------------
Changes (by ssisak):
* status: closed => reopened
* resolution: invalid =>
Comment:
Replying to [comment:1 ryandesign]:
> You can set `macosx_deployment_target` and `macosx_sdk_version` in
macports.conf. They're undocumented because not all ports honor these
settings.
Thanks, gave it a try and doesn't appear reliable: someone is linking
agains the wrong C++ libraries (see errors below).
In general, this is something that ports shouldn't have to be aware of as
it's at the compiler/linker level.
The problem is that Apple guarantees forward, but not backward ABI
compatibilty unless the deployment target is set for the oldest supported
OS.
I'll reopen as a feature request, but understand if resolution is "Can't
do it because CMAKE sucks".
Showing All Errors Only
"vtable for __cxxabiv1::__si_class_type_info", referenced from:
typeinfo for x265::SEIContentLightLevel in libx265.a(encoder.cpp.o)
typeinfo for x265::SEIMasteringDisplayColorVolume in
libx265.a(encoder.cpp.o)
typeinfo for x265::SEIuserDataUnregistered in
libx265.a(encoder.cpp.o)
typeinfo for x265::SEIActiveParameterSets in
libx265.a(encoder.cpp.o)
typeinfo for x265::Bitstream in libx265.a(bitstream.cpp.o)
typeinfo for x265::WorkerThread in libx265.a(threadpool.cpp.o)
typeinfo for x265::SEIBufferingPeriod in
libx265.a(ratecontrol.cpp.o)
...
NOTE: a missing vtable usually means the first non-inline virtual member
function has no definition.
"vtable for __cxxabiv1::__vmi_class_type_info", referenced from:
typeinfo for x265::SEI in libx265.a(encoder.cpp.o)
typeinfo for x265::SEI in libx265.a(ratecontrol.cpp.o)
typeinfo for x265::FrameEncoder in libx265.a(frameencoder.cpp.o)
typeinfo for x265::SEI in libx265.a(frameencoder.cpp.o)
typeinfo for x265::FrameFilter::ParallelFilter in
libx265.a(framefilter.cpp.o)
NOTE: a missing vtable usually means the first non-inline virtual member
function has no definition.
"operator delete[](void*)", referenced from:
x265::Encoder::destroy() in libx265.a(encoder.cpp.o)
x265::FrameEncoder::destroy() in libx265.a(frameencoder.cpp.o)
x265::Frame::destroy() in libx265.a(frame.cpp.o)
x265::Lookahead::destroy() in libx265.a(slicetype.cpp.o)
x265::FrameFilter::destroy() in libx265.a(framefilter.cpp.o)
x265::FrameData::destroy() in libx265.a(framedata.cpp.o)
x265::SAOParam::~SAOParam() in libx265.a(framedata.cpp.o)
...
"operator delete(void*)", referenced from:
_x265_encoder_open_116 in libx265.a(api.cpp.o)
_x265_encoder_close in libx265.a(api.cpp.o)
x265::Encoder::destroy() in libx265.a(encoder.cpp.o)
x265::Encoder::encode(x265_picture const*, x265_picture*) in
libx265.a(encoder.cpp.o)
x265::Encoder::computeSPSRPSIndex() in libx265.a(encoder.cpp.o)
x265::SEIContentLightLevel::~SEIContentLightLevel() in
libx265.a(encoder.cpp.o)
x265::SEIMasteringDisplayColorVolume::~SEIMasteringDisplayColorVolume() in
libx265.a(encoder.cpp.o)
...
"operator new[](unsigned long)", referenced from:
x265::Encoder::encode(x265_picture const*, x265_picture*) in
libx265.a(encoder.cpp.o)
x265::ThreadPool::allocThreadPools(x265_param*, int&, bool) in
libx265.a(threadpool.cpp.o)
x265::FrameEncoder::init(x265::Encoder*, int, int) in
libx265.a(frameencoder.cpp.o)
x265::FrameEncoder::threadMain() in libx265.a(frameencoder.cpp.o)
x265::FrameEncoder::compressFrame() in libx265.a(frameencoder.cpp.o)
x265::SAO::allocSaoParam(x265::SAOParam*) const in
libx265.a(sao.cpp.o)
x265::Frame::create(x265_param*, float*) in libx265.a(frame.cpp.o)
...
"operator new(unsigned long)", referenced from:
_x265_encoder_open_116 in libx265.a(api.cpp.o)
x265::Encoder::create() in libx265.a(encoder.cpp.o)
x265::Encoder::encode(x265_picture const*, x265_picture*) in
libx265.a(encoder.cpp.o)
x265::Encoder::computeSPSRPSIndex() in libx265.a(encoder.cpp.o)
x265::FrameEncoder::init(x265::Encoder*, int, int) in
libx265.a(frameencoder.cpp.o)
x265::FrameEncoder::threadMain() in libx265.a(frameencoder.cpp.o)
x265::SAO::startSlice(x265::Frame*, x265::Entropy&) in
libx265.a(sao.cpp.o)
...
"___cxa_guard_acquire", referenced from:
x265::RateControl::rateEstimateQscale(x265::Frame*,
x265::RateControlEntry*) in libx265.a(ratecontrol.cpp.o)
x265::Deblock::getBoundaryStrength(x265::CUData const*, int,
unsigned int, unsigned char const*) in libx265.a(deblock.cpp.o)
"___cxa_guard_release", referenced from:
x265::RateControl::rateEstimateQscale(x265::Frame*,
x265::RateControlEntry*) in libx265.a(ratecontrol.cpp.o)
x265::Deblock::getBoundaryStrength(x265::CUData const*, int,
unsigned int, unsigned char const*) in libx265.a(deblock.cpp.o)
"___cxa_pure_virtual", referenced from:
vtable for x265::BondedTaskGroup in libx265.a(frameencoder.cpp.o)
vtable for x265::Thread in libx265.a(threading.cpp.o)
vtable for x265::BondedTaskGroup in libx265.a(slicetype.cpp.o)
vtable for x265::BondedTaskGroup in libx265.a(framefilter.cpp.o)
vtable for x265::BondedTaskGroup in libx265.a(search.cpp.o)
vtable for x265::BondedTaskGroup in libx265.a(analysis.cpp.o)
vtable for x265::WaveFront in libx265.a(wavefront.cpp.o)
...
"___dynamic_cast", referenced from:
x265::FrameEncoder::threadMain() in libx265.a(frameencoder.cpp.o)
x265::Entropy::finishSlice() in libx265.a(frameencoder.cpp.o)
"_clock_gettime", referenced from:
_av_gettime_relative in libavutil.a(time.o)
_av_gettime_relative in libavutil.a(time.o)
_av_gettime_relative_is_monotonic in libavutil.a(time.o)
"_kVDADecoderConfiguration_Height", referenced from:
--
Ticket URL: <https://trac.macports.org/ticket/54332#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list