vanam srihari kumar wrote:
Dear All
I have loaded gpc and gcc on sun solaris10 sparc platform.
Version Info :gpc version 20050331, based on gcc-3.4.3
I could compile and link the pascal programs but when I try to run in solaris debugger I am getting the below error.
Running: HelloWorld process id 4176 Reading libc-psr.so.1 reading en-us.is088859-15.503 singnal segv(no maping at fault address) in _p-rts-error-s34- finisherrormessage at 0x196e8 0x000196e8: -p-rts error-s34-finisherrormessage+0x0048 (st %12 %sp+64) dbx: READ of 4 bytes at address ff3fff9f8 filled error
By running directly it is giving segmentation fault(coredump)
Where as C executables built with gcc are working fine
Please suggest me, what to do?
I belive it is a known problem. You have at least two possible solutions:
1) Pick fixes from the mailing list archive (there were multiple problems affecting gpc-20050331 on Solaris) 2) Try one of newer snapshots from:
http://www.math.uni.wroc.pl/~hebisch/gpc
(they have the fixes from the mailing list already applied).