Forum Navigation
toobj.c:417 ... Assertion `classinfo->structsize == CLASSINFO_SIZE' failed
Forum Index
»
Tango Issues
»
toobj.c:417 ... Assertion `classinfo->structsize == CLASSINFO_SIZE' failed
Moderators:
kris
Posted: 11/01/07 13:16:17In the directory tango-0.99.2-src/lib, I type ./build-gdc.sh, and I get:
gdc -o genobj.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -pipe -I../../.. -fversion=Posix \ -c genobj.d cc1d: ../../gcc-4.1.1/gcc/d/dmd/toobj.c:417: virtual void ClassDeclaration::toObjFile(): Assertion `classinfo->structsize == CLASSINFO_SIZE' failed. genobj.d:115: internal compiler error: Aborted$ gdc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1.1/configure --prefix=/tools/ecad/local/i686/gcc-4.1.1 --enable-languages=c,c++,d Thread model: posix gcc version 4.1.1 20060524 ( (gdc 0.23, using dmd 1.007))$ gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)$ dsss installed dsss gdc-gcc-4.1 $I think there is a version problem. My system is 3.4 (which I cannot change) and I try to use 4.1 for GDC. Can I do this?
Author Message
Posted: 11/01/07 14:11:22Version incompatibility. Do not pass go, do not collect $200 :(












