From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E682E3857C71; Sat, 17 Sep 2022 00:03:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E682E3857C71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663372998; bh=HgoAEybSliICq+6i2pq6Uwp4pxCYUsvrO2mPjr4kLSM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b9WL9B1jMa+ZNDXXPLaEjxBdPPPhkGmfzTZVtn1PEGPs49QbpjXTA/VnekyNOTs2n uT3DpTKO3vzFiyQ9wmD2W4C6cqEDDncpOA2I/oV9MjHaHOGjn+VV6WRIljjoJrKn3B ijZH6FUCrxNjc5+1mMPkb2B8HuQUbSTsVOf5urXE= From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/106832] Missing powerpc64le-linux support for D Date: Sat, 17 Sep 2022 00:03:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106832 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-09-17 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #20 from Peter Bergner --- (In reply to Peter Bergner from comment #13) > Ok, I see the following on a powerpc64le-linux build on a system that > defaults to long double =3D=3D IBM128. >=20 > /home/bergner/gcc/gcc-fsf-mainline-lang-D/libphobos/src/std/math/package.= d: > 320:5: error: static assert: "Only 64-bit, 80-bit, and 128-bit reals are > supported for LittleEndian CPUs" > 320 | static assert(real.mant_dig =3D=3D 53 || real.mant_dig =3D=3D= 64 So going back to my IBM128 build, I see that libphobos does have some code relating to mant_dig =3D=3D 106 which is IBM128/IBM double-double, includin= g in the file that's ICEing here due to the assert. I've patched two asserts to all= ow IBM128 and I'm re-kicking off a bootstrap and regtest. It might be that the only problem the asserts needed updating? We'll see.=