[Bug d/106832] Missing powerpc64le-linux support for D

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 17 00:03:18 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-09-17
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #20 from Peter Bergner <bergner at gcc dot gnu.org> ---
(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 == IBM128.
> 
> /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 == 53 || real.mant_dig == 64

So going back to my IBM128 build, I see that libphobos does have some code
relating to mant_dig == 106 which is IBM128/IBM double-double, including 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.


More information about the Gcc-bugs mailing list