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

Bug 867019

Summary: x11-terms/gnome-terminal-3.44.1 fails to compile (lto): error: type ‘struct ExecData’ violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Kostadin Shishmanov <kocelfc>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log
emerge --info

Description Kostadin Shishmanov 2022-08-27 18:57:11 UTC
Created attachment 801541 [details]
build.log

x11-terms/gnome-terminal-3.44.1 fails to compile with FLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Kostadin Shishmanov 2022-08-27 18:57:31 UTC
Created attachment 801544 [details]
emerge --info
Comment 2 Kostadin Shishmanov 2023-07-10 18:34:47 UTC
Can't reproduce anymore, most likely solved by https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/f85f2a381e5ba9904d00236e46fc72ae31253ff0