[BusyBox] CONFIG_FEATURE_AWK_MATH causes boot to hang

olivier.delouya at takimaging.com olivier.delouya at takimaging.com
Mon Feb 28 13:28:55 UTC 2005


Hi,

I confirm that hard maths hang my ARM platform at boot time, because it 
does not actually
have floating support..
The fault was not easy to locate; Not making any math operation, the lock 
happened on a 
simple setjmp/longjump, when the libc attempted to save / restore floating 
point registers..
Fix: on my own, use soft math exclusively..

Good luck

Olivier Delouya



Felix Domke <tmbinc at elitedvb.net> 
Sent by: busybox-bounces at mail.codepoet.org
25/02/2005 18:30

To
busybox at mail.codepoet.org
cc

Subject
Re: [BusyBox] CONFIG_FEATURE_AWK_MATH causes boot to hang






Hi,

>>> Has anyone else seen this problem and know the cause/fix.
> I _think_ that got fixed on later glibc's.  Also the problem only occurs
> with CONFIG_FEATURE_AWK_MATH, if I turn that option off it works just 
fine.
Looks like you're building with hardfloat and without kernel fpu 
emulation.

This will hang the boot process for some reason (I don't know why there
aren't any errors).

However i've seen this behaviour, and enabling the fpu emulation fixed
it. Softfloat might be a better alternative, but sometimes you need
binary compatibility which you'll (almost) get with the fpu emulation.

Felix
_______________________________________________
busybox mailing list
busybox at mail.busybox.net
http://busybox.net/mailman/listinfo/busybox


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050228/e4e15da7/attachment-0001.htm 


More information about the busybox mailing list