Project

General

Profile

Actions

Bug #15203

open

NEON error when building ceph on ARM v7 targets

Added by Khaled M about 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
ARM neon
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

rpm.log (72.8 KB) rpm.log Khaled M, 03/18/2016 05:19 PM
Actions #1

Updated by Khaled M about 8 years ago

Attaching the complete RPM log showing the neon failure.

Actions

Also available in: Atom PDF