Re: [iPAQ] segmentation fault error on ipaq

From: Kevin Fisher <kgf.a.t.golden.net>
Date: Thu Mar 29 2001 - 18:39:14 EST

A quick question:

There appears to be a bug in the GCC-ARM toolchain related to optimizations.
The skiffclusters seem to use different versions of GCC which exhibit this
behaviour differently.

For example, if you build something with optimizations on skiffcluster1, you
may encounter a very strange assembly-level error (it mentions something about
IMM8_OFFSET or something).

However, if you build on skiffcluster4 with optimizations, it will likely
build okay...however when you run it the program segfaults.

I've seen this behaviour with Squeak, others have seen it with SpeakFreely..it
is a GCC toolchain bug. My question: are you using optimizations? (ie -O3)
And secondly, which skiff machine are you building on? Try building without
any optimizations and see what happens.

...just my 0x02.

> Hi,
>
> I am porting some applications originally running on PC linux to ipaq.
> I transfered the files to skiff clusters and did native compilation
> there. Everything is OK and my programs work fine on skiffclusters. Then,
> I copied the binary code to my ipaq and ran it there. Unfortunately, I
> always get segmentation fault. My ipaq's running v0.19. I put the
> application code in the temporary directory /tmp(ramfs) since there is no
> enough space left in /usr/local .Any ideas? Thanks.
>
> -Yuan
>
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
Received on Thu Mar 29 15:43:50 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:57 EDT