View previous topic :: View next topic |
Author |
Message |
Jt0 n00b
Joined: 28 Oct 2018 Posts: 33
|
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Sun Oct 28, 2018 8:59 pm Post subject: |
|
|
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 |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Sun Oct 28, 2018 10:19 pm Post subject: |
|
|
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 |
|
|
Jt0 n00b
Joined: 28 Oct 2018 Posts: 33
|
Posted: Sun Dec 02, 2018 7:05 am Post subject: |
|
|
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 |
|
|
|