Bug 351071

Summary: libtirpc xdr_float.c should check for __arm__
Product: [Fedora] Fedora Reporter: Lennert Buytenhek <buytenh>
Component: libtirpcAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: arm9   
OS: Linux   
Fixed In Version: 0.1.7-13.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-06 11:10:45 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 245418    

Description Lennert Buytenhek 2007-10-24 14:28:47 EDT
libtirpc's version of xdr_float.c checks for __arm32__, which is a
preprocessor symbol defined on NetBSD/arm.  A Linux/ARM-targeted gcc
will not define __arm32__, but will define __arm__ instead.

Adding a " || defined(__arm__)" to xdr_float.c in the obvious place
makes libtirpc build on ARM, and allows building the libtirpc rawhide
srpm on the Fedora ARM port without further modifications.

Please considering adding a check for __arm__.
Comment 1 Steve Dickson 2007-10-25 14:00:45 EDT
Fixed in libtirpc-0.1.7-13.fc8 and libtirpc-0.1.7-13.fc9
Comment 2 Fedora Update System 2007-11-06 11:10:44 EST
libtirpc-0.1.7-13.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.