Recompile Live Enviroment to use Hard-Float

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Mon Jul 02, 2012 3:45 am

Hello community,

Is there any way I could recompile all the system using hard-float. When I was using debian there was a tool for generating live environments and you could compile stuff for different architectures. The reason for this is that I would like to get the boost of the hard float, I am using the RPI for some really specific purposes so I don't need all the packages available in hard-float and I usually compile my packages anyways, so downloading the source and cross-compiling all the packages I need would not be a problem. Any ideas for this?
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Re: Recompile Live Enviroment to use Hard-Float

Postby lestofante » Tue Jul 03, 2012 4:21 pm

i think it is a compile-time flag, so you have to recompile all the system modifing all pkg option to include the flag.
maybe it is succifiand to place the flag in /usr/gcc-lib/<platform>/<version>/specs and recompile all

edit: probably a gentoo is better for this kind of things
lestofante
 
Posts: 16
Joined: Wed Jun 27, 2012 10:02 pm

Re: Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Wed Jul 04, 2012 5:42 pm

The problem is that gentoo also comes with soft-float. Once you have a hard-float system then is easy to recompile everything for hard-float but is that first step of getting the live system with hard-float that is perplexing me.

From what I have heard I cannot start recompiling packages in my system because binaries with hard-float and soft-float are incompatible. So I am looking for a way of generating a minimum live environment with hard-float and from then I can get everything else I need.
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Re: Recompile Live Enviroment to use Hard-Float

Postby Kurlon » Wed Jul 04, 2012 6:48 pm

I've finally gotten a pi to play with, and am using the Debian Wheezy beta (hard float) and so far it doesn't seem like hardfloat is really buying much of anything. For most things that are cpu bound my GFN (v5 soft float) whoops on the lil Pi, including multimedia tasks like Pithos (mp3/aac playback).
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Thu Jul 05, 2012 5:28 pm

Are you using rapbian? As far as I know the Debian Wheezy beta is still soft-float.

If I am wrong please post a link because I would like to test it.
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Re: Recompile Live Enviroment to use Hard-Float

Postby Kurlon » Thu Jul 05, 2012 5:46 pm

I'll have to poke at it and check, I am using the Debian Wheezy beta which I thought was hard float... if not that would somewhat explain the horrid performance I'm getting.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Sat Jul 07, 2012 5:55 pm

I was talking with a friend who is running Gentoo so his install is hard-float and he tells me there is a vast performance improvement over the soft-float Debian wheeze. I really don't want to try gentoo, I have done it already and it just not my thing but I may have to do it again :(.
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Re: Recompile Live Enviroment to use Hard-Float

Postby WarheadsSE » Sat Jul 07, 2012 9:15 pm

Give us time. To do a complete eval.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Sun Jul 08, 2012 3:27 pm

So now I have toolchain ready to compile to armv6 with hard float. Then I came up with pacbuilder that is supposed to recompile your system following your makepkg.conf but for it is not working well with distcc. Mmm...
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Re: Recompile Live Enviroment to use Hard-Float

Postby cesarramsan » Tue Jul 10, 2012 5:03 pm

I can confirm that there is a noticeable performance gain when using hard-float gentoo. I guess I will have to use gentoo [ again :( ].

$this->bbcode_second_pass_quote('WarheadsSE', 'G')ive us time. To do a complete eval.


Do you mean are you going to evaluate if it is worth it to recompile Arch Linux for armv6 with hard-float? Is it a possibility in the future?
cesarramsan
 
Posts: 15
Joined: Sun Apr 01, 2012 11:15 am

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests

cron