https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120829
Bug ID: 120829
Summary: All plugins testcases fail when doing cross to
aarch64, _ZN8opt_pass5cloneEv undefined
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: plugins
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-linux-gnu
Build: x86_64-linux-gnu
cc1: error: cannot load plugin ./selfassign.so: ./selfassign.so: undefined
symbol: _ZN8opt_pass5cloneEv
_ZN8opt_pass5cloneEv is `opt_pass::clone()` I don't know why the symbol is gone
in the final cc1 either.
This is while building the cross gcc with GCC 11.4.0 .
I don't know if this was happening before either.