Not a long term fix. But as a hot fix, try commenting out the line "#define POLARSSL_HAVE_ASM" in lib/polarssl/include/polarssl/bn_mul.h
Also what is the output of gcc -dM -E - < /dev/null ?
Also how did you set -fomit-frame-pointer? we may overwrite the CFLAGS in cmake.
Also what is the output of gcc -dM -E - < /dev/null ?
Also how did you set -fomit-frame-pointer? we may overwrite the CFLAGS in cmake.