Bug 351071 - libtirpc xdr_float.c should check for __arm__
Summary: libtirpc xdr_float.c should check for __arm__
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtirpc
Version: rawhide
Hardware: arm9
OS: Linux
low
low
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2007-10-24 18:28 UTC by Lennert Buytenhek
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 0.1.7-13.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-06 16:10:45 UTC


Attachments (Terms of Use)

Description Lennert Buytenhek 2007-10-24 18:28:47 UTC
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 18:00:45 UTC
Fixed in libtirpc-0.1.7-13.fc8 and libtirpc-0.1.7-13.fc9

Comment 2 Fedora Update System 2007-11-06 16:10:44 UTC
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.


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