Jump to content
funtoo forums
  • 0
Sign in to follow this  
AdiosKid

Gcc 6.4 upgrade - need rebuild whole system ?

Question

Hi folks, I read that on Gentoo news, about the update on system profile to them : https://www.gentoo.org/support/news-items/2017-11-30-new-17-profiles.html

and I ask if I need rebuild the whole system ? 

 

I mean, I was using gcc 5.4.0 and I upgrade to 6.4 both withour hardened, so I need rebuild ?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Are you using funtoo and switching from 5.4.0 to 6.4.0? If yes then you need to:
 

gcc-config 2

. /etc/profile

emerge -e @system --exclude gcc

revdep-rebuild -L 'libstdc++.so.6' -- --exclude gcc

 

Share this post


Link to post
Share on other sites
  • 0

ABI issue was upgrade from gcc-4.9.3 to gcc-5.3.0

ABI compatibility is not an issue when upgrading from gcc-5.4.0 to gcc-6.4.0.

 

On 12/3/2017 at 4:56 AM, Otakku said:

Hi folks, I read that on Gentoo news, about the update on system profile to them : https://www.gentoo.org/support/news-items/2017-11-30-new-17-profiles.html

and I ask if I need rebuild the whole system ? 

 

I mean, I was using gcc 5.4.0 and I upgrade to 6.4 both withour hardened, so I need rebuild ?

Rebuild prevents future build failures if pie is enabled prior to building gcc-6.4.0

This is forced on gentoo stable amd64 when user switch's their gentoo profile from 13.0 to 17.0

Funtoo profile has PIE use masked for gcc.

/var/git/meta-repo/kits/core-kit/profiles/base/package.use.mask:sys-devel/gcc pie

I unmasked gcc-6.4.0 , left pie disabled, no rebuild of world was required.

funtoo rj # emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] sys-devel/gcc-6.4.0:6.4.0::core-kit  USE="cxx fortran nls openmp -ada (-altivec) -doc (-go) -graphite (-hardened) (-libssp) (-multilib) -objc -objc++ -pch (-pie) (-sanitize) -ssp -vanilla" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...