https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70896

--- Comment #4 from PeteVine <tulipawn at gmail dot com> ---
Until it failed again during the fortran part:

../../../libgfortran/io/transfer.c: In function ‘bswap_array’:
../../../libgfortran/io/transfer.c:915:25: fatal error: You must enable NEON
instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use these intrinsics.
  ((uint16_t*)dest)[i] = __builtin_bswap16 (((uint16_t*)src)[i]);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [transfer.lo] Error 1

but that looks like user error. It would be nice if `configure` could abort or
at least warn on not finding `-mfpu=neon` among CFLAGS if fortran was enabled.

Is there a way to salvage the C/C++ build or do I have to start from scratch?

Reply via email to