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 bugzilla.redhat.com.

Bug 923468

Summary: ARM preprocessor handling needed to build package
Product: [Fedora] Fedora Reporter: William Henry <whenry>
Component: filebenchAssignee: Hushan Jia <hushan.jia>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: hushan.jia, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 23:41:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
diff to ioprio.c none

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
#endif

That got the build working. 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

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