gpc runtime error on sparc
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? Please suggest me, what to do? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
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). -- Waldek Hebisch hebisch@math.uni.wroc.pl
Dear Waldek Hebisch Thanks for the help With your fix I could able to run some programs. But while running some other programs I am getting below error. value out of range (error #300 at 251b3f) If I try to run the program in the dbx (debugger) I am getting below error Internal error: dwarf reference attribute outof bounds. Please help me Regards Hari --- Waldek Hebisch <hebisch@math.uni.wroc.pl> wrote:
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).
-- Waldek Hebisch hebisch@math.uni.wroc.pl
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
vanam srihari kumar wrote:
But while running some other programs I am getting below error.
value out of range (error #300 at 251b3f)
Use addr2line program to find exact location of the error.
If I try to run the program in the dbx (debugger) I am getting below error
Internal error: dwarf reference attribute outof bounds.
That looks like problem with dbx. You may try to use `-gstabs' option to work around the problem. -- Waldek Hebisch hebisch@math.uni.wroc.pl
participants (2)
-
vanam srihari kumar -
Waldek Hebisch