Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge 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
Jt0
n00b
n00b


Joined: 28 Oct 2018
Posts: 33

PostPosted: Sun Oct 28, 2018 4:28 am    Post subject: Emerge gcc 8.2 fails Reply with quote

I'm unable to update gcc after cross-compiling for a Raspberry Pi 3 B+. GCC is at version 7.3, and it won't upgrade to anything higher than it currently is.
If there's a well-known reason for this, I wasn't able to find it by searching. I've included the information Portage instructed me to:

Build log: https://pastebin.com/2F61qyPi

Emerge --info: https://pastebin.com/vviVm2Kr

Emerge -pqv: https://pastebin.com/Bpht87Fs

Environment: https://pastebin.com/jqFhUyaV

Any ideas?
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Sun Oct 28, 2018 8:59 pm    Post subject: Reply with quote

I’m no arm expert, but the build log says:

Quote:
This target does not support --with-float.
Valid --with options are: abi cpu arch


So I’m guessing it doesn’t like something in CHOST CFLAGS or CXXFLAGS.
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Sun Oct 28, 2018 10:19 pm    Post subject: Reply with quote

This is a bit strange:

CHOST="aarch64-hardfloat-linux-gnu"

hardfloat is mandatory for armv8 architecture so it is redundant and maybe it is what is causing problems

see also:
https://forums.gentoo.org/viewtopic-t-1042890-start-0.html
_________________
Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
Jt0
n00b
n00b


Joined: 28 Oct 2018
Posts: 33

PostPosted: Sun Dec 02, 2018 7:05 am    Post subject: Reply with quote

Follow up on this, erm67's response was exactly what was wrong. Changing that back to aarch64-unknown-linux-gnu allowed gcc to compile (although I realized I need to set up a proper cross-compiling toolchain on my desktop when the Pi took a day and a half to compile GCC). Odd that specifying something that should be redundant causes compilation errors. I didn't know when I set it up that hardfloat was required for armv8.
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