Skip to content
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

The use of ld.gold may cause problems #7564

Closed
akosthekiss opened this issue Sep 8, 2015 · 0 comments
Closed

The use of ld.gold may cause problems #7564

akosthekiss opened this issue Sep 8, 2015 · 0 comments

Comments

@akosthekiss
Copy link
Contributor

@akosthekiss akosthekiss commented Sep 8, 2015

A not-that-old change in the build system checks whether ld.gold is available and makes use of it. However, there may be cases when one wants to opt out and not use ld.gold, even if it is present on the system. E.g., on my box something is obviously broken with ld.gold, since it causes build failures:

failed to run custom build command for `expat-sys v2.1.0 (https://github.com/servo/libexpat#b0f0d40b)`
Process didn't exit successfully: `/home/akiss/devel/servo/target/debug/build/expat-sys-e22582e7d0e6b2e6/build-script-build` (signal: 11)

(I'm quite convinced that it is caused by ld.gold, since if I modify the build system not to use it, the issue disappears.)

The version of the linker is: GNU gold (GNU Binutils for Ubuntu 2.24.90.20141014) 1.11
The system is a Ubuntu 14.10 on AArch64.

Unfortunately, uninstalling or upgrading ld.gold is not an option, so I'd prefer configurability on servo's side. I have a working solution, will upload soon as a pull request..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.