Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 932782

Summary: sys-devel/gcc-14.1.1_p20240518 fails to build on musl / llvm: stage 2 and stage 3 comparison failure
Product: Gentoo Linux Reporter: Spekadyon <geoffrey+gentoo>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: UNCONFIRMED ---    
Severity: normal CC: geoffrey+gentoo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Spekadyon 2024-05-26 10:01:47 UTC
sys-devel/gcc-14.1.1_p20240518 fails to build on a default/linux/amd64/23.0/split-usr/musl/llvm system.

Compilation fails on the stage 2 / stage 3 comparison step with the following message:
> make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build'
> Comparing stages 2 and 3
> Bootstrap comparison failure!
> gcc/lto-section-out.o differs
> [...]

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/gcc-14.1.1_p20240518
Actual Results:  
Compilation fails

Expected Results:  
COmpilation succeeds

My actual profile is a merge of both
> gentoo:default/linux/amd64/23.0/split-usr/musl/llvm
> gentoo:targets/desktop/plasma
as described in https://wiki.gentoo.org/wiki/Profile_(Portage)#Combining_profiles
Comment 1 Spekadyon 2024-05-26 10:02:52 UTC
Created attachment 894431 [details]
emerge --info
Comment 2 Spekadyon 2024-05-26 10:04:59 UTC
Created attachment 894432 [details]
build log