-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 retitle 580529 "setjmp/longjmp broken on ARM w/ FPU" reassign 580529 libc6 2.10.2 fixed 580529 2.11 thanks Le 9 mai 10 à 15:37, Martin Michlmayr a écrit :
* Thibaut Paumard <mlotpot.news@free.fr> [2010-05-09 15:19]:I attach a short test-case which I have used already to demonstrate buggy SIGFPE handling on another arch. Usage is documented in the file. Can you check whether this test case:On Thecus N2100 (using an IOP32x CPU): (sid eabi)1587:tbm@all6500: ~/src] ./fputest iffi Triggering integer SIGFPE: 1/0=(SIGFPE trapped)0Triggering floating SIGFPE: 1./0.=Triggering floating SIGFPE: 1./0.=Triggering integer SIGFPE: 1/0=(SIGFPE trapped)0On the Marvell DB-78x00-BP Development Board: (sid)tbm@mv78x00:~/src$ ./fputest iffi Illegal instruction
Contrary to my guess, the SIGILL is not triggered by feenableexcept() but by setjmp().
The bug is [1]known and is fixed in libc6 2.11 currently in experimental.
[1] http://old.nabble.com/ARM-EABI-setjmp-longjmp-fixes-td26015953.htmlI just cannot work around this bug in Yorick. In the meantime, I will just have to go on requesting that Yorick and associated packages be built on other machines than ancina. Thanks to everybody from the ARM list for your help.
Best regards, Thibaut. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkvoALUACgkQ+37NkUuUiPEDvACcDuWrgkxrByQ361u8fJhDH2u0 V30An3IDmB5HSjnOnRd+8kXbV1aXzUgB =NoSa -----END PGP SIGNATURE-----