Re: Problem on Raspberry Pi

Thorsten Glaser <[email protected]> Mon, 23 Jun 2014 09:47:02 +0200 (CEST)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
On Sun, 22 Jun 2014, Sven Oliver Moll wrote:

> During compilation, I get these two errors.
> 
> arm/__longjmp.S:14: Error: selected processor does not support ARM mode `lfm
> f4,4,[ip],#48'
> 
> 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).

(This code path is exercised by mksh, so I made it work on all
Debian architectures.)

> If I comment them out, I get to the point of a compiled gatling that starts,
> but fails to deliver a webpage.

Well duh, what did you expect? “If I remove the "add" instruction,
I get a calculator that works, but fails to add two numbers.”

bye,
//mirabilos
-- 
«MyISAM tables -will- get corrupted eventually. This is a fact of life. »
“mysql is about as much database as ms access” – “MSSQL at least descends
from a database” “it's a rebranded SyBase” “MySQL however was born from a
flatfile and went downhill from there” – “at least jetDB doesn’t claim to
be a database”	‣‣‣ Please, http://deb.li/mysql and MariaDB, finally die!