Sign up

master build fails with DMD 2.066

GtkD master builds fine for me using LDC built from master on both Debian Sid and Fedora Rawhide, and gdc 4.9 on Debian Sid and gdc 5.0 on Fedora Rawhide. However, using dmd 2.066 on both Debian Sid and Fedora Rawhide, the GtkD build fails. On Debian Sid (and also on Fedora Rawhide I believe, but I will need to check) I get:

ranlib libgtkdsv-3.a
dmd -O -m64 -Isrc -Idemos/gtkD/TestWindow -c demos/gtkD/TestWindow/TestStock.d -ofdemos/gtkD/TestWindow/TestStock.o
Internal error: backend/go.d 242

so it's not GtkD itself that's the problem, but this is terminating the build early and so inhibiting installation.

Re: master build fails with DMD 2.066

On 03/23/2015 03:18 PM, Russel Winder wrote:

GtkD master builds fine for me using LDC built from master on both Debian Sid and Fedora Rawhide, and gdc 4.9 on Debian Sid and gdc 5.0 on Fedora Rawhide. However, using dmd 2.066 on both Debian Sid and Fedora Rawhide, the GtkD build fails. On Debian Sid (and also on Fedora Rawhide I believe, but I will need to check) I get:

ranlib libgtkdsv-3.a
dmd -O -m64 -Isrc -Idemos/gtkD/TestWindow -c demos/gtkD/TestWindow/TestStock.d -ofdemos/gtkD/TestWindow/TestStock.o
Internal error: backend/go.d 242

so it's not GtkD itself that's the problem, but this is terminating the build early and so inhibiting installation.

The demo application triggers a dmd optimizer bug:
https://issues.dlang.org/show_bug.cgi?id=14214

Re: master build fails with DMD 2.066

On 03/24/2015 10:16 PM, Mike Wey wrote:

On 03/23/2015 03:18 PM, Russel Winder wrote:

GtkD master builds fine for me using LDC built from master on both
Debian Sid and Fedora Rawhide, and gdc 4.9 on Debian Sid and gdc 5.0
on Fedora Rawhide. However, using dmd 2.066 on both Debian Sid and
Fedora Rawhide, the GtkD build fails. On Debian Sid (and also on
Fedora Rawhide I believe, but I will need to check) I get:

ranlib libgtkdsv-3.a
dmd -O -m64 -Isrc -Idemos/gtkD/TestWindow -c
demos/gtkD/TestWindow/TestStock.d -ofdemos/gtkD/TestWindow/TestStock.o
Internal error: backend/go.d 242

so it's not GtkD itself that's the problem, but this is terminating
the build early and so inhibiting installation.

The demo application triggers a dmd optimizer bug:
https://issues.dlang.org/show_bug.cgi?id=14214

I've updated the make file to overwrite the DCFLAGS for the demo for now.