-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
don't actually build .a files on Linux, instead pass the original .o files to the final link #1411
Comments
The CROSSTOOL file needs to declare that it supports that mode by setting On Wed, Jun 15, 2016 at 11:53 PM, bsilver8192 [email protected]
|
That would be the problem. Those appear to be a gold-only flags, and cc_configure.bzl doesn't attempt to auto-detect using gold. If I add Would it make sense to have cc_configure.bzl try -fuse-ld=gold and set stuff appropriately if it works? Or maybe somehow detect if the default linker is gold? |
Topic area is C++ auto configuration, so assignee is Damien. :) |
@damienmg Any more information that is needed here? |
Sorry lost track with my personnal issues, it is indeed something that we should do, triaged. |
Should be fixed by cc3d79c, closing. Thank you bsilver8192! |
In #492, @ulfjack mentioned that "We don't actually build .a files on Linux, where we instead pass the original .o files to the final link (or at least, we have code to do that, and I think it's enabled by default). This is faster than building intermediate .a files and uses less disk space." That sounds nice, but doesn't seem to actually work:
BUILD:
The text was updated successfully, but these errors were encountered: