Re: Problem on Raspberry Pi

Enrico Scholz <[email protected]> Mon, 23 Jun 2014 12:08:34 +0200
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
[email protected] (Thorsten Glaser) writes:

>> arm/__longjmp.S:14: Error: selected processor does not support ARM mode `lfm
>> f4,4,[ip],#48'

This should be fixed in recent CVS, isn't it?


>> arm/setjmp.S:24: Error: selected processor does not support ARM mode `sfm
>> f4,4,[ip],#48'
>
> The Debian package has got a fix for that. These are basically
> floating point state save/restore instructions, and you need a
> switch (softfp/hardfp, and which CPU, 4 branches in total) for
> this (go thank ARM for being so incompatible).

ARM is not an exception regarding coprocessor registers and situation
how to proceed with floating point is unclear.  E.g. x86-64 code does
not restore[1] floating point registers at all (neither dietlibc, nor
glibc-2.18)



Enrico

Footnotes: 
[1]  see https://github.com/ensc/dietlibc/blob/master/test/sigsetjmp.c
     testprogram