-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
[arm32] R_ARM_PREL31 relocation at offset 0x18 against symbol `__gxx_personality_v0' #545
Comments
I did try adding -fPIC but still got the same error. |
It is hard to fix it without the object file causing this error. If your project is open-source, please share its URL so that I can try to built it on my machine. |
Just tried Object file: webrtc.cc.o.zip Compiled with:
Linker invocation with error:
|
Same issue, same reproducer with armv6 in ARM mode (armv7 used Thumb). |
Can you try again with the above commit? |
Hi there, error: failed to run custom build command for Caused by: Caused by: Caused by: Caused by: |
@rui314 with your commit pulseaudio links and works fine on both I suppose above segfault is unrelated issue and if needed new ticket should be opened. Feel free to close this one. |
OK, let me close this bug. @turkerali Can you reopen a bug with a link to a repository which I can build on my machine, so that I can reproduce your issue locally? |
The patch does fix my issue as well. Thanks a bunch! Linkers must be black magic looking at that patch. I've also had issues linking rust on armv7, but that'll be a different issue. I suspect the firefox issue might be related. |
For a project of mine I compile a bunch of packages for arm32.
The majority link with mold, but of that ones that do not this is the most prevalent issue.
The text was updated successfully, but these errors were encountered: