-
Notifications
You must be signed in to change notification settings - Fork 97
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
Should we use the "lto" USE flag for packages which have it? #203
Comments
That flag usually exist when the configure script has a If you don't like the latter (and also blocking flag-o-matic), you may want to avoid it, but otherwise you should use it to avoid build/runtime issues. Some packages like Firefox will sort extra requirements like enabling gold linker. On another note, ffmpeg sure could use having this flag available for clarity. The way the ebuild handles it right now can lead to issues given it auto-enables the option if you have |
I think we should use the |
I dont have build.log for these right now, I'll try to post them later, but i was unable to compile dev-util/electron neither with our flags nor the package's lto flag. With the flag gcc was throwing an error about "-fuse-ld lld" being an invalid option. I changed the compiler for the package to clang,which supports the lld linker, but it failed with another error much later into the building process. I will post the build.log for these various cases soon. |
Yeah |
Yeah the lld issue doesn't require uploading the build.log here, I guess. Building with clang fails with lld throwing undefined symbol errors very late into the building process. Perhaps this is more relevant for the gentoo bugzilla, but I'll post this here too in case someone wants to take a look. Well, build.log is 70MB so github won't let me upload it, it crashes at the point i posted here: https://pastebin.com/LkacyFeE Should I find a way to make the full build.log available here? |
What's the approach for the lto USE flag? Does it conflict with our own lto settings?
The text was updated successfully, but these errors were encountered: