D.gnu - GDC compiler crash -- latest GitHub source built against
- Joseph Rushton Wakeling (29/29) Feb 14 2013 Hello all,
Hello all, I built the latest from-GitHub source against an up-to-date gcc snapshot (20130209, the latest in Ubuntu 13.04). The build completes successfully and was installed, but when running it crashes with the following error: -------------------------------------------------------------------------------- /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgph bos2.a(bitmanip.o): In function `_D3std8bitmanip8BitArray6toHashMxFNaNbZm': /home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:838: undefined reference to `_D4core5bitop2btFNaNbxPmmZi' /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgph bos2.a(bitmanip.o): In function `_D3std8bitmanip8BitArray7opIndexMxFmZb': /home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:450: undefined reference to `_D4core5bitop2btFNaNbxPmmZi' /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgph bos2.a(bitmanip.o): In function `std.bitmanip.BitArray.opIndex': /home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:450: undefined reference to `_D4core5bitop2btFNaNbxPmmZi' /home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:450: undefined reference to `_D4core5bitop2btFNaNbxPmmZi' /home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:450: undefined reference to `_D4core5bitop2btFNaNbxPmmZi' /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(bitmanip.o):/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos std/bitmanip.d:450: more undefined references to `_D4core5bitop2btFNaNbxPmmZi' follow collect2: error: ld returned 1 exit status -------------------------------------------------------------------------------- Any thoughts on what's wrong? This was built using the following configure: ../gcc-snapshot-20130209/src/configure --enable-languages=d --disable-multilib --enable-checking=release --prefix=/opt/gdc I'm guessing that probably the gcc-snapshot is too recent?
Feb 14 2013