GDC 4.7 Error Build

Mildi mildi06 at gmail.com
Mon Jul 30 04:16:02 PDT 2012


GDC 4.7
Download https://github.com/D-Programming-GDC/GDC
GCC 4.7.1
Download ftp://ftp.fu-berlin.de/unix/languages/gcc/

../gcc-4.7.1/configure --enable-languages=d --disable-bootstrap \
         --prefix=/opt/gdc \
         --with-bugurl="http://gdcproject.org/bugzilla" \
         --enable-checking=yes
not error

make -j2 2>&1 | tee build.log

The last lines of the build log with an error

/home/mildi/D_GDC4.7/gdc/objdir/./prev-gcc/g++ 
-B/home/mildi/D_GDC4.7/gdc/objdir/./prev-gcc/ 
-B/opt/gdc2/x86_64-unknown-linux-gnu/bin/ -nostdinc++ 
-B/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-B/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu 
-I/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/home/mildi/D_GDC4.7/gdc/gcc-4.7.1/libstdc++-v3/libsupc++ 
-L/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-L/home/mildi/D_GDC4.7/gdc/objdir/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs 
-DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -fno-exceptions 
-fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual 
-DHAVE_CONFIG_H -I. -Id -I../../gcc-4.7.1/gcc 
-I../../gcc-4.7.1/gcc/d -I../../gcc-4.7.1/gcc/../include 
-I../../gcc-4.7.1/gcc/../libcpp/include 
-I../../gcc-4.7.1/gcc/../libdecnumber 
-I../../gcc-4.7.1/gcc/../libdecnumber/bid -I../libdecnumber -I. 
-Id -I../../gcc-4.7.1/gcc -I../../gcc-4.7.1/gcc/d 
-I../../gcc-4.7.1/gcc/../include 
-I../../gcc-4.7.1/gcc/../libcpp/include 
-I../../gcc-4.7.1/gcc/../libdecnumber 
-I../../gcc-4.7.1/gcc/../libdecnumber/bid -I../libdecnumber 
-I../../gcc-4.7.1/gcc/d -I../../gcc-4.7.1/gcc/d/dfrontend -Id 
-Wno-missing-braces -Wno-format -Wno-deprecated -Wstrict-aliasing 
-DGCC_SAFE_DMD=1 -o d/d-lang.glue.o -c 
../../gcc-4.7.1/gcc/d/d-lang.cc
../../gcc-4.7.1/gcc/d/d-lang.cc: In function ‘void 
d_write_global_declarations()’:
../../gcc-4.7.1/gcc/d/d-lang.cc:641:31: error: 
‘finalize_compilation_unit’ was not declared in this scope
make[3]: *** [d/d-lang.glue.o] Ошибка 1
make[3]: *** Ожидание завершения 
заданий...
rm gcc.pod
make[3]: Выход из каталога 
/home/mildi/D_GDC4.7/gdc/objdir/gcc'
make[2]: *** [all-stage2-gcc] Ошибка 2
make[2]: Выход из 
каталога/home/mildi/D_GDC4.7/gdc/objdir'
make[1]: *** [stage2-bubble] Ошибка 2
make[1]: Выход из каталога 
`/home/mildi/D_GDC4.7/gdc/objdir'
make: *** [all] Ошибка 2


More information about the D.gnu mailing list