Mehdi Khaldi wrote:
I am building gpc on solaris7. First of all, I configure like that " configure --disable-multilib" I use this option because, an error occurs with gcc. Gcc developers said that I must set this option.
Then, I build with gmake command and I get this error :
../.././xgpc -B../.././ -I../.././p/rts -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path= ./gcc-core-3.2.1/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat ./gcc-core-3.2.1/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.2.1'" ./gcc-core-3.2.1/gcc/p/rts/string.pas ./gcc-core-3.2.1/gcc/p/rts/string.pas: In function `NewString': ./gcc-core-3.2.1/gcc/p/rts/string.pas:674: internal error: Segmentation Fault
Please submit a full bug report, with preprocessed source if appropriate
The last GPC alpha is not stable with gcc-3 yet. You can try building without debug info (add `-g0' on the make command line), but I'm not sure if this will make the problem go away.
Otherwise, you can wait for the next alpha (due soon) which has some improvements in this area, or try with gcc-2.
Frank