https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97274
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The linker issues the warning, because the symbol in glibc is annotated to cause a warning. It has nothing to do with GCC.
redi at gcc dot gnu.org via Gcc-bugs Fri, 02 Oct 2020 10:18:27 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97274
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The linker issues the warning, because the symbol in glibc is annotated to cause a warning. It has nothing to do with GCC.