GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #12741

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Waldek Hebisch
Subject: GPC alpha
Date: 27 Sep 2005, 23:39:41

Tom Schneider wrote:
> Frank:
> > If that's ok, can you run the program in a debugger to find out
> > where it crashes?
> 
> Sure.
> 
> ********************************************************************************
> 
> % cat t.p
> program t(output);
> begin
> writeln(output,'hello world');
> end.
> % /usr/local/gpc-20050331/bin/gpc -v
> Reading specs from /export/data/local/gpc-20050331/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.3/specs
> Configured with: /export/home/bryantd/gpc-build/../gcc-3.3.3/configure --enable-languages=pascal --prefix=/usr/local/gpc
> Thread model: posix
> gpc version 20050331, based on gcc-3.3.3
> % /usr/local/gpc-20050331/bin/gpc -g t.p
> % gdb t
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.9"...
> (gdb) run
> Starting program: /home/strawberry/toms/work/emptytest/t 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x189dc in _p_ReturnAddr2Hex ()
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> 

This looks like a known problem, see:

http://www.gnu-pascal.de/crystal/gpc/en/mail12116.html

There is also another known problem affecting Solaris:

http://www.gnu-pascal.de/crystal/gpc/en/mail12133.html


With patches from both mails applied gpc-20050331 worked fine
for me on Solaris 2.6

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Tom Schneider GPC alpha 19 Sep 2005, 20:29:55

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).