Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
max packages rebuilt after gcc upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Nov 25, 2017 4:20 pm    Post subject: max packages rebuilt after gcc upgrade Reply with quote

trying to upgrade to gcc-6

449 packages to rebuld/new

am I the max loser on this :(

(plus, I am sure, many will break during the compile, plus two other
gentoo computers to upgrade ...)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Nov 25, 2017 4:26 pm    Post subject: Reply with quote

albright,

If you are already on gcc-5, there is nothing to rebuild. Except maybe libtool.

If you are going directly from gcc-4 to gcc-6, you get to keep the pieces.
That's not supported.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Nov 25, 2017 4:40 pm    Post subject: Reply with quote

Quote:
If you are going directly from gcc-4 to gcc-6, you get to keep the pieces.
That's not supported.


we'll see how it goes

more seriously, does it actually make more sense to upgrade 4 to 5
and then 5 to 6 ?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
nokilli
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 196

PostPosted: Sat Nov 25, 2017 4:48 pm    Post subject: Re: max packages rebuilt after gcc upgrade Reply with quote

albright wrote:
(plus, I am sure, many will break during the compile, plus two other
gentoo computers to upgrade ...)

Which is why emerge has the --keep-going option. You do these big emerges while you sleep! That's what I do. Then I wake up, it's coffee first of course, but then I go running over to my Gentoo box to see what Santa has left under my tree, so to speak.

If I've been naughty then I wait for next week's portage sync to see if Santa's mood hasn't chilled a little. In no case should any of this be stressful.

Also, if you have three boxes running Gentoo, I'd say that distcc should be mandatory. It is true there are an odd few packages that react badly when built this way but the bulk of it is handled very neatly by distributing the load.
_________________
Today is the first day of the rest of your Gentoo installation.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Nov 25, 2017 4:54 pm    Post subject: Reply with quote

Quote:
Which is why emerge has the --keep-going option ... I'd say that distcc should be mandatory


yes, distcc is helpful; not sure how to use "keep-going" with revdep-rebuild
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Nov 25, 2017 4:58 pm    Post subject: Reply with quote

albright,

gcc is only tested to build one major version up and down.
So gcc-4 can build gcc-5, which in turn can build gcc-6 ... and so on.
gcc-4 building gcc-6 is neither tested nor supported.

With gcc being written in C++, I would expect gcc-6 to demand the new C++ ABI that was introduced in gcc-5.

All your C++ code needs to be rebuilt when you do the gcc-4 to gcc-5 update. There is nothing to do going from gcc-5 to gcc-6.
In this case, I recommend following the well trodden path.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Nov 27, 2017 2:03 pm    Post subject: Reply with quote

well ... it worked

one computer went direct from gcc4 to gcc6, another gcc4 - 5 - 6

no difference that I could see in building difficulty
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Nov 27, 2017 2:27 pm    Post subject: Reply with quote

albright,

When did you follow the
Code:
2015-10-22  GCC 5 Defaults to the New C++11 ABI
news item when you did the jump from gcc-4 to gcc-6 ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Nov 27, 2017 7:00 pm    Post subject: Reply with quote

Quote:
When did you follow the


After switching gcc to 6 I ran the revdep-rebuild command
and with some futzing everything rebuilt

Is there more to do?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Nov 27, 2017 7:08 pm    Post subject: Reply with quote

albright,

No, thats it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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