[uClibc]can not call setjmp on ARM

Erik Andersen andersen at codepoet.org
Wed Apr 3 09:08:33 UTC 2002


On Wed Apr 03, 2002 at 02:59:07PM +0800, Steve Tsai wrote:
> Hi Erik,
> 
> You are right. Thanks.
> The processor I use does not have floating instruction support. Because I
> need to use  libm, may I just comment sfmea instruction  in setjmp.S and
> __longjmp.S, but compiler uClibc with HAS_FLOATING_POINT=true?

Well...  I guess you could do that.  But if you need to use libm,
then I highly recommend you enable the ARM fpu emulator in the
kernel and leave HAS_FLOATING_POINT=true since whether you hit
floating point ops in setjmp or in libm they arn't going to
work without something to run them...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list