Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ARM_ARCH on NetBSD/earmv6hf
On Wed, Jan 09, 2019 at 11:51:53AM +0900, Jun Ebihara wrote:
> ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p'`
>
> rpi# cc -dM -E - < /dev/null |grep ARM_ARCH
> __ARM_ARCH_6KZ__ 1
> __ARM_ARCH_6ZK__ 1
This should be a generic issue. from gcc/config/arm/arm-c.c:
if (arm_arch_iwmmxt2)
builtin_define ("__IWMMXT2__");
/* ARMv6KZ was originally identified as the misspelled __ARM_ARCH_6ZK__. To
preserve the existing behavior, the misspelled feature macro must still be
defined. */
if (arm_arch6kz)
builtin_define ("__ARM_ARCH_6ZK__");
How about adding a "| tail -1" to the configure script (and reporting upstream)?
Martin
Home |
Main Index |
Thread Index |
Old Index