[Bug build/26360] glibc 2.32 fails to crosscompile to ppc64le-linux-gnu using gcc 10.2.0
bero at lindev dot ch
sourceware-bugzilla@sourceware.org
Sun Dec 6 23:35:45 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26360
--- Comment #4 from Bernhard Rosenkränzer <bero at lindev dot ch> ---
I finally got around to debugging this.
The problem is that if you build a first stage gcc crosscompiler (without glibc
headers available at the point), it defaults to 64-bit long doubles, whereas
glibc assumes 128-bit long doubles.
Probably the best fix is to teach gcc to assume 128-bit long doubles when
targeting ppc64le glibc targets even if the headers aren't there yet [either
that, or add support for 64-bit long doubles to glibc] -- until then the
workaround is to add --with-long-double-128 to ./configure in the gcc bootstrap
compiler.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list