https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106088
Xi Ruoyao <xry111 at mengyan1223 dot wang> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at mengyan1223 dot wang --- Comment #2 from Xi Ruoyao <xry111 at mengyan1223 dot wang> --- It means you've misconfigured ld. GCC has nothing to do with tracking DT_NEEDED entries in ELF shared objects.