Duncan posted on Wed, 11 Oct 2017 03:31:55 +0000 as excerpted: > Andreas K. Huettel posted on Tue, 10 Oct 2017 21:02:32 +0200 as > excerpted: > >> Switching the profile changes the settings for building gcc (it >> switches a use-flag from forced-off to forced-on). A gcc-6 built with >> the 17.0 profiles will produce PIE executables by default, a gcc-6 >> built with the 13.0 profiles will not. >> >> I've added this paragraph: >> # Switching the profile modifies the settings of GCC 6 to generate >> # PIE executables by default; thus, you need to do the rebuilds >> # even if you already used GCC 6 beforehand. > > Thanks. Much clearer now. =:^) > > (And I'll have some rebuilding to do.)
Actually it seems not. I had forgotten this from my /etc/portage/profile/package.use.mask (along with the appropriate system- wide USE flag): # 2017.0513 Now that I have gcc-pie enabled, don't want # the new profile package.use.mask. See the # "[PATCH] profiles: update pie use-flag masks for sys-devel/gcc" # thread, OP on Thursday, 11 May 2017 # by Mathias Maier <tam...@gentoo.org on gentoo-devel sys-devel/gcc -pie I had turned it on already by the time of the mask, and unmasked to avoid turning it off and rebuilding again, once it was on system-wide and the mask was trying to turn it off again, which would have forced another system-wide rebuild then, and yet /another/ one now. Of course that's a big part of why I as a responsible gentoo-based-system sysadmin follow this list, to see such changes coming down the pike and take appropriate measures before they hit me and the systems I administer (only my own, but that's no reason not to take the job seriously) head-on. =:^) So AFAICS my profile upgrade should be just a matter of flipping the symlink. I guess I'll find out in the next few days. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman