GDC compiler crash -- latest GitHub source built against gcc-snapshot-20130209

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Feb 22 09:39:20 PST 2013


On 02/15/2013 09:14 AM, Johannes Pfau wrote:
> Is it possible that the Makefile doesn't build core.bitop?
> https://github.com/D-Programming-GDC/GDC/blob/master/libphobos/libdruntime/Makefile.am#L67

I have what looks like a similar issue (but different part of core) with a build 
off the latest GitHub:

---------------------------------------------------------------------------------
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(process.o): 
In function `_D3std7process6systemFAyaZi':
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:105: 
undefined reference to `_D4core3sys5posix3sys4wait9WIFEXITEDFiZb'
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(process.o): 
In function `_D3std7process8_spawnvpFixPaxPPaZi':
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:195: 
undefined reference to `_D4core3sys5posix3sys4wait11WIFSIGNALEDFiZb'
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:200: 
undefined reference to `_D4core3sys5posix3sys4wait10WIFSTOPPEDFiZb'
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:190: 
undefined reference to `_D4core3sys5posix3sys4wait9WIFEXITEDFiZb'
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:192: 
undefined reference to `_D4core3sys5posix3sys4wait11WEXITSTATUSFiZi'
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:197: 
undefined reference to `_D4core3sys5posix3sys4wait8WTERMSIGFiZi'
/opt/gdc/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libgphobos2.a(process.o): 
In function `_D3std7process6systemFAyaZi':
/home/joseph/code/D/gdc/objdir/x86_64-unknown-linux-gnu/libphobos/../../../gcc-snapshot-20130209/src/libphobos/std/process.d:106: 
undefined reference to `_D4core3sys5posix3sys4wait11WEXITSTATUSFiZi'
collect2: error: ld returned 1 exit status
---------------------------------------------------------------------------------

Again, this is a completely fresh build.


More information about the D.gnu mailing list