GDC compiler crash -- latest GitHub source built against gcc-snapshot-20130209
Iain Buclaw
ibuclaw at ubuntu.com
Thu Feb 14 14:14:35 PST 2013
On Feb 14, 2013 5:49 PM, "Joseph Rushton Wakeling" <
joseph.wakeling at webdrake.net> wrote:
>
> 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/libgphobos2.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/libgphobos2.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/libgphobos2.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?
I might have forgotten to add core.bitop.BTW implementation into
druntime...
Regards
Iain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130214/df649310/attachment.html>
More information about the D.gnu
mailing list