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
Does not build on i586 (GTAV plugin fails) #5849
Comments
What even is that? Isn't this like archaically old? |
You'll have to build without plugins using |
32bit x86 processor.
That will disable all plugins, while only one plugin is causing the build failure. Currently I use this patch for building the latest release: diff -Nur mumble-src/plugins/CMakeLists.txt new/plugins/CMakeLists.txt
--- mumble-src/plugins/CMakeLists.txt 2022-08-21 18:52:23.000000000 +0200
+++ new/plugins/CMakeLists.txt 2022-09-01 12:24:10.507433751 +0200
@@ -24,6 +24,9 @@
foreach(ITEM ${ITEMS})
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${ITEM}")
+ if (ITEM STREQUAL "gtav" AND CMAKE_SIZEOF_VOID_P LESS 8)
+ continue()
+ endif()
set(PLUGIN_RETRACTED OFF)
# If the plugin is retracted the corresponding CMakeLists.txt is supposed to set the |
@davidebeatrici do you think this is something we can fix in-code? |
Yes, absolutely, we just have to force alignment.
Back when we introduced the very first The limitation was fixed in #3262 and we build 64 bit plugins for 32 bit targets since #4252. |
Alright - will you create a PR? |
Fixed, sorry. Could you test again? |
Now it works! |
Excellent, thanks for testing! |
Description
When building for i586 the GTAV Plugin fails (which is ok as the game only works on amd64), but rather then failing the i586 build should default to disable amd64 only plugins.
Steps to reproduce
build on i586
Mumble version
1.4.274
Mumble component
Client
OS
Linux
Reproducible?
Yes
Additional information
Caused by memory alignment, which is different on 32 bit and 64 bit machines:
Relevant log output
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: