From 009551a5c93b91f17cc0f8e8bc6fff311cc72277 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 19 May 2008 03:16:03 +0000 Subject: [PATCH] forgot patch, updated changelog --- ...-20080416-fix-sparc-config-detection.patch | 42 +++++++++++++++++++ gcc43.spec | 5 ++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 gcc-4.3.0-20080416-fix-sparc-config-detection.patch diff --git a/gcc-4.3.0-20080416-fix-sparc-config-detection.patch b/gcc-4.3.0-20080416-fix-sparc-config-detection.patch new file mode 100644 index 0000000..a226c16 --- /dev/null +++ b/gcc-4.3.0-20080416-fix-sparc-config-detection.patch @@ -0,0 +1,42 @@ +diff -up gcc-4.3.0-20080416/gcc/config.gcc.BAD gcc-4.3.0-20080416/gcc/config.gcc +--- gcc-4.3.0-20080416/gcc/config.gcc.BAD 2008-04-24 15:42:46.000000000 -0500 ++++ gcc-4.3.0-20080416/gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500 +@@ -2343,7 +2343,7 @@ sparc-*-elf*) + extra_parts="crti.o crtn.o crtbegin.o crtend.o" + use_fixproto=yes + ;; +-sparc-*-linux*) # SPARC's running GNU/Linux, libc6 ++sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6 + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h" + extra_options="${extra_options} sparc/long-double-switch.opt" + tmake_file="${tmake_file} sparc/t-linux sparc/t-crtfm" +@@ -2477,7 +2477,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd* + esac + need_64bit_hwint=yes + ;; +-sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux ++sparc64*-*-linux*) # 64-bit SPARC's running GNU/Linux + tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h" + extra_options="${extra_options} sparc/long-double-switch.opt" + tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm" +diff -up gcc-4.3.0-20080416/libgcc/config.host.BAD gcc-4.3.0-20080416/libgcc/config.host +--- gcc-4.3.0-20080416/libgcc/config.host.BAD 2008-04-24 15:46:19.000000000 -0500 ++++ gcc-4.3.0-20080416/libgcc/config.host 2008-04-24 15:46:49.000000000 -0500 +@@ -572,7 +572,7 @@ sparc64-*-openbsd*) + ;; + sparc-*-elf*) + ;; +-sparc-*-linux*) # SPARC's running GNU/Linux, libc6 ++sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6 + extra_parts="$extra_parts crtfastmath.o" + tmake_file="${tmake_file} sparc/t-crtfm" + ;; +@@ -590,7 +590,7 @@ sparc-wrs-vxworks) + ;; + sparc64-*-freebsd*|ultrasparc-*-freebsd*) + ;; +-sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux ++sparc64*-*-linux*) # 64-bit SPARC's running GNU/Linux + extra_parts="$extra_parts crtfastmath.o" + tmake_file="${tmake_file} sparc/t-crtfm" + ;; diff --git a/gcc43.spec b/gcc43.spec index 2566f65..cbdac30 100644 --- a/gcc43.spec +++ b/gcc43.spec @@ -1,6 +1,6 @@ %define DATE 20080428 %define gcc_version 4.3.0 -%define gcc_release 9 +%define gcc_release 10 %define _unpackaged_files_terminate_build 0 %define multilib_64_archs sparc64 ppc64 s390x x86_64 %define include_gappletviewer 1 @@ -1672,6 +1672,9 @@ fi %doc rpm.doc/changelogs/libmudflap/ChangeLog* %changelog +* Sun May 18 2008 Tom "spot" Callaway 4.3.0-10 +- make sparcv9 the multilib_32_arch for sparc64 + * Sun May 18 2008 Tom "spot" Callaway 4.3.0-9 - sparcv9 support and detection