You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating the Debian packages for OpenRCT2 to v0.4.0, the builds on both the armel and mipsel architectures are failing with the following linker error:
I've verified that the following patch fixes the compile error:
diff --git a/src/openrct2/CMakeLists.txt b/src/openrct2/CMakeLists.txt
index b07a5e0c7..6d4b69e0b 100644
--- a/src/openrct2/CMakeLists.txt
+++ b/src/openrct2/CMakeLists.txt
@@ -272,3 +272,6 @@ else ()
# Dummy target to ease invocation
add_custom_target(${PROJECT_NAME}-headers-check)
endif ()
+
+# armel and mipsel builds need to explicitly link in libatomic
+target_link_libraries(${PROJECT_NAME} atomic)
I didn't do any logic to try to limit the linking of libatomic under just armel or mipsel builds, but it doesn't appear to break amd64 or ppc64el builds either, so it is probably safe to include it for all builds.
Operating System
Debian sid, armel or mipsel
OpenRCT2 build
OpenRCT2, v0.4.0
Describe the issue
After updating the Debian packages for OpenRCT2 to v0.4.0, the builds on both the armel and mipsel architectures are failing with the following linker error:
From a quick online search, it looks like these two architectures need the
-latomic
linker flag set. Previously, OpenRCT2 0.3.5.1 compiled just fine.Full logs:
https://buildd.debian.org/status/fetch.php?pkg=openrct2&arch=armel&ver=0.4.0%2Bds-1&stamp=1650978090&raw=0
https://buildd.debian.org/status/fetch.php?pkg=openrct2&arch=mipsel&ver=0.4.0%2Bds-1&stamp=1650981412&raw=0
Area(s) with issue?
Building the game
Steps to reproduce
Attachments
No response
The text was updated successfully, but these errors were encountered: