-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
PCK section missing from self compiled templates (Linux, linking with LLD) #87438
Comments
PCK section is not supported when linking with LLD, build process should print a warning: |
I'm a bit confused, doesn't mold support embed pck? When exporting godot does prompt that the pck part can't be found, but the exported executable, runs all right. |
If I remember correctly, the PCK section is not required to embed PCK, it can be simply appended at the end of the executable. |
The same with LLD - it complains and "fails" the export, yet it has embedded the PCK and it runs. |
It still fails in at least one way as it won't handle shared libraries if the embedding fixup fails |
@imvenx That should be a different issue, this one is specific to Linux and clearly identified as related to how the binaries are compiled. It can't affect Windows which uses a different approach. |
Tested versions
4.3.dev HEAD
System information
Arch Linux
Issue description
When exporting with embedded PCK an error is produced saying the PCK section is missing. Probing the resultant executable file with objdump -x you can indeed see there is no pck section in the ELF file.
Steps to reproduce
This is with the MYSQL extension installed. To get it to compile on Arch I had to use LLVM and LLD, which may be the issue?
So... compile the templates with LLVM and LDD and examine the results to see if the pck section exists in them.
Minimal reproduction project (MRP)
No need for a project. Just compile the templates from the source tree with LLVM and LLD.
The text was updated successfully, but these errors were encountered: