Bug #15203
openNEON error when building ceph on ARM v7 targets
0%
Description
When trying to build the ceph-9.2.1-0.el7.src.rpm package on Fedora on several ARM targets, I get the following error:
./erasure-code/jerasure/jerasure/include/galois.h:46, from erasure-code/jerasure/jerasure/src/cauchy.c:51:
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/include/arm_neon.h:31:2:
error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
#error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
I get this same exact error on 3 different ARM targets (TrimSlice, CubieBoard, RaspberryPi2)
If I try to build ceph manually (by going into the ceph folder and doing "automake, ./configure, make") I am able to successfully build it, but the RPMbuild always fails
I was not able to work around this issue by modifying /var/lib/rpm/rpmrc.
Any suggestions for a workaround?
Files