Hi, I'm trying to install gpc20030209 version on solaris7.
But, when the compiler processes with pascal units, I get this message
../.././xgpc -B../.././ -I../.././p/rts -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path=/Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.2.1'" /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas
--------------------------------------------------------------------------- /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas: In function `NewString': /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas:674: internal error: Segmentation Fault
----------------------------------------------------------------------------
I don't understand because I installed the same version on alpha with success!!
I'm using the gcc-3.2.1 core
Mehdi Khaldi wrote:
Hi, I'm trying to install gpc20030209 version on solaris7.
But, when the compiler processes with pascal units, I get this message
../.././xgpc -B../.././ -I../.././p/rts -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path=/Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.2.1'" /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas
/Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas: In function `NewString': /Home/Users/mkhaldi/workspace/gcc-3.2.1/gcc/p/rts/string.pas:674: internal error: Segmentation Fault
I don't understand because I installed the same version on alpha with success!!
I'm using the gcc-3.2.1 core
The sparc version uses different back-end then alpha version (on sparc the compiler has genrate sparc machine code). So in fact you have here two different (very similar) programs, so some bugs just appear only in one version.
You probably should try gpc-20030507. FYI, I just sucessfuly built gpc-20030507 with gcc-3.3.1 on solaris 2.6 (still different then solaris 2.7 but much more simlar then alpha) -- see another message for details