Hi
libwebp-0.5.1 fails to build on ARM with error messages such as
gcc -DHAVE_CONFIG_H -I. -I../../src/webp -DNDEBUG -fvisibility=hidden -Wall
-Wdeclaration-after-statement -Wextra -Wfloat-conversion -Wformat -Wformat-nonliteral
-Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes
-Wold-style-definition -Wshadow -Wunreachable-code -Wunused-but-set-variable -Wunused
-Wvla -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16
-mfloat-abi=hard -pthread -c enc_neon.c -fPIC -DPIC -o
.libs/libwebpdsp_neon_la-enc_neon.o
In file included from ./neon.h:15:0,
from enc_neon.c:20:
./neon.h: In function 'Transpose4x4':
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/6.1.1/include/arm_neon.h:6276:1: error: inlining
failed in call to always_inline 'vget_high_u64': target specific option mismatch
vget_high_u64 (uint64x2_t __a)
^~~~~~~~~~~~~
and many more similar ones, see [1].
Does anyone have an idea what to do about such errors?
Thanks
Sandro
[1]
https://kojipkgs.fedoraproject.org//work/tasks/561/14870561/build.log