Hi,
i'm trying to compile and package gdc using the debian gcc 4.0 package.
Unfortunately i can't compile due to this issue:
[CUT]
c++ -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-pro\totypes -DHAVE_CONFIG_H -I. -Id -I../../src/gcc
-I../../src/gcc/d -I../../s\rc/gcc/../include
-I../../src/gcc/../libcpp/include -I. -Id -I../../src/gcc\
-I../../src/gcc/d -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include\ -I../../src/gcc/d
-I../../src/gcc/d/dmd -Id -D_GNU_SOURCE=1 -D_DH=1 -DD_NO_TR\AMPOLINES=1
-DD_CPU_VERSYM=\"X86\" -DD_OS_VERSYM=\"linux\" -DD_GCC_VER=40
-Wno-\missing-braces -fmessage-length=0 -o d/idgen d/idgen.dmdgen.o
cd d && ./idgen
./idgen: /tmp/buildd/gcc-4.0-4.0.3/build/gcc/libgcc_s.so.1: version
`GCC_4.2.0'\ not found (required by /usr/lib/libstdc++.so.6)
make[4]: *** [d/id.c] Error 1
make[4]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.3/build/gcc'
make[3]: *** [stage2_build] Error 2
make[3]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.3/build/gcc'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.3/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/tmp/buildd/gcc-4.0-4.0.3'
make: *** [stamps/05-build-stamp] Error 2
The libgcc_s.so.1 file exists in that directory. I used the debian gcc
package patched with gdc 0.19, without D compilation it works, so it's a
problem related with gdc.
If anyone have answers to this problem please tell me, thanks...