You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the posted recommended configuration in this repo with some extras for testing. I also have SSP and PIE disabled for the time being, but this is by means no requirement to run this config.
Note: to disable PIE, simply setting USE=-pie isn't enough in your make.conf, you must create an entry in
/etc/portage/profile/package.use.force as follows:
Most Gentoo-ers have -march=native -O2 in their CFLAGS and CXXFLAGS. Using -march is a good idea as it allows GCC to tune it's code generation to your specific processor. I've enabled all of the GentooLTO default flags in mine, which can be found in make.conf.lto.
I'm also running -fno-plt with Gentoo Prelink. This will likely not be default, but will be a supported
configuration. The reason it will likely not be default is that it throws away lazy binding, and some users may need
lazy binding on their systems.
One last thing is that I have patched GCC sources to remove fortification on certain headers.
My Portage profile is default/linux/amd64/17.1/desktop/plasma.