Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New Install 13.0 or 17.0 profile for stage3?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 549
Location: London,UK

PostPosted: Sat Dec 16, 2017 4:31 am    Post subject: New Install 13.0 or 17.0 profile for stage3? Reply with quote

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
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Dec 16, 2017 4:59 am    Post subject: Reply with quote

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
View user's profile Send private message
GrimBandito
n00b
n00b


Joined: 16 Dec 2017
Posts: 3

PostPosted: Sat Dec 16, 2017 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Dec 16, 2017 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
GrimBandito
n00b
n00b


Joined: 16 Dec 2017
Posts: 3

PostPosted: Sat Dec 16, 2017 6:06 am    Post subject: Reply with quote

Ok thanks for the correction Doc. :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum