From c263e2ec141f7cf403f31ba66e35383c1fe0d256 Mon Sep 17 00:00:00 2001 From: pascal Date: Mon, 2 Apr 2012 08:51:30 +0000 Subject: [PATCH] Previous commit actually fixed gcc 4.6 on sparc64; just fix one stupid typo. Tested on one of weerd@'s machines (thanks). Also, update TODO. ok espie@ --- lang/gcc/4.6/Makefile | 3 +-- lang/gcc/4.6/TODO | 5 +++-- lang/gcc/4.6/patches/patch-gcc_config_sparc_openbsd64_h | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/gcc/4.6/Makefile b/lang/gcc/4.6/Makefile index 1180a0ff6dc..3ec93555e8c 100644 --- a/lang/gcc/4.6/Makefile +++ b/lang/gcc/4.6/Makefile @@ -1,7 +1,6 @@ -# $OpenBSD: Makefile,v 1.19 2012/03/31 20:02:03 pascal Exp $ +# $OpenBSD: Makefile,v 1.20 2012/04/02 08:51:30 pascal Exp $ ONLY_FOR_ARCHS = amd64 i386 powerpc sparc sparc64 -BROKEN-sparc64 = gengtype looping infinitely V = 4.6.3 FULL_VERSION = $V diff --git a/lang/gcc/4.6/TODO b/lang/gcc/4.6/TODO index e044fb2ed65..6728c66dac2 100644 --- a/lang/gcc/4.6/TODO +++ b/lang/gcc/4.6/TODO @@ -1,3 +1,4 @@ Failures: -- alpha (bootstrap comparison) -- gengtype loops on sparc64 with -O2, fine with -O0 +- alpha (bootstrap comparison opts.o) + +WIP: hppa diff --git a/lang/gcc/4.6/patches/patch-gcc_config_sparc_openbsd64_h b/lang/gcc/4.6/patches/patch-gcc_config_sparc_openbsd64_h index 3be1617a871..462210d22ba 100644 --- a/lang/gcc/4.6/patches/patch-gcc_config_sparc_openbsd64_h +++ b/lang/gcc/4.6/patches/patch-gcc_config_sparc_openbsd64_h @@ -1,6 +1,6 @@ -$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.1 2012/03/31 20:02:03 pascal Exp $ ---- gcc/config/sparc/openbsd64.h.orig Sun Mar 11 19:27:37 2012 -+++ gcc/config/sparc/openbsd64.h Sun Mar 11 19:55:59 2012 +$OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.2 2012/04/02 08:51:30 pascal Exp $ +--- gcc/config/sparc/openbsd64.h.orig Thu Dec 9 17:31:47 2010 ++++ gcc/config/sparc/openbsd64.h Sun Apr 1 17:09:13 2012 @@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see /* XXX - do we really want HARD_QUAD? */ #undef TARGET_DEFAULT @@ -18,7 +18,7 @@ $OpenBSD: patch-gcc_config_sparc_openbsd64_h,v 1.1 2012/03/31 20:02:03 pascal Ex - builtin_define ("__OpenBSD__"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=OpenBSD"); \ -+ OPENBSD_OS_CPP_BUILTINS(); ++ OPENBSD_OS_CPP_BUILTINS(); \ builtin_define ("__sparc64__"); \ builtin_define ("__sparcv9__"); \ builtin_define ("__sparc_v9__"); \