[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] ilrun hello-world.exe - Segmentation fault Debian
From: |
John Nicholls |
Subject: |
Re: [Pnet-developers] ilrun hello-world.exe - Segmentation fault Debian ARM |
Date: |
Tue, 23 Aug 2005 10:03:08 +1000 |
Thanks for the replies Mark & Rainer, I am using gcc3, I will even try
the old ARM tree that I have with gcc295.
I will also try GDB on the current tree and submit the results tomorrow.
John
On Mon, 2005-08-22 at 22:26, Rainer Größlinger wrote:
> Do you use gcc4? If so, try compiling with -O0, on some architectures
> gcc4 seems to cause a broken ilrun (I heard it's about clobbered
> registers) when compiled with optimizations (I only know about this
for
> x86, but perhaps also on others).
>
> Rainer
On Mon, 2005-08-22 at 21:59, Marc Haisenko wrote:
> On Monday 22 August 2005 13:43, John Nicholls wrote:
> > I have installed the latest 0.7.2 version on an ARM board but when I try
> > to run any program even the simple hello-world I get a Segmentation
> > fault.
> >
> > ilrun worked OK on an earlier version of pnet 0-6.12 on the same board
> >
> > Compiling works fine, if I copy the exe to a i386 box it runs OK
> >
> > Any Ideas?
>
> Is it possible for you to run GDB on the ARM board and post a backtrace ?
> I.e. do:
>
> $ gdb `which ilrun`
> (gdb) set args /path/to/assembly.exe possibleArguments forAssembly
> (gdb) run
> ...CRASH...
> (gdb) bt full
>
> and then post the result.
>
> C'ya,
> Marc
--
"It said Windows 95/98/NT/XP/2000 or better, so I installed Linux"
John Nicholls
CEO ThinLinX Assets Pty Ltd
59 George Street
Alexandra Headland 4572
Queensland
Australia
Tel: 61 7 5452-6446 fax: 61 7 54526446
www.thinlinx.com
alternate email: address@hidden