Bug 186875

Summary: Fails to compile on ia64
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: irda-utilsAssignee: Karsten Hopp <karsten>
Status: CLOSED WONTFIX QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: srevivo, tao
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-05 19:50:17 UTC Type: ---
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: 176344, 198868    
Attachments:
Description Flags
irda-utils-fix-ia64-build.patch none

Description Bastien Nocera 2006-03-27 08:10:12 UTC
0.9.16-3

During build it shows:
make[1]: Entering directory `/usr/src/redhat/BUILD/irda-utils-0.9.16/findchip'
gcc -O2 -g -pipe  -O2 -Wall -Wstrict-prototypes -c findchip.c
gcc -O2 -g -pipe  -O2 -Wall -Wstrict-prototypes -c smc.c
In file included from smc.c:35:
/usr/include/asm/io.h: In function `__insb':
/usr/include/asm/io.h:128: error: `platform_inb' undeclared (first use in this
function)
/usr/include/asm/io.h:128: error: (Each undeclared identifier is reported only once
/usr/include/asm/io.h:128: error: for each function it appears in.)
/usr/include/asm/io.h: In function `__insw':
/usr/include/asm/io.h:146: error: `platform_inw' undeclared (first use in this
function)
/usr/include/asm/io.h: In function `__insl':
/usr/include/asm/io.h:164: error: `platform_inl' undeclared (first use in this
function)
/usr/include/asm/io.h: In function `__outsb':
/usr/include/asm/io.h:182: error: `platform_outb' undeclared (first use in this
function)
/usr/include/asm/io.h: In function `__outsw':
/usr/include/asm/io.h:199: error: `platform_outw' undeclared (first use in this
function)
/usr/include/asm/io.h: In function `__outsl':
/usr/include/asm/io.h:216: error: `platform_outl' undeclared (first use in this
function)
smc.c: In function `register_bank':
smc.c:86: warning: implicit declaration of function `platform_outb'
smc.c:86: warning: implicit declaration of function `platform_inb'
make[1]: *** [smc.o] Error 1

asm/io.h shouldn't be used directly, instead sys/io.h should be used. Patch
attached.

Comment 1 Bastien Nocera 2006-03-27 08:10:13 UTC
Created attachment 126798 [details]
irda-utils-fix-ia64-build.patch

Comment 2 Karsten Hopp 2006-04-03 09:12:02 UTC
patch committed to CVS, waiting for some ACKs before I build it.

Comment 3 RHEL Program Management 2006-09-05 19:41:11 UTC
The component this request has been filed against is not planned for inclusion
in the next update. The decision is based on weighting the priority and number
of requests for a component as well as the impact on the Red Hat Enterprise
Linux user-base: other components are considered having higher priority and the
number of changes we intend to include in update cycles is limited.

Comment 4 RHEL Program Management 2006-09-05 19:50:17 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request.