View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Sat Dec 16, 2017 4:31 am Post subject: New Install 13.0 or 17.0 profile for stage3? |
|
|
Hello,
I am doing a new install and using stage3 from https://www.gentoo.org/downloads/. I changed to use 17.0 profile. Do i need to rebuild whole of stage3?
Thanks |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat Dec 16, 2017 4:59 am Post subject: |
|
|
Using the new profile is good future proofing in any case.
I would do an emerge -e world as soon as you reboot regardless. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
GrimBandito n00b
Joined: 16 Dec 2017 Posts: 5
|
Posted: Sat Dec 16, 2017 5:51 am Post subject: |
|
|
Hi @trumee, I am also doing a new install of Gentoo.
My understanding from the news article which describes how to change the profile from 13.0 to 17.0 is that the new profile (17.0) makes changes to the compiler options to produce Position Independent Executables (PIE) by default. Therefore I assume it is necessary to rebuild gcc, binutils, glibc and finally do a complete system rebuild.
I would suggest that performing this step at an early stage of installation would be better than waiting and performing the full rebuild at a later stage. The plan would be to avoid having a system with both PIE and non-PIE code which may cause problems for the linker.
Having said the above I am left wondering why the 13.0 profiles are still being put into the downloads and the 17.0 profiles are not the default. More to the point, doing a fresh install should automatically put you on a 17.0 profile and your compiler should be producing PIE code by default. Perhaps the installation media requires additional work for this to be the case.
Last edited by GrimBandito on Sat Dec 16, 2017 6:05 am; edited 1 time in total |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat Dec 16, 2017 6:01 am Post subject: |
|
|
GrimBandito wrote: | Having said the above I am left wondering why the 13.0 profiles are still being put into Stage3 downloads and the 17.0 profiles are not the default. More to the point, doing a fresh install should automatically put you on a 17.0 profile and your compiler should be producing PIE code by default. Perhaps the installation media requires additional work for this to be the case. | The profiles are not part of the stage 3. They are downloaded with the portage snapshot. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
GrimBandito n00b
Joined: 16 Dec 2017 Posts: 5
|
Posted: Sat Dec 16, 2017 6:06 am Post subject: |
|
|
Ok thanks for the correction Doc. |
|
Back to top |
|
|
|