https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84829
--- Comment #14 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- As I said in comment#10, I think the solution is to remove the specs making -mieee-fp imply -lieee. (Principally the spec in gnu-user.h. I don't think this should depend on what libc is in use. No doubt the similar spec in m32r/linux.h should be changed similarly, though I'm not aware of a glibc port to m32r, don't know what libc was used with that port, and the Linux kernel port to m32r has now been removed along with several others for 4.17.)