https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77957
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This has been worked around on the trunk, but I haven't tracked status of the actual bugfix (making sure that if we don't optimize away the .LCTOC0 reference, we emit that symbol). Segher, do you remember if anything has been checked in or not?