Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
changing default stage3 CFLAGS fpu value (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
andi_s
Apprentice
Apprentice


Joined: 10 Feb 2005
Posts: 218
Location: Germany

PostPosted: Sat Oct 12, 2013 2:28 pm    Post subject: changing default stage3 CFLAGS fpu value (solved) Reply with quote

hi,

is it safe to change the default stage3 CFLAGS in make.conf from

Code:

CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"


to

Code:

CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard"


as my board has the more powerfull neon FPU ???

And if this is safe, will this setting increase the overall performance of the system or should i stick with the current CFLAGS settings and should simply set the neon useflag in make.conf?


Last edited by andi_s on Mon Oct 14, 2013 8:43 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32098
Location: 56N 3W

PostPosted: Sat Oct 12, 2013 8:13 pm    Post subject: Reply with quote

andi_s,

You can test this fairly safely.

Look through the /usr/portage/scripts/bootstrap.sh script and make a not of the packages it builds.
quickpkg those packages, so you have binary tarballs. You can reinstall from these if the next stage goes wrong.

Edit your CFLAGS

Now run the /usr/portage/scripts/bootstrap.sh script.
You need to run the script with no breaks as I'm fairly sure it does not support resuming.

If this works, you have just done a stage1

If it fails,
Code:
emerge -K list of binary packages
should reinstall your old binaries.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
andi_s
Apprentice
Apprentice


Joined: 10 Feb 2005
Posts: 218
Location: Germany

PostPosted: Mon Oct 14, 2013 8:42 am    Post subject: Reply with quote

hi,

now i recompiled the whole system with the new CFLAGS and no issues so far...

many thanks for the useful instructions!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum