[uClibc]setjmp problems with arm-elf toolchain on big-endian MMU-less ARM

David Byron dbyron at coactive.com
Wed Mar 13 22:23:01 UTC 2002


> -----Original Message-----
> From: Erik Andersen [mailto:andersen at codepoet.org]
> Sent: Wednesday, March 13, 2002 8:36 AM
> 
> > On Mon Mar 11, 2002 at 05:31:37PM -0800, David Byron wrote:
> > 
> > but I'm having trouble with setjmp.  The setjmp test in
> > uClibc/test/setjmp test runs fine using the arm-linux
> > toolchain, but hangs in the first call to setjmp.
> 
> > I'm seeing the same behavior using msh -- setjmp hangs there too.
> > 
> > Compiling with -mbig-endian -msoft-float -mcpu=arm9.
> > 
> > Anyone else having the same trouble or have ideas for a solution?
> 
> Do you have __UCLIBC_HAS_FLOATS__ enabled?

Yes, but I'm using the patch to libc/sysdeps/linux/arm/setjmp.S and
__longjmp.S to keep the hardware floating point instructions out.

I just rebuilt my toolchain with the head of the gcc-2_95-branch with
the patch from

http://www.armlinux.org/archives/toolchain/gcc-2.95.4-diff-010819.gz

and still no luck.  I'm still using Davidm's script and configuring
for arm-elf so perhaps I'll try arm-linux next...

I tried your toolchain setup but didn't have any luck.  I'll send
you the details in another message.

-DB
---
David Byron                     dbyron at coactive.com
Coactive Networks, Inc.         http://www.coactive.com
28 Liberty Ship Way             voice:(415)289-7800
Sausalito, CA  94965            fax:(415)289-1320



More information about the uClibc mailing list