https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78017 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- IIRC this was declared a libc bug or an user error (not using the full archive). There is another thread on the glibc side if you want to read up on that.