Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 923468 - ARM preprocessor handling needed to build package
Summary: ARM preprocessor handling needed to build package
Alias: None
Product: Fedora
Classification: Fedora
Component: filebench
Version: 19
Hardware: arm
OS: Linux
Target Milestone: ---
Assignee: Hushan Jia
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2013-03-19 23:17 UTC by William Henry
Modified: 2013-03-19 23:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-03-19 23:41:41 UTC
Type: Bug

Attachments (Terms of Use)
diff to ioprio.c (390 bytes, patch)
2013-03-19 23:17 UTC, William Henry
no flags Details | Diff

Description William Henry 2013-03-19 23:17:41 UTC
Created attachment 712993 [details]
diff to ioprio.c

Description of problem:

filebench package does not build because it is missing a preprocessor define for ARM.  

Interestingly the two #defines it needs are defined for ARM elsewhere (/usr/include/asm/unistd.h) so it only needed to define a handler in ioprio.c to get over the no arch issue.

So just added the following lines. 

#elif defined(__arm__)
#ifndef __NR_ioprio_set
#define __NR_ioprio_set         314
#define __NR_ioprio_get         315

That got the build working. 

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Peter Robinson 2013-03-19 23:41:41 UTC
Fixed. Thanks for the patch

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