Soft and hard float

Soft and hard float

Marcin Mielniczuk
Karma: 705
2012-09-07 11:28 UTC
Hi,

I was trying to run some N9 PR1.x apps and get segfaults. So I need to
solve several things out.
1) N9 PR is compiled with hard float and N900 has soft float, right?
2) Is there any way to run hard float software on soft float w/o recompile?

this may improve the compatiblity of meecolay

Thanks in advance
--
Marcin

  •  Reply

Re: Soft and hard float

Kaj-Michael Lang
Karma: 616
2012-09-07 11:48 UTC
On Fri, 2012-09-07 at 13:28 +0200, Marcin Mielniczuk wrote:

> 2) Is there any way to run hard float software on soft float w/o
> recompile?

Using a hardfp chroot.

--
Kaj-Michael Lang <milang@tal.org>

  •  Reply

Re: Soft and hard float

2012-09-07 12:01 UTC
According to ARM
documentation<http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0041c/ch11s02s02.html>,
you shouldn't combine them. What I would like to know is if Harmattan
binaries are softfp or hardfp, as it seems that there is a mix of them, how
is it solved in Harmattan?

Long time ago I started a
thread<http://talk.maemo.org/showthread.php?t=75868>asking about
emulation of hardfp.

Regards

2012/9/7 Marcin Mielniczuk <marmistrz@linux.pl>

> Hi,
>
> I was trying to run some N9 PR1.x apps and get segfaults. So I need to
> solve several things out.
> 1) N9 PR is compiled with hard float and N900 has soft float, right?
> 2) Is there any way to run hard float software on soft float w/o recompile?
>
> this may improve the compatiblity of meecolay
>
> Thanks in advance
> --
> Marcin
>
>
>
>
>


--
Iván Gálvez Junquera

  •  Reply

Re: Soft and hard float

Marcin Mielniczuk
Karma: 705
2012-09-07 12:11 UTC
AFAIK, the PR bins are hardfp, but the store apps are mainly softfp. Why I
think so: PR bins segfault:

Program received signal SIGSEGV, Segmentation fault

0x00000000 in ?? ()

0x00000000:


So I guess it's hardfp thing.

But normal store apps run mainly ok (or at least don't segfault in
0x00000000)

I recall something like hardfp to softfp emulator in case of flash player
or something. Is this compile time only, or can we use it with a built app?

Regards,
--
Marcin



2012/9/7 Iván Gálvez Junquera <ivgalvez@gmail.com>

> According to ARM documentation<http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0041c/ch11s02s02.html>,
> you shouldn't combine them. What I would like to know is if Harmattan
> binaries are softfp or hardfp, as it seems that there is a mix of them, how
> is it solved in Harmattan?
>
> Long time ago I started a thread<http://talk.maemo.org/showthread.php?t=75868>asking about emulation of hardfp.
>
> Regards
>
> 2012/9/7 Marcin Mielniczuk <marmistrz@linux.pl>
>
>> Hi,
>>
>> I was trying to run some N9 PR1.x apps and get segfaults. So I need to
>> solve several things out.
>> 1) N9 PR is compiled with hard float and N900 has soft float, right?
>> 2) Is there any way to run hard float software on soft float w/o
>> recompile?
>>
>> this may improve the compatiblity of meecolay
>>
>> Thanks in advance
>> --
>> Marcin
>>
>>
>>
>>
>>
>
>
> --
> Iván Gálvez Junquera
>

  •  Reply