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

Bug 926784

Summary: meson.eclass change broke case where {-fvirtual-function-elimination,-fwhole-program-vtables} is in *FLAGS
Product: Gentoo Linux Reporter: to1cvl+eofdpxkenqio8
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: eschwartz93
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926058
Whiteboard:
Package list:
Runtime testing required: ---

Description to1cvl+eofdpxkenqio8 2024-03-11 22:20:30 UTC
As of a recent update (some?) meson packages (e.g. x11-libs/pango) fail when -fvirtual-function-elimination or -fwhole-program-vtables are in CFLAGS.

I would guess that the relevant commit is 5e7b32c59d53f8240dfd7a17e31fc533fa811f75 and that the reason is b_lto does not add -flto during configuration.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-11 22:25:07 UTC
Please include emerge --info and an example build.log & meson-log.txt.