Bug 27062 - fdlibm fails to detect endianness
Summary: fdlibm fails to detect endianness
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.91
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 15:31 UTC by Riccardo Mottola
Modified: 2006-04-19 17:55 UTC (History)
2 users (show)

See Also:
Host: powerpc-ibm-aix4.2.1.0
Target: powerpc-ibm-aix4.2.1.0
Build: powerpc-ibm-aix4.2.1.0
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Mottola 2006-04-06 15:31:27 UTC
I propose to change line 134 in ieeefp.h to

#if defined (__PPC__) || defined (__ppc__) || defined (__powerpc__) || defined (__ppc64__) || defined (_POWER) || defined (_IBMR2)


since _POWER and _IBMR2 are apparently the only usable symbols gcc 345 defines on this computer (even if it is a PowerPC)
Comment 1 Tom Tromey 2006-04-06 16:50:36 UTC
Looks like a dup of bug #25650.
Comment 2 Tom Tromey 2006-04-19 17:55:59 UTC
I checked this in.
Comment 3 cvs-commit@developer.classpath.org 2006-04-19 18:01:40 UTC
Subject: Bug 27062

CVSROOT:	/cvsroot/classpath
Module name:	classpath
Branch: 	
Changes by:	Tom Tromey <tromey@savannah.gnu.org>	06/04/19 17:55:15

Modified files:
	native/fdlibm  : ieeefp.h 
	.              : ChangeLog 

Log message:
	2006-04-19  Riccardo Mottola  <multix@gmail.com>
	
	PR classpath/27062, PR classpath/25650:
	* native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/fdlibm/ieeefp.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7152&tr2=1.7153&r1=text&r2=text