Bug 976934 - Filebench fails to build for 64-bit ARM (Aarch64)
Summary: Filebench fails to build for 64-bit ARM (Aarch64)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: filebench
Version: 19
Hardware: arm
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Hushan Jia
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-22 00:11 UTC by D. Marlin
Modified: 2013-09-30 18:45 UTC (History)
1 user (show)

Fixed In Version: filebench-1.4.9.1-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 00:07:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to add Aarch64 support. (454 bytes, patch)
2013-06-22 00:12 UTC, D. Marlin
no flags Details | Diff

Description D. Marlin 2013-06-22 00:11:31 UTC
Description of problem:

Filebench fails to build for 64-bit ARM (Aarch64).  The new architecture is not defined in ioprio.c.

Version-Release number of selected component (if applicable):

filebench-1.4.9-11.fc19

How reproducible:

Consistently

Steps to Reproduce:
  on an Aarch64 simulator -
1. rpm -i filebench-1.4.9-11.fc19.src.rpm
2. mock --rebuild filebench-1.4.9-11.x1.fc19.src.rpm
3. 

Actual results:

gcc -D_REENTRANT -DYYDEBUG -DYY_NO_INPUT -DFILEBENCHDIR=\"/usr/share/filebench\" -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I.    
-Wall -Wno-unknown-pragmas -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size
=4 -grecord-gcc-switches  -fno-stack-protector -c ioprio.c
ioprio.c:25:2: error: #error "Unsupported arch"
 #error "Unsupported arch"
  ^

Expected results:

Build completes without errors.

Additional info:

The attached patch allows filebench to build for Aarch64. I tested this using the Aarch64 simulator, since hardware is not yet available.

This patch has also been submitted upstream:
  http://sourceforge.net/p/filebench/bugs/65/

Comment 1 D. Marlin 2013-06-22 00:12:47 UTC
Created attachment 764009 [details]
Patch to add Aarch64 support.

Comment 2 Fedora Update System 2013-09-14 11:00:39 UTC
filebench-1.4.9.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/filebench-1.4.9.1-1.fc20

Comment 3 Fedora Update System 2013-09-14 11:02:16 UTC
filebench-1.4.9.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/filebench-1.4.9.1-1.fc19

Comment 4 Fedora Update System 2013-09-14 11:03:43 UTC
filebench-1.4.9.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/filebench-1.4.9.1-1.fc18

Comment 5 Fedora Update System 2013-09-14 11:05:09 UTC
filebench-1.4.9.1-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/filebench-1.4.9.1-1.el6

Comment 6 Fedora Update System 2013-09-14 17:46:41 UTC
Package filebench-1.4.9.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing filebench-1.4.9.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16737/filebench-1.4.9.1-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-09-23 00:07:44 UTC
filebench-1.4.9.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-09-23 00:19:14 UTC
filebench-1.4.9.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-09-23 00:37:50 UTC
filebench-1.4.9.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-09-30 18:45:15 UTC
filebench-1.4.9.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.