-
Notifications
You must be signed in to change notification settings - Fork 96
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
clang as system compiler #146
Comments
Sure! You could post them on this issue if you'd like.
…On Sun, Sep 16, 2018, 9:09 AM Althorion, ***@***.***> wrote:
I will be building Gentoo from scratch soon, and I though about trying
to use clang + LTO. Will you be interested in my results?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#146>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AHdVjKSaTsdZghe3WjJvcCIbxpKSX9Ojks5ubk2TgaJpZM4Wq1_K>
.
|
ThinLTO? |
Yup, same as GCC
…On Sun, Sep 16, 2018, 5:32 PM Supded, ***@***.***> wrote:
ThinLTO?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHdVjP16VpYXIagg_XsYj6bgnMLWZ6DXks5ubsNxgaJpZM4Wq1_K>
.
|
https://clang.llvm.org/docs/ThinLTO.html |
Ahh, I confused this with GCCs own nomenclature. Still, I think it's
interesting and worth trying.
…On Mon, Sep 17, 2018, 1:44 AM Supded, ***@***.***> wrote:
https://clang.llvm.org/docs/ThinLTO.html
Is it same? -flto=thin
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHdVjHflzt0VgJD6iO8fwxmsdptWfnrpks5ubzaugaJpZM4Wq1_K>
.
|
I think, where must be a per compiler flags, ThinLTO for clang and LTO for gcc. |
So, for now I have successfully build the basic system, with following settings: make.conf:
package.env:
( Plus, I’ve failed to build Tomorrow hopefully I’ll build the rest of my system (Plasma with systemd on 17.1 profile). |
It would be interesting to use gcc as the main compiler and use clang for packages like Firefox which fail when using GCC+LTO (but not with clang+LTO) |
So, the short version: it cannot be reasonably done. Longer version: I had to downgrade the binutils to get the system to even fully build (https://bugzilla.redhat.com/show_bug.cgi?id=1599521), and then I got caught up with a plethora of |
Ouch! Thanks for taking the time to try it out. It may be best that we recommend clang for specific packages only. |
I will be building Gentoo from scratch soon, and I though about trying to use clang + LTO. Will you be interested in my results?
The text was updated successfully, but these errors were encountered: