From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 977493858012; Sun, 6 Dec 2020 23:35:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 977493858012 From: "bero at lindev dot ch" To: glibc-bugs@sourceware.org Subject: [Bug build/26360] glibc 2.32 fails to crosscompile to ppc64le-linux-gnu using gcc 10.2.0 Date: Sun, 06 Dec 2020 23:35:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bero at lindev dot ch X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 23:35:45 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26360 --- Comment #4 from Bernhard Rosenkr=C3=A4nzer --- I finally got around to debugging this. The problem is that if you build a first stage gcc crosscompiler (without g= libc 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 boots= trap compiler. --=20 You are receiving this mail because: You are on the CC list for the bug.=