GDC on 64 bit linux fails (gentoo)

Anders Johnsen skabet at gmail.com
Tue Feb 13 03:55:43 PST 2007


Looks like this is the error:

line 101: cd: /var/tmp/portage/gdc-0.22/work/gdc-build/*/libphobos: No such file or directory

when i try and make it manuelly in the /var/tmp/portage/gdc-0.22/work/gcc-4.1.1/gcc/d/phobos folder, i get following:

gdc -o std/c/linux/linux.o -g -frelease -O2  -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -I/ -I . -I ./internal/gc -I ./ -c std/c/linux/linux.d
gdc -o gcc/configunix.o -g -frelease -O2  -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -I/ -I . -I ./internal/gc -I ./ -c /gcc/configunix.d
gdc -o std/c/unix/unix.o -g -frelease -O2  -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -I/ -I . -I ./internal/gc -I ./ -c std/c/unix/unix.d
gdc -o internal/fpmath.o -g -frelease -O2  -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -I/ -I . -I ./internal/gc -I ./ -c internal/fpmath.d
gdc -o std/boxer.o -g -frelease -O2  -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -I/ -I . -I ./internal/gc -I ./ -c std/boxer.d
cc1d: /var/tmp/portage/gdc-0.22/work/gcc-4.1.1/gcc/d/dmd/toobj.c:417: virtual void ClassDeclaration::toObjFile(): Assertion `classinfo->structsize == (0x3C+8)' failed.
std/boxer.d:523: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make: *** [std/boxer.o] Error 1

Close on giving up now :-/



More information about the Digitalmars-d mailing list