building gpc

Frank Heckenbach frank at g-n-u.de
Sat Mar 22 07:50:21 CET 2003


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

-- 
Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
http://www.gnu-pascal.de/todo.html
GPC download signing key: 51FF C1F0 1A77 C6C2 4482  4DDC 117A 9773 7F88 1707




More information about the Gpc mailing list