Andreas K. Huettel posted on Tue, 10 Oct 2017 21:02:32 +0200 as excerpted: > Am Dienstag, 10. Oktober 2017, 04:10:13 CEST schrieb Duncan: > >> One thing isn't clear here. Is this sequence necessary due to the >> profile switch itself, because the /profile/ enables PIE by default, or >> is it gcc-6.4+ that enables PIE, and the profile simply forces the PIE >> default by forcing gcc-6.4+? > > 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.) -- 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