ARM Cortex-A7 feature misdetection

Marc Glisse marc.glisse at
Sun Feb 4 21:16:51 UTC 2018

On Sun, 4 Feb 2018, Jeffrey Walton wrote:

> gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..
> -DOPERATION_rshift -I/usr/local/include -DNDEBUG -march=native -fPIC
> -Wa,--noexecstack tmp-rshift.s -fPIC -DPIC -o .libs/rshift.o


>      CC="gcc -std=gnu99"
>      CFLAGS="-O2 -pedantic -fomit-frame-pointer -march=armv7-a
> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7"

don't match. Are you sure they come from the same build? -march=native
makes me think you set your own CFLAGS...

Marc Glisse

More information about the gmp-bugs mailing list