-
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
New GentooLTO layout #307
Comments
Whats The Flags Recommended For Speed/Stability Configuration ? not yet . Can Someone Recommend A Standard Group Of *FLAGS That We Can Make Default For Future Reference Is a Lot To Process Reading All The Issues Looking For The Right Combination . Not Just For Me For Anyone new on The Overlay There Are A lot Choose ending With Smash Potato Gentoo Thanks. |
Speaking only for myself: In order not to get surprises on my systems in case changes are made in the make.conf configuration, I don't source it at all, and instead choose to track the changes in this repository as well as copy-pasting what I find of interest. Therefore, I wouldn't be affected by such a change. For context, I find this combination of no sourcing + tracking changes to this repo to be a good way to stay up-to-date personally with what's going on here, plus learn as soon as new ideas are introduced when I don't already know about them. |
IMHO All other flags, should be Safe (Testing), Unsafe (Experimental/Optional) or Optional. Also consider to expand this Stable/Testing/Experimental logic on Make them, let's say:
I know, maintenance hell, but still. |
me i have a whole system compiled with LTO, -O3, Graphite, -fipa-pta but after add IPA some startup time in apps and boot time increased . ATM im Compiling Whole system with LTO, -O3, Graphite, -fipa-pta -fno-plt and FASTMATH with no pie and no ssb , with openrc profile 17.1 |
i dont know anything about -fno-common |
Yup, I'm only sourcing the defines, and the workarounds, not make.conf.lto itself. |
@pchome to add to this, we could separate I would like to have a configuration for a |
I'm waiting for this to rebuild my systems with gcc 9.1. |
@funghetto you don't need to wait -- it's only a new layout for the repo, it won't change how your system functions. The codegen will be the same at default settings. You can go ahead and rebuild right now if you want and migrate over later without any penalty. |
BTW, maybe some of non- EDIT: like "silent" ones, from |
@InBetweenNames What would be the full list of flags of the experimental branch?
Edit: Will there be a Ofast branch too?
Yes but I would need to rebuild world again to use the new flags. |
@pchome Agreed -- it's time to get some of those fixed where they should be @funghetto I won't be revising the default build that much in the refactor -- I'll probably push those updates out before I end up doing the actual refactor. The refactor is just for maintainability and introducing some different configs, including Over the next month, I'd like to look at adding I would like to have an I may introduce I've also been testing out Last but not least, I'm strongly considering enforcing usage of the Gold linker as it seems to resolve a number of problems that BFD has, and only overriding for BFD using specific packages. |
What packages work with gold but not bfd? |
I’m currently using bfd for everything (unless the ebuild specifically overrides it like Firefox) |
Re no-plt I think it makes sense to turn it on if hardened is turned on. In that case you’re anyway given up on lazy binding so there’s only upside. |
@nivedita76 It was only a couple, here's the list:
I think it may make sense to have a "no-PLT" configuration intended for use with prelink, with the glibc exception. But opt-in, not as default. |
While you would like to avoid any symbolic links being placed inside of the /etc/portage directory, I do believe that a compromise might be beneficial. What I have in mind is that you create a symbolic link to the most basic and well tested configuration, which contains further instructions for our more intrepid users with regards to other configurations that do not have symbolic links, amongst other instructions and explanations. |
Hello everyone,
Just wanted to run an idea by you. Currently, we symlink
make.conf.lto
andmake.conf.lto.defines
to/etc/portage
. This makes it hard to extend with different configurations. What I'd like to do instead is only install things topackage.cflags
andbashrc.d
and leave the rest of/etc/portage
untouched.One idea I had was to have users source directly from the overlay. For example, instead of:
One could do:
It's longer, but this way we could more easily introduce more default configurations, such as:
LTO, -O3, Graphite, -fipa-pta, -fno-plt, -fno-common
...LTO, -O3
LTO
etc
The layout I'm proposing is:
lto-overlay/sys-config/ltoize/files/configs/*.lto
for default configurationslto-overlay/sys-config/ltoize/files/configs/make.conf.lto.defines
for definitionsFor a migration, we could provide a transition period where the symlinks are still installed, then afterwards we could remove them. An
eselect news
entry could be made to warn users of the change.I'd appreciate your thoughts on the matter!
Thanks,
Shane
The text was updated successfully, but these errors were encountered: