-
Notifications
You must be signed in to change notification settings - Fork 665
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 failure: Linking error with libdart_ffi.so (relocation R_X86_64_32S) #3898
Comments
Interesting, I wonder why we don't see this 🤔 Do you have a recipe I could use to try to reproduce? |
Yes, sorry. $ ld --version
GNU ld version 2.43.1-5.fc41 |
Thanks. I had tried that, but couldn't find anything for libapparmor so gave up. How did you fulfill that one? |
I googled a bit and found the Terra repository: https://discussion.fedoraproject.org/t/howto-install-fyra-labs-terra-repository-on-traditional-and-atomic-fedora/124522 Seemed serious and open enough to consider it. |
Just FYI, the current compilation issue was solved for me when I added:
to I'd be happy to make a PR if you think it's worth it. |
Hi @ntorresalberto, OK I just reproduced this. I am not sure why this doesn't affect our usual builds... Anyway, that would be a welcome change, thanks! |
done! 😃 |
Fix #3898 by adding -fPIC to xz-embedded [clone]
While building Multipass, the build process fails during the linking stage with the following error:
Environment
OS: Fedora 41
Compiler: Clang 19.1.5
CMake Version: 3.30.5
Multipass Version: main
Solution
I can provide a seemingly harmless one-line PR to add the -fPIC flag when compiling libxz-embedded, which should resolve this issue without impacting other parts of the build. Let me know if that would be helpful
The text was updated successfully, but these errors were encountered: