Summary: | flag-o-matic.eclass: filter-lto should filter -fvirtual-function-elimination | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Blacktea Hamburger <blackteahamburger> |
Component: | Eclasses | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | blackteahamburger, eschwartz93 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=926784 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Blacktea Hamburger
2024-03-03 01:22:35 UTC
(In reply to Blacktea Hamburger from comment #0) > -fwhole-program-vtables requires -flto, -fvirtual-function-elimination > requires -flto=full. If they are not filtered with filter-lto, clang will > report errors: > > x86_64-pc-linux-gnu-clang: error: invalid argument > '-fvirtual-function-elimination' only allowed with '-flto=full' > x86_64-pc-linux-gnu-clang: error: invalid argument '-fwhole-program-vtables' > only allowed with '-flto' > > Reproducible: Always -fwhole-program-vtables can already be filtered by filter-lto. |