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

2022-09-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #25 from Iain Buclaw --- (In reply to Iain Buclaw from comment #24) > I'd imagine all static asserts would be hit, so a lot more than that - > floor, tan, sin, cos, pow, etc... - some of which are not exactly trivial to > implement f

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

2022-09-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #24 from Iain Buclaw --- (In reply to Peter Bergner from comment #22) > (In reply to Peter Bergner from comment #21) > > For the record, this is what I'm testing with: > > So we get farther, but ICE again at: > /home/bergner/gcc/gcc

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

2022-09-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #23 from Peter Bergner --- (In reply to Peter Bergner from comment #22) > Looking at expImpl(), it has implementations for all of the float types > except for IBM128. Maybe just need to add support for that??? A few other places as

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

2022-09-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #22 from Peter Bergner --- (In reply to Peter Bergner from comment #21) > For the record, this is what I'm testing with: So we get farther, but ICE again at: /home/bergner/gcc/gcc-fsf-mainline-lang-D/libphobos/src/std/math/exponenti

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

2022-09-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- 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 == 106 which is IBM128/IBM double-double, including in > the

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

2022-09-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 Peter Bergner changed: What|Removed |Added Last reconfirmed||2022-09-17 Ever confirmed|0

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

2022-09-16 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #19 from Peter Bergner --- (In reply to Peter Bergner from comment #17) > Bah, you are correct. I forgot I needed to add an explicit configure option > to get the IEEE128 default. I'll kick it off again! Thanks! Ok, my Fedora36 (

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

2022-09-15 Thread kalevlember at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #18 from Kalev Lember --- If it helps in any way, I have a copr at https://copr.fedorainfracloud.org/coprs/kalev/gdc_bootstrap/ that has GCC 12 bootstrapped on ppc64le for F36 (but built with LIBDRUNTIME_ONLY=yes").

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

2022-09-15 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #17 from Peter Bergner --- (In reply to ibuclaw from comment #15) > (In reply to Peter Bergner from comment #14) > > Similar error on a long double == IEEE128 system: > > > > /home/bergner/gcc/gcc-fsf-mainline-lang-D/libphobos/src/s

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

2022-09-14 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #16 from Dan Horák --- Peter, what stage is it? A build on Fedora rawhide/ppc64le in the releases/gcc-11 branch using "./configure --enable-languages=d --enable-bootstrap --with-long-double-format=ieee" together with @@ -44,7 +44,

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

2022-09-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 ibuclaw at gcc dot gnu.org changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org

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

2022-09-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #14 from Peter Bergner --- Similar error on a long double == IEEE128 system: /home/bergner/gcc/gcc-fsf-mainline-lang-D/libphobos/src/std/math.d:281:5: error: static assert "Only 64-bit, 80-bit, and 128-bit reals are supported for L

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

2022-09-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #13 from Peter Bergner --- (In reply to Peter Bergner from comment #1) > I'll kick off a build with D enabled to educate myself. Ok, I see the following on a powerpc64le-linux build on a system that defaults to long double == IBM128

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

2022-09-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #12 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #11) > Doesn't powerpc*-*-freebsd* use IEEE double long double? > grep LONG_DOUBLE_SIZE * > darwin.h:#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128 > linux64.h:#define RS6

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

2022-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #11 from Jakub Jelinek --- Doesn't powerpc*-*-freebsd* use IEEE double long double? grep LONG_DOUBLE_SIZE * darwin.h:#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128 linux64.h:#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128 linux.h:#define RS

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

2022-09-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #10 from Iain Buclaw --- (In reply to Peter Bergner from comment #9) > (In reply to Jakub Jelinek from comment #2) > > Well, I certainly see libphobos/configure.tgt having powerpc*-linux* as the > > only target that does: > > power

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

2022-09-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #9 from Peter Bergner --- (In reply to Jakub Jelinek from comment #2) > Well, I certainly see libphobos/configure.tgt having powerpc*-linux* as the > only target that does: > power*-*-linux*) > LIBPHOBOS_SUPPORTED=yes >

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

2022-09-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #8 from Peter Bergner --- (In reply to Jakub Jelinek from comment #5) > BTW, for the case where -mabi=ieeelongdouble is the default unless there is > some power* specific configuration in the library that needs to be done > perhaps c

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

2022-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #7 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #5) > BTW, for the case where -mabi=ieeelongdouble is the default unless there is > some power* specific configuration in the library that needs to be done > perhaps c

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

2022-09-14 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #6 from Dan Horák --- I don't disagree :-) Also the D stdlib code is difficult to readable for me with all the "version()" sections ...

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

2022-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #5 from Jakub Jelinek --- BTW, for the case where -mabi=ieeelongdouble is the default unless there is some power* specific configuration in the library that needs to be done perhaps changing configure.tgt is all we need, but for the

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

2022-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #4 from Jakub Jelinek --- I think the IEEE quad support isn't 100%, I see a couple of spots with: static if (real.mant_dig > 64) { pragma(msg, "printFloat tests disabled because of unsupported `real` format"); } w

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

2022-09-14 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #3 from Dan Horák --- a couple notes - you need to start with GCC 11 as GCC 12 needs an existing gdc compiler - the phobos/dmd standard library seems to support ieeequad type, learned from ldc, I believe they all share the same stand

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

2022-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #2 from Jakub Jelinek --- Well, I certainly see libphobos/configure.tgt having powerpc*-linux* as the only target that does: power*-*-linux*) LIBPHOBOS_SUPPORTED=yes LIBDRUNTIME_ONLY=yes ;; I believe the lat

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

2022-09-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment