-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on latest Arch Linux x86_64 #7203
Comments
Update: well, 40dccc3 fails with the same error. gcc version 14.2.1 20240910 |
I successfully compiled the latest commit on a fully updated Arch Linux system, JXL included. When you say "fresh checkout", does that mean a clean build? If not, delete the build directory and try again. |
Yes, I completely wiped out the RawTherapee code directory (including build) and did a new git clone, mkdir build, cmake, make, etc. Here's what AboutThisBuild looks like: Version: 5.11-5-g1e0265f98 |
Update: built successfully with -DWITH_LTO="OFF" |
I spent the day trying to figure out why it doesn't compile with LTO. The relevant object file and librtengine.a definitely has the symbol. Removing irrelevant code causes the linking to succeed. However, removing irrelevant code from just rtgui causes the linker to fail again, and with more errors. |
Just tried to build a fresh checkout of dev (1e0265f), and it fails.
Building on a fully up-to-date Arch Linux x86_64. I last successfully built RawTherapee on this environment/machine on Sept 3.
Tried building today because libjxl got a version bump, and now my current binary fails on launch looking for the old .so
(Just to be safe, I disabled libjxl support this time since I don't need that support anyway)
Failure:
and then of course linking fails at the end.
My cmake run looks like this:
cmake -DCMAKE_BUILD_TYPE="release" -DCACHE_NAME_SUFFIX="5-dev" -DPROC_TARGET_NUMBER="2" -DWITH_LTO="ON" -DENABLE_TCMALLOC="ON" -DWITH_JXL="OFF" ..
Let me know if I can supply any other logs or debug info.
The text was updated successfully, but these errors were encountered: