Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new ARM profile and new CHOST
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Nov 25, 2018 6:03 pm    Post subject: new ARM profile and new CHOST Reply with quote

The new 17.0 profile is encouraged for arm. This involves a change in CHOST. In my particular case of a raspberry-pi this would change from

armv7a-hardfloat-linux-gnueabi

to

armv7a-unknown-linux-gnueabihf

I am supposed to use the script in
https://dev.gentoo.org/~chewi/armhf-migrate.bash

And I trust the Gentoo devs have done as always a fantastic job at checking many use cases.

I do have however a couple of questions.

1) I use distcc to crosscompile on this arm machine, will this script rebuild the system on my distcc server or natively on ARM?

2) What should I do on the distcc server? Should I install a new target for crossdev?

At first I was leaning towards not changing the profile, but the problem is that when those things get deprecated it's really hard to update.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 25, 2018 6:16 pm    Post subject: Reply with quote

potuz,

This script runs on the ARM system. It does nothing for the distcc helper(s).

You need to run
Code:
crossdev -t <new_target>
there.

Moved to Gentoo on ARM, as it fits better there.
_________________
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
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Nov 25, 2018 6:18 pm    Post subject: Reply with quote

NeddySeagoon wrote:
potuz,

This script runs on the ARM system. It does nothing for the distcc helper(s).

You need to run
Code:
crossdev -t <new_target>
there.

Moved to Gentoo on ARM, as it fits better there.

Thanks, would it help if I build the toolchain on the helper before running the script? would then the script rebuild some of the components using distcc?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 25, 2018 6:23 pm    Post subject: Reply with quote

potuz,

You can't use distcc with gcc and I've seen in make a mess of glibc too.

In theory, you can cross compile all the bits then install the binaries.
The script does a lot more than that though.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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