This reverts commit 7c091b1abc.
Reason I am reverting this is that I can set USE_GCC=14 and
happily compile, without or with LTO and/or native.
My conclusion is that rawtherapee is doing its things right,
but one of its libraries gets compiled for libstdc++, and pollutes
rawtherapee's program space but we don't give rawtherapee libstdc++
but libc++ on systems where the default compiler uses the latter.
PR: 284487
When building lang/ldc with LLVM_DEFAULT=19, linking ldc-profdata fails with:
FAILED: bin/ldc-profdata
: && /usr/local/llvm19/bin/clang++ -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DDMDV2 -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-strong -Xlinker --dependency-file=tools/CMakeFiles/ldc-profdata.dir/link.d tools/CMakeFiles/ldc-profdata.dir/ldc-profdata/llvm-profdata-19.1.cpp.o -o bin/ldc-profdata -lLLVM-19 -L/usr/local/llvm19/lib && :
ld: error: undefined symbol: pthread_create
>>> referenced by llvm-profdata-19.1.cpp
>>> tools/CMakeFiles/ldc-profdata.dir/ldc-profdata/llvm-profdata-19.1.cpp.o:(std::__1::future<void> std::__1::__make_async_assoc_state[abi:sn190107]<void, std::__1::__async_func<std::__1::function<void ()>>>(std::__1::__async_func<std::__1::function<void ()>>&&))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
This is because the link command line is missing -lpthread. For the
tools/ subdirectory, use the CMAKE_THREAD_LIBS_INIT macro to fix the
target_link_libraries() directive.
PR: 284344
Approved by: acm (maintainer)
MFH: 2025Q1
Apparently GCC 14 has new libstdc++ bits spill over somewhere,
and this would break rawtherapee's build at link time,
salvadore@ wrote
/usr/local/bin/ld: /tmp/ccgto6pJ.ltrans65.ltrans.o: in function `Spot::~Spot() [clone .cold]':
<artificial>:(.text.unlikely+0x89d): undefined reference to `__cxa_call_terminate'
/usr/local/bin/ld: /tmp/ccgto6pJ.ltrans76.ltrans.o: in function `(anonymous namespace)::dfInfo::updateBadPixelList(rtengine::RawImage const*) [clone ._omp_fn.0] [clone .cold]':
<artificial>:(.text.unlikely+0x93): undefined reference to `__cxa_call_terminate'
/usr/local/bin/ld: /tmp/ccgto6pJ.ltrans77.ltrans.o: in function `rtengine::ImProcFunctions::RGB_denoise(int, rtengine::Imagefloat*, rtengine::Imagefloat*, rtengine::Imagefloat*, float*, float*, float*, bool, rtengine::procparams::DirPyrDenoiseParams const&, double, rtengine::NoiseCurve const&, rtengine::NoiseCurve const&, float&, float&) [clone ._omp_fn.2] [clone .cold]':
<artificial>:(.text.unlikely+0x1d9): undefined reference to `__cxa_call_terminate'
/usr/local/bin/ld: /tmp/ccgto6pJ.ltrans81.ltrans.o: in function `rtengine::init(rtengine::Settings const*, Glib::ustring const&, Glib::ustring const&, bool) [clone ._omp_fn.0] [clone .lto_priv.0] [clone .cold]':
<artificial>:(.text.unlikely+0x4be): undefined reference to `__cxa_call_terminate'
/usr/local/bin/ld: /tmp/ccgto6pJ.ltrans84.ltrans.o: in function `rtengine::ImProcFunctions::ciecamloc_02float(rtengine::local_params&, int, rtengine::LabImage*, int, int, int, int, LUT<float> const&, bool, LUT<float> const&, bool, LUT<float> const&, bool, LUT<float> const&, bool, LUT<float> const&, bool, rtengine::LocCHCurve const&, rtengine::LocHHCurve const&, rtengine::LocLHCurve const&, bool, bool, bool, rtengine::LocwavCurve const&, bool, float&, float&, float&) [clone ._omp_fn.11] [clone .lto_priv.0] [clone .cold]':
<artificial>:(.text.unlikely+0x5f): undefined reference to `__cxa_call_terminate'
And this seems to be https://gcc.gnu.org/pipermail/libstdc++/2023-May/056011.html
related to C++ standards compliance - however __cxa_call_terminate
specifically is a libstdc++ export function, unavailable in libc++.
Rawtherapee needs to link against libc++ because otherwise all
C++ libraries it imports would also have to be compiled against
libstdc++.
Reported by: Lorenzo salvadore@
PR: 284487
This version folds the message into files/pkg-message.in (which
overwrote pkg-message in PORTREVISION 2 of this change.)
By adding to UPDATING and pkg-message, and bumping PORTREVISION so
as to trigger updates that show these messages so that
easyrsa users can re-encrypt their CA private keys with AES instead of
Triple-DES.
It is pointless to add vuln.xml, supported port branch versions,
main and 2025Q1, already carry a bugfixed Easy-RSA version.
Reported by: pkelsey@
Security: CVE-2024-13454
MFH: 2025Q1
By adding to UPDATING and pkg-message, and bumping PORTREVISION so
as to trigger updates that show these messages so that
easyrsa users can re-encrypt their CA private keys with AES instead of
Triple-DES.
It is pointless to add vuln.xml, supported port branch versions,
main and 2025Q1, already carry a bugfixed Easy-RSA version.
Reported by: pkelsey@
Security: CVE-2024-13454
MFH: 2025Q1
The MyBee-QT application is a desktop user interface for managing virtual
environments via the CBSD framework. It can be used both locally and with
remote servers (via SSH/REST API) as well as with MyBee
distributions/instances.
Tests that all HTTP/S links from Pod documentation are reachable by calling
the head method of HTTP::Tiny on them. Recommended to put it into your xt
instead of your t directory.
PR: 284481
XT::Files is the Tests that know what they want to check (e.g. module files),
but it's the distribution that knows where these files can be found (e.g. in
the lib directory and in the t/lib directory). Without XT::Files you may add
the same code to multiple .t files under xt that iterate over a check function
of the test. XT::Files is a standard interface that makes it easy for author
tests to ask the distribution for the kind of files it would like to test. And
it can easily be used for author tests that don't support XT::Files to have the
same set of files tested with every test.
PR: 284478
I'd misunderstood the case where --start/end-no-unused-arguments were
needed in my previous commit. Add a comment with the correct
explanation which is not future proofing, but instead that some
invocations of the compiler (e.g., clang -v) don't end up consuming
the -Xclang arguments.
Reported by: jrtc27
Fixes: 1cf80317e3 devel/llvm-{cheri,morello}: future-proof ABI arguments
This module contains the low-level constants and structure handling
functions required to use PF_NETLINK socket family available on e.g.
Linux and FreeBSD.
devel/p5-ExtUtils-H2PM: add missing TEST_DEPENDS in commit 671c6c6e
Requested by: glebius