[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] ulm 64bit crash
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] ulm 64bit crash |
Date: |
10 Jan 2006 14:48:39 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
John B Wallace Jr <address@hidden> writes:
> There is still a problem using the ulm libraries with the 64bit version of
> SUSE 9.3 on an Athlon 64. HelloWorld still crashes with a segmentation fault
> during execution. HelloWorld builds and executes without errors under the
> 32bit version of SUSE 9.3.
>
>
> MODULE HelloWorld;
>
> FROM InOut IMPORT WriteString, WriteLn;
>
> BEGIN
> WriteString("Hello World!"); WriteLn;
> END HelloWorld.
Hi John,
many thanks for this report - I get the same on my Debian Pure64.
Also thanks for your analysis - I've not yet had time to investigate
this bug - so will be able to pursue it quicker given your analysis..
BTW - you might want to use the patched gdb and patched gcc-3.3.6
which can be built from gm2-harness as it fixes this warning:
> (gdb) run
> Starting program: /home/john/gm2/new/HelloWorld
> Die: DW_TAG_set_type (abbrev = 11, offset = 150475)
> has children: FALSE
> attributes:
> DW_AT_type (DW_FORM_ref4) constant ref: 150464 (adjusted)
> Dwarf Error: Cannot find type of die [in module /home/john/gm2/new/HelloWorld]
> (gdb)
> The problem seems to be associated with the SysTermIO module. If a modified
> module using a libc call for Isatty is substituted, HelloWorld builds and
> executes without errors in 64bit.
many thanks for this.. I hadn't tried this experiment..
> Also, the test suite hangs up on 32bit/SUSE 9.3 builds of recent gm2 CVS
> sources (using harness-0.6):
>
> Running
> /home/john/gm2/gm2-harness-0.6/sources/gcc-3.3.6/gcc/testsuite/gm2/cpp/pass/gm2.exp
> ...
> Running
> /home/john/gm2/gm2-harness-0.6/sources/gcc-3.3.6/gcc/testsuite/gm2/cse/fail/gm2.exp
> ...
> Running
> /home/john/gm2/gm2-harness-0.6/sources/gcc-3.3.6/gcc/testsuite/gm2/cse/pass/gm2.exp
> ...
> Running
> /home/john/gm2/gm2-harness-0.6/sources/gcc-3.3.6/gcc/testsuite/gm2/dynamic/pass/gm2.exp
> ...
> Running
> /home/john/gm2/gm2-harness-0.6/sources/gcc-3.3.6/gcc/testsuite/gm2/errors/fail/gm2.exp
> ...
> WARNING: program timed out.
yes true - thanks for the report - its now fixed in the latest CVS,
regards,
Gaius