https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118063
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So there are 2 different issues listed here. One is no symbol table which is not correct, you need to use the linker plugin with nm to see the full symbol table. The second is the memset issue not being linked in which is a dup.