From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F4063857C76; Sat, 17 Sep 2022 00:12:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F4063857C76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663373562; bh=wgyUFiwl5pojFWu1Kue1+fE7eKl4HucBm9kx31hoCcw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yXg8tE0iEhV1cQ9+qO4WAyuj+Ey+N22q0oMm1NqB3B1L05PmzTtKf9TnVqndj8SyZ IoqqrGDQCSYtqhZVSR7SaKF22cTR/Nu4lW966X/Lxb+c07NooNIs2/TAYSKnIUrucM bs8pRXAgUuMJYWBR6q1A8igl/23d6lG4ueUqonIY= 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:12:32 +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: 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 --- Comment #21 from Peter Bergner --- (In reply to Peter Bergner from comment #20) > 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, includ= ing in > the file that's ICEing here due to the assert. I've patched two asserts = to > allow 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. For the record, this is what I'm testing with: diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 0063dd23249..e78688010ed 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -44,7 +44,6 @@ case "${target}" in ;; power*-*-linux*) LIBPHOBOS_SUPPORTED=3Dyes - LIBDRUNTIME_ONLY=3Dyes ;; riscv*-*-linux*) LIBPHOBOS_SUPPORTED=3Dyes diff --git a/libphobos/src/std/math/package.d b/libphobos/src/std/math/package.d index 19982ec216a..d0752032d1f 100644 --- a/libphobos/src/std/math/package.d +++ b/libphobos/src/std/math/package.d @@ -318,13 +318,14 @@ do version (LittleEndian) { static assert(real.mant_dig =3D=3D 53 || real.mant_dig =3D=3D 64 - || real.mant_dig =3D=3D 113, + || real.mant_dig =3D=3D 106 || real.mant_dig =3D=3D 113, "Only 64-bit, 80-bit, and 128-bit reals"~ " are supported for LittleEndian CPUs"); } else { - static assert(real.mant_dig =3D=3D 53 || real.mant_dig =3D=3D 113, + static assert(real.mant_dig =3D=3D 53 || real.mant_dig =3D=3D 106 + || real.mant_dig =3D=3D 113, "Only 64-bit and 128-bit reals are supported for BigEndian CPUs."); }=