bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110360] AC_CANONICAL_HOST sets wrong $host_cpu on Raspberry Pi 3


From: Viktor Engelmann
Subject: [sr #110360] AC_CANONICAL_HOST sets wrong $host_cpu on Raspberry Pi 3
Date: Sat, 7 Nov 2020 07:27:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36

Follow-up Comment #10, sr #110360 (project autoconf):

@Zack: you are right, that's a cleaner solution. I will do it like that, Thank
you very much :-)

Looking at https://en.wikipedia.org/wiki/ARM_Cortex-A and
https://en.wikipedia.org/wiki/ARM_architecture I would say that cortex-a53 is
a *CPU* (so should be admissible as value for $host_cpu) while armv7l is an
*architecture* and should not be an admissible value for $host_*cpu*.
armcortex-aXX or arm7cortex-aXX might be a compromise to not break scripts
that check for arm*
But that would have to be agreed on with the gcc folks, cf.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70210

If $host_cpu isn't supposed to hold a fitting value for -mcpu, then what is
the recommended way to get a value for -mcpu in the GNU Toolchain? I don't
think that an application programmer should have to deal with that question.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110360>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]