diff options
author | Zack Welch <zwelch@gentoo.org> | 2003-02-22 09:02:27 +0000 |
---|---|---|
committer | Zack Welch <zwelch@gentoo.org> | 2003-02-22 09:02:27 +0000 |
commit | d9108d00ce3133f49eff9dc01fd1887aad735df9 (patch) | |
tree | b29752235c1cff932a32b633445a24718bc8694b /sys-devel | |
parent | set ppc in keywords (diff) | |
download | historical-d9108d00ce3133f49eff9dc01fd1887aad735df9.tar.gz historical-d9108d00ce3133f49eff9dc01fd1887aad735df9.tar.bz2 historical-d9108d00ce3133f49eff9dc01fd1887aad735df9.zip |
add patch for ARM gcc to fix floating point ops
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch | 142 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-2.95.3-r8.ebuild | 4 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.2.2.ebuild | 3 |
4 files changed, 150 insertions, 4 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog index 9d3613587259..0c2a4eac7f73 100644 --- a/sys-devel/gcc/ChangeLog +++ b/sys-devel/gcc/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for sys-devel/gcc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.68 2003/02/22 07:52:32 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.69 2003/02/22 09:02:27 zwelch Exp $ *gcc-3.2.2 (06 Feb 2003) + 22 Feb 2003; Zach Welch <zwelch@gentoo.org> gcc-3.2.2.ebuild : + Added patch for arm to disable floating point math + 21 Feb 2003; Zach Welch <zwelch@gentoo.org> gcc-3.2.2.ebuild : Added patch for arm to fix incorrect code generation diff --git a/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch b/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch new file mode 100644 index 000000000000..fbb8a840a900 --- /dev/null +++ b/sys-devel/gcc/files/3.2.1/gcc32-arm-disable-mathf.patch @@ -0,0 +1,142 @@ +--- gcc-3.1/libstdc++-v3/configure Tue May 7 23:27:59 2002 ++++ gcc-3.1-patched/libstdc++-v3/configure Thu Aug 8 11:01:35 2002 +@@ -5034,10 +5034,6 @@ + EOF + + cat >> confdefs.h <<\EOF +-#define HAVE_FREXPF 1 +-EOF +- +- cat >> confdefs.h <<\EOF + #define HAVE_HYPOTF 1 + EOF + +@@ -7873,128 +7869,6 @@ + cat >> confdefs.h <<\EOF + #define HAVE_MMAP 1 + EOF +- +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ACOSF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ASINF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ATAN2F 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ATANF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_CEILF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_COPYSIGN 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_COPYSIGNF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_COSF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_COSHF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_EXPF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FABSF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FINITE 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FINITEF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FLOORF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FMODF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_FREXPF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ISINF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ISINFF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ISNAN 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_ISNANF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_LDEXPF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_LOG10F 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_LOGF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_MODFF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_POWF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_SINF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_SINHF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_SQRTF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_TANF 1 +-EOF +- +- cat >> confdefs.h <<\EOF +-#define HAVE_TANHF 1 +-EOF +- + ;; + esac + diff --git a/sys-devel/gcc/gcc-2.95.3-r8.ebuild b/sys-devel/gcc/gcc-2.95.3-r8.ebuild index ed84acffb015..5d3a2b544486 100644 --- a/sys-devel/gcc/gcc-2.95.3-r8.ebuild +++ b/sys-devel/gcc/gcc-2.95.3-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r8.ebuild,v 1.15 2003/02/13 16:29:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r8.ebuild,v 1.16 2003/02/22 09:02:27 zwelch Exp $ IUSE="static nls bootstrap java build" @@ -55,7 +55,7 @@ SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${P}/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" -KEYWORDS="x86 ~ppc ~sparc ~alpha" +KEYWORDS="x86 ~ppc ~sparc ~alpha arm" # Ok, this is a hairy one again, but lets assume that we # are not cross compiling, than we want SLOT to only contain diff --git a/sys-devel/gcc/gcc-3.2.2.ebuild b/sys-devel/gcc/gcc-3.2.2.ebuild index 2d5caab3e4b5..fb9c89d564e2 100644 --- a/sys-devel/gcc/gcc-3.2.2.ebuild +++ b/sys-devel/gcc/gcc-3.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.2.ebuild,v 1.6 2003/02/22 07:52:32 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.2.2.ebuild,v 1.7 2003/02/22 09:02:27 zwelch Exp $ IUSE="static nls bootstrap java build" @@ -159,6 +159,7 @@ src_unpack() { # Patches from debian-arm if [ "${ARCH}" = "arm" ]; then + epatch ${FILESDIR}/3.2.1/gcc32-arm-disable-mathf.patch epatch ${FILESDIR}/3.2.1/gcc32-arm-reload1-fix.patch fi |