<p><br>
On Feb 14, 2013 10:14 PM, "Iain Buclaw" <<a href="mailto:ibuclaw@ubuntu.com">ibuclaw@ubuntu.com</a>> wrote:<br>
><br>
><br>
> On Feb 14, 2013 5:49 PM, "Joseph Rushton Wakeling" <<a href="mailto:joseph.wakeling@webdrake.net">joseph.wakeling@webdrake.net</a>> wrote:<br>
> ><br>
> > Hello all,<br>
> ><br>
> > 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:<br>

> ><br>
> > --------------------------------------------------------------------------------<br>
> > /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(bitmanip.o): In function `_D3std8bitmanip8BitArray6toHashMxFNaNbZm':<br>
> > /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'<br>
> > /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(bitmanip.o): In function `_D3std8bitmanip8BitArray7opIndexMxFmZb':<br>
> > /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'<br>
> > /opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(bitmanip.o): In function `std.bitmanip.BitArray.opIndex':<br>
> > /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'<br>
> > /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'<br>
> > /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'<br>
> > /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<br>

> > collect2: error: ld returned 1 exit status<br>
> > --------------------------------------------------------------------------------<br>
> ><br>
> > Any thoughts on what's wrong?  This was built using the following configure:<br>
> ><br>
> > ../gcc-snapshot-20130209/src/configure --enable-languages=d --disable-multilib --enable-checking=release --prefix=/opt/gdc<br>
> ><br>
> > I'm guessing that probably the gcc-snapshot is too recent?<br>
><br>
> I might have forgotten to add core.bitop.BTW implementation into druntime...<br>
></p>
<p>Nope, bt is definitely there, make sure you recompile all libphobos modules.</p>
<p>Regards<br>
Iain. <br>
</p>