-
Notifications
You must be signed in to change notification settings - Fork 207
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
libnvidia_container fails to compile with mold #226
Comments
I didn't try to build libnvidia-container myself, but it seems the use of linker script is not necessary. You can specify an entry point function with It seems the Then move the
With that, I believe you can remove the linker script. |
Same issue here:
|
Yes, because nothing has changed in the upstream. |
On Arch I have mold configured as my default linker. Attempting to build this results in
unknown linker script token
in reference to https://github.com/NVIDIA/libnvidia-container/blob/main/src/libnvidia-container.ldsI found a discussion in the mold project where I had learned that the
SECTIONS
linker script command had intentionally been left out. I pointed out that the libnvidia-container project was failing to build, and the maintainer advised a workaround, which might be appropriate to implement here.Please see the conversation here:
rui314/mold#243 (comment)
The text was updated successfully, but these errors were encountered: