Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] emerge cross-aarch64-...-musl/gcc-8.2 fails
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
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 167

PostPosted: Fri Oct 12, 2018 12:16 pm    Post subject: [Solved] emerge cross-aarch64-...-musl/gcc-8.2 fails Reply with quote

Here is the build log.

gentoo:~ necktwi$ emerge --info '=cross-aarch64-RPi3B-linux-musl/gcc-8.2.0-r3::crossdev' | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/WhwXD7nYepC9RRlaDhms/
gentoo:~ necktwi$ emerge -pqv '=cross-aarch64-RPi3B-linux-musl/gcc-8.2.0-r3::crossdev' | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/nx4f9npLnW6AgMRisla0/
gentoo:~ necktwi$ wgetpaste /var/tmp/portage/cross-aarch64-RPi3B-linux-musl/gcc-8.2.0-r3/temp/build.log
Your paste can be seen here: https://paste.pound-python.org/show/k9eIukcwK6DUQFEPuAXn/
gentoo:~ necktwi$ wgetpaste /var/tmp/portage/cross-aarch64-RPi3B-linux-musl/gcc-8.2.0-r3/temp/environment
Your paste can be seen here: https://paste.pound-python.org/show/XU8yi9twxg5IjFNa6rLx/

Thanq!


Last edited by necktwi on Sun Oct 14, 2018 10:52 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Oct 12, 2018 12:23 pm    Post subject: Reply with quote

necktwi ...

as I said only today, musl isn't ported to aarch64 ... at least that is what the musl website states, I have no experience with aarch64.

best ... khay
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 167

PostPosted: Fri Oct 12, 2018 12:27 pm    Post subject: Reply with quote

@uriah has built one!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Oct 12, 2018 12:35 pm    Post subject: Reply with quote

necktwi wrote:
@uriah has built one!

necktwi ... built one what? Perhaps musl, gcc, and binutils, might build, but if you're expecting it to function as a platform to build a userland then you're going to encounter all the issues that musl dev's know exist in relation to aarch64 (read the link I provided earlier).

best ... khay
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 167

PostPosted: Fri Oct 12, 2018 12:41 pm    Post subject: Reply with quote

got it. fingers crossed for musl crossdev.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Fri Oct 12, 2018 11:01 pm    Post subject: Reply with quote

Crossdev is just a wrapper to let you cross-compile the code so you do not need an aarch64 to build for aarch64. It doesn't make functional things that would be broken in a native compile. Assuming khayyam's description is correct, you won't get a full working userland for aarch64+musl with current code, regardless of how you plan to compile that code.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Oct 13, 2018 5:33 am    Post subject: Reply with quote

Hu wrote:
Assuming khayyam's description is correct, you won't get a full working userland for aarch64+musl with current code, regardless of how you plan to compile that code.

Hu ... I'm not sure what to think now, there is the musl porting/aarch64 wiki page which states that porting is "probably less than 30%" complete ... however the INSTALL states:

INSTALL wrote:
Supported Targets
-----------------
musl can be built for the following CPU instruction set architecture and ABI combinations:
[...]
* AArch64
* Little-endian default; big-endian variants also supported

So either the porting page was never updated, or they mean 'built' in a limited sense (ie, will build but not necessarily function).

best ... khay
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 167

PostPosted: Sun Oct 14, 2018 10:51 am    Post subject: [Solved] Reply with quote

Comment out all aarch64-... in world
update world
Uncomment or add previously commented aarch64-... in world
reemerge with makeopts="-j1" and disabling distcc ccache
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