Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/gcc-13.2.1_p20231216:upgraded LTO breakage [fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Wed Dec 20, 2023 10:47 pm    Post subject: sys-devel/gcc-13.2.1_p20231216:upgraded LTO breakage [fixed] Reply with quote

LTO is favored here as soon as binary and/or library final size is lowered.

kde-plasma/plasma-integration failed here as:
Code:

lto1:fatal error: /usr/lib64/libQt5ThemeSupport.a generated with LTO version 13.0 instead of the expected 13.1
compilation terminated.
which belongs to dev-qt/qtgui.

Fixed by recompiling dev-qt/qtgui away from sys-devel/gcc-13.2.1_p20231014 with current sys-devel/gcc-13.2.1_p20231216.

Apparently something bringing LTO incompatibility has been introduced between these 2 sys-devel/gcc versions.
EDIT: gcc git likely related

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Sat Dec 30, 2023 6:34 pm; edited 11 times in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Wed Dec 20, 2023 10:54 pm    Post subject: Reply with quote

dev-qt/designer had to be recompiled as well because of kde-plasma/kwin update breakage.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
mid-kid
n00b
n00b


Joined: 24 Aug 2014
Posts: 16

PostPosted: Sat Dec 30, 2023 5:23 pm    Post subject: Reply with quote

This is normal. You have two options: You can either watch things break and rebuild packages as necessary, or use the lto-rebuild script[1] to find and rebuild all relevant packages.

[1]: https://github.com/InBetweenNames/gentooLTO/blob/master/app-portage/lto-rebuild/files/lto-rebuild
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Sat Dec 30, 2023 5:57 pm    Post subject: Reply with quote

Thks 4 the tip.

Lucky me I forgot to close the issue.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Sat Dec 30, 2023 7:19 pm    Post subject: Reply with quote

@mid-kid

I've tested the linked lto-rebuild.

Unfortunatly it doesn't fit the case where LTO minor version has been upgraded within the same gcc splot.
The script only checks for ebuild former builds which gcc slot differs the current default one.

Could that script be upgraded accordingly? May be... I don't have the knowledge. Sorry.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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