summaryrefslogtreecommitdiff
path: root/lang/gcc-aux
diff options
context:
space:
mode:
authormarino <marino>2012-10-01 17:26:52 +0000
committermarino <marino>2012-10-01 17:26:52 +0000
commitc233601c64ee324dc45d3cafa8065b48e66aa1bb (patch)
treee47d98fc84a748d3dbaa38b70b1319bf6f6062d4 /lang/gcc-aux
parent7d83d2d43a7025e93a9e70ec0b526f1a1e27b3d4 (diff)
downloadpkgsrc-c233601c64ee324dc45d3cafa8065b48e66aa1bb.tar.gz
lang/gcc-aux 4.7.1: Upgrade to version 4.7.2
The GCC projected released version 4.7.2 on 20 September. There were few diff changes (only core and ada) between it and version 4.7.1, so it's a straightforward update. Release announcement: http://gcc.gnu.org/ml/gcc/2012-09/msg00181.html Notable Excerpts: GCC 4.7.2 is the first bug-fix release containing important fixes for regressions and serious bugs in GCC 4.7.1 with over 70 bugs fixed since the previous release A notable change in GCC 4.7.2 compared to 4.7.1 are ABI bug fixes related to some C++11 templates (std::list and std::pair). As a result, code using those templates in C++11 mode is again ABI compatible with code in C++03/C++98 mode or C++11 mode of GCC 4.6 and earlier, but might be ABI incompatible with code compiled by GCC 4.7.1 or 4.7.0 in C++11 mode.
Diffstat (limited to 'lang/gcc-aux')
-rw-r--r--lang/gcc-aux/Makefile12
-rw-r--r--lang/gcc-aux/distinfo8
-rw-r--r--lang/gcc-aux/files/diff-ada39
-rw-r--r--lang/gcc-aux/files/diff-core49
4 files changed, 61 insertions, 47 deletions
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index 925b20f928a..5d0bfb49ba6 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2012/08/03 08:53:57 marino Exp $
+# $NetBSD: Makefile,v 1.4 2012/10/01 17:26:52 marino Exp $
#
PKGNAME= gcc-aux-${SNAPSHOT}
DISTNAME= gcc-${GCC_VERSION}
-PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_VERSION}/}
DISTFILES= ${DISTNAME}.tar.bz2
@@ -13,9 +12,9 @@ HOMEPAGE= http://www.dragonlace.net/
COMMENT= GNAT Ada compiler based on GCC ${GCC_BRANCH}
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
-SNAPSHOT= 20120614
+SNAPSHOT= 20120920
GCC_BRANCH= 4.7
-GCC_POINT= 1
+GCC_POINT= 2
GCC_VERSION= ${GCC_BRANCH}.${GCC_POINT}
LANGS= c
@@ -328,7 +327,10 @@ test-c:
do-install:
- cd ${BUILDDIR} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} install-strip \
+ # This was install-strip, but a bug in 4.7.x prevents libobjc
+ # from installation. Just install the unstripped version until
+ # it's fixed (Bug filed with GCC: 54720)
+ cd ${BUILDDIR} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE} install \
DESTDIR=${DESTDIR}
diff --git a/lang/gcc-aux/distinfo b/lang/gcc-aux/distinfo
index b051258e026..e3d2de7c674 100644
--- a/lang/gcc-aux/distinfo
+++ b/lang/gcc-aux/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2012/07/08 19:30:38 marino Exp $
+$NetBSD: distinfo,v 1.2 2012/10/01 17:26:52 marino Exp $
-SHA1 (gcc-4.7.1.tar.bz2) = 3ab74e63a8f2120b4f2c5557f5ffec6907337137
-RMD160 (gcc-4.7.1.tar.bz2) = 4b52d867d06288a0b3bb33c845cac0112c22b513
-Size (gcc-4.7.1.tar.bz2) = 82639660 bytes
+SHA1 (gcc-4.7.2.tar.bz2) = a464ba0f26eef24c29bcd1e7489421117fb9ee35
+RMD160 (gcc-4.7.2.tar.bz2) = fc281ade14b47d2a9c2ced4f7082c74bfbae31c1
+Size (gcc-4.7.2.tar.bz2) = 82884636 bytes
SHA1 (gnat-bootstrap.i386.dragonfly.tar.bz2) = d7a8103243a2df3723d9d3c3ec0da9c3bb725214
RMD160 (gnat-bootstrap.i386.dragonfly.tar.bz2) = 9e6fde444e0ed76ee404810af6d6b7eb48659c09
Size (gnat-bootstrap.i386.dragonfly.tar.bz2) = 28205489 bytes
diff --git a/lang/gcc-aux/files/diff-ada b/lang/gcc-aux/files/diff-ada
index cc2bdea0ca8..8f16a5b5bec 100644
--- a/lang/gcc-aux/files/diff-ada
+++ b/lang/gcc-aux/files/diff-ada
@@ -8971,7 +8971,7 @@
EH_MECHANISM=-gcc
THREADSLIB= -lpthread
GMEM_LIB = gmemlib
-@@ -1231,26 +1240,101 @@
+@@ -1231,26 +1240,33 @@
MISCLIB = -lutil
endif
@@ -9008,13 +9008,13 @@
+ EXTRA_GNATRTL_NONTASKING_OBJS=g-sse.o g-ssvety.o
+ EXTRA_GNATRTL_TASKING_OBJS=a-exetim.o
+
-+ EH_MECHANISM=-gcc
-+ THREADSLIB= -lpthread
-+ GMEM_LIB = gmemlib
-+ LIBRARY_VERSION := $(LIB_VERSION)
-+ MISCLIB = -lutil
-+endif
-+
+ EH_MECHANISM=-gcc
+ THREADSLIB= -lpthread
+ GMEM_LIB = gmemlib
+@@ -1258,6 +1274,268 @@
+ MISCLIB = -lutil
+ endif
+
+
+# DRAGONFLY i386
+ifeq ($(strip $(filter-out %86 dragonfly%,$(arch) $(osys))),)
@@ -9076,13 +9076,13 @@
+ EXTRA_GNATRTL_NONTASKING_OBJS=g-sse.o g-ssvety.o
+ EXTRA_GNATRTL_TASKING_OBJS=a-exetim.o
+
- EH_MECHANISM=-gcc
- THREADSLIB= -lpthread
- GMEM_LIB = gmemlib
-@@ -1258,6 +1342,200 @@
- MISCLIB = -lutil
- endif
-
++ EH_MECHANISM=-gcc
++ THREADSLIB= -lpthread
++ GMEM_LIB = gmemlib
++ LIBRARY_VERSION := $(LIB_VERSION)
++ MISCLIB = -lutil
++endif
++
+
+# OPENBSD i386
+ifeq ($(strip $(filter-out %86 openbsd%,$(arch) $(osys))),)
@@ -9280,15 +9280,6 @@
ifeq ($(strip $(filter-out s390% linux%,$(arch) $(osys))),)
LIBGNAT_TARGET_PAIRS_COMMON = \
a-intnam.ads<a-intnam-linux.ads \
-@@ -2597,7 +2875,7 @@
- $(MAKE) $(FLAGS_TO_PASS) \
- GNATLIBFLAGS="$(GNATLIBFLAGS)" \
- GNATLIBCFLAGS="$(GNATLIBCFLAGS) $(PICFLAG_FOR_TARGET)" \
-- GNATLIBCFLAGS_FOR_C="$(GNATLIBCFLAGS_FOR_C)" \
-+ GNATLIBCFLAGS_FOR_C="$(GNATLIBCFLAGS_FOR_C) $(PICFLAG_FOR_TARGET)" \
- MULTISUBDIR="$(MULTISUBDIR)" \
- THREAD_KIND="$(THREAD_KIND)" \
- gnatlib
--- gnattools/configure.orig
+++ gnattools/configure
@@ -2058,7 +2058,27 @@
diff --git a/lang/gcc-aux/files/diff-core b/lang/gcc-aux/files/diff-core
index b5422f86925..996626e4be8 100644
--- a/lang/gcc-aux/files/diff-core
+++ b/lang/gcc-aux/files/diff-core
@@ -4,7 +4,7 @@
+release
--- gcc/config.gcc.orig
+++ gcc/config.gcc
-@@ -573,6 +573,9 @@
+@@ -581,6 +581,9 @@
"" | yes | posix)
thread_file='posix'
;;
@@ -14,7 +14,7 @@
*)
echo 'Unknown thread configuration for FreeBSD'
exit 1
-@@ -589,6 +592,26 @@
+@@ -597,6 +600,26 @@
# need_64bit_hwint=yes # system compiler has this for all arch!
use_gcc_stdint=wrap
;;
@@ -41,7 +41,7 @@
*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
extra_options="$extra_options gnu-user.opt"
gas=yes
-@@ -644,6 +667,7 @@
+@@ -652,6 +675,7 @@
esac
;;
*-*-netbsd*)
@@ -49,7 +49,7 @@
tmake_file="t-slibgcc"
gas=yes
gnu_ld=yes
-@@ -885,7 +909,32 @@
+@@ -893,7 +917,32 @@
tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
tmake_file="arm/t-arm arm/t-arm-elf"
;;
@@ -83,7 +83,7 @@
# The BPABI long long divmod functions return a 128-bit value in
# registers r0-r3. Correctly modeling that requires the use of
# TImode.
-@@ -894,11 +943,6 @@
+@@ -902,11 +951,6 @@
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
tmake_file="arm/t-arm arm/t-arm-elf"
case ${target} in
@@ -95,7 +95,7 @@
arm*-*-rtemseabi*)
tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h"
tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi"
-@@ -1196,19 +1240,31 @@
+@@ -1208,19 +1252,31 @@
x86_64-*-elf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
;;
@@ -129,7 +129,7 @@
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h"
-@@ -3530,6 +3586,8 @@
+@@ -3554,6 +3610,8 @@
;;
i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
;;
@@ -573,20 +573,41 @@
+
--- gcc/config/i386/freebsd.h.orig
+++ gcc/config/i386/freebsd.h
-@@ -102,6 +102,7 @@
+@@ -91,6 +91,12 @@
+ When the -shared link option is used a final link is not being
+ done. */
+
++#if FBSD_MAJOR < 9
++#define ELF_HASH_STYLE ""
++#else
++#define ELF_HASH_STYLE "--hash-style=both "
++#endif
++
+ #undef LINK_SPEC
+ #define LINK_SPEC "\
+ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
+@@ -102,6 +108,7 @@
%{rdynamic:-export-dynamic} \
-dynamic-linker %(fbsd_dynamic_linker) } \
%{static:-Bstatic}} \
-+ %{!static:--hash-style=both -rpath @PREFIX@/gcc-aux/lib} \
++ %{!static:" ELF_HASH_STYLE "-rpath @PREFIX@/gcc-aux/lib} \
%{symbolic:-Bsymbolic}"
/* A C statement to output to the stdio stream FILE an assembler
-@@ -148,3 +149,5 @@
+@@ -148,3 +155,5 @@
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+/* Compile in __enable_execute_stack (void *) (see config.host) */
+#define HAVE_ENABLE_EXECUTE_STACK
+--- gcc/config/i386/freebsd64.h.orig
++++ gcc/config/i386/freebsd64.h
+@@ -41,4 +41,5 @@
+ %{rdynamic:-export-dynamic} \
+ -dynamic-linker %(fbsd_dynamic_linker) } \
+ %{static:-Bstatic}} \
++ %{!static:" ELF_HASH_STYLE "-rpath @PREFIX@/gcc-aux/lib} \
+ %{symbolic:-Bsymbolic}"
--- gcc/config/i386/netbsd-elf.h.orig
+++ gcc/config/i386/netbsd-elf.h
@@ -38,7 +38,8 @@
@@ -761,7 +782,7 @@
tmake_file="${tmake_file} arm/t-bpabi"
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
;;
-@@ -523,16 +537,29 @@
+@@ -526,16 +540,29 @@
x86_64-*-elf*)
tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
;;
@@ -791,7 +812,7 @@
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
;;
-@@ -1160,6 +1187,7 @@
+@@ -1163,6 +1190,7 @@
i[34567]86-*-gnu* | \
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
@@ -1452,7 +1473,7 @@
}
--- gcc/configure.orig
+++ gcc/configure
-@@ -26810,6 +26810,20 @@
+@@ -26856,6 +26856,20 @@
gcc_cv_target_dl_iterate_phdr=no
fi
;;
@@ -1576,7 +1597,7 @@
-rm -f $@
--- configure.orig
+++ configure
-@@ -14412,7 +14412,7 @@
+@@ -14419,7 +14419,7 @@
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5