-
-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Non-tools builds fail linking on Linux with ld.gold #31197
Comments
For the reference, it links fine with LLD ( |
This stackoverflow answer seems to have some pointers to using gold: https://stackoverflow.com/questions/3476093/replacing-ld-with-gold-any-experience |
Source: clang-omp/clang_trunk#30 (comment) |
Can anyone still reproduce this bug in Godot 3.2.3 or any later release? |
Yes, the same method is still used with a linker script for the PCK bundling option, which is incompatible with |
I hope I can allocate some time soon to rework the PCK embedding so we can remove the current fragile approach. |
For the reference this is still reproducible... but also not very critical. I'm fine if we want to close this as WONTFIX and just let it be documented by the closed issue. We don't use |
I've not been able to allocate time for this. Feel free to close it. It's in my to do list, though, so it will be fixed one day. 😃 |
Yeah I think we can close it. It will be fixed as a side effect when we refactor PCK embedding, but the problem with |
Godot version:
3.2 master (1d5ae6d) after #24086
OS/device including version:
Mageia 7 x86_64
Issue description:
When compiling with
ld.gold
as linker, the linking step fails with:It works fine with
ld
(GNU ld (GNU Binutils) 2.32).CC @RandomShaper
Steps to reproduce:
ld.gold
installed and in PATHscons p=x11 LINKFLAGS=-fuse-ld=gold tools=no target=release
The text was updated successfully, but these errors were encountered: