Gentoo's Bugzilla –
Attachment 885020 Details for
Bug 924635dev-lang/swig-4.1.1-r1 fails to compile tests (lto): overload_extend2.go:41:18: warning: type of ‘_wrap_new_Foo_overload_extend2_5f83c8b7f31a7477’ does not match original declaration [-Wlto-type-mismatch]