diff options
author | gerald <gerald@FreeBSD.org> | 2010-09-12 10:18:46 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2010-09-12 10:18:46 +0800 |
commit | bbe81f482bbb9b6e4055d553cacdc7b2691abff1 (patch) | |
tree | 73ef71126ae88945778e4f01e14ff1b06b6f8a9f /lang/gcc45 | |
parent | 60ef4b8b1dbee6f2ce33dfba076e2694fedbf4b8 (diff) | |
download | freebsd-ports-gnome-bbe81f482bbb9b6e4055d553cacdc7b2691abff1.tar.gz freebsd-ports-gnome-bbe81f482bbb9b6e4055d553cacdc7b2691abff1.tar.zst freebsd-ports-gnome-bbe81f482bbb9b6e4055d553cacdc7b2691abff1.zip |
Update to the 20100909 snapshot of GCC 4.5.2. With two new local patches
(one a backport of a patch of mine from GCC 4.6 development, the other a
first hack) FreeBSD/ia64 is now back working and ia64 can become part of
ONLY_FOR_ARCHS.
Diffstat (limited to 'lang/gcc45')
-rw-r--r-- | lang/gcc45/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc45/distinfo | 30 | ||||
-rw-r--r-- | lang/gcc45/files/patch-libgcc-ia64 | 20 | ||||
-rw-r--r-- | lang/gcc45/files/patch-unwind-ia64.h | 19 |
4 files changed, 56 insertions, 17 deletions
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index 8043c45d1ece..4661c561280d 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -7,7 +7,7 @@ # PORTNAME= gcc -PORTVERSION= 4.5.2.20100902 +PORTVERSION= 4.5.2.20100909 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} @@ -32,7 +32,7 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu VERSIONSTRING= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX} -ONLY_FOR_ARCHS= amd64 i386 sparc64 +ONLY_FOR_ARCHS= amd64 i386 ia64 sparc64 USE_BISON= build USE_BZIP2= yes USE_GMAKE= yes diff --git a/lang/gcc45/distinfo b/lang/gcc45/distinfo index eb931e04abeb..14079fe5b2ae 100644 --- a/lang/gcc45/distinfo +++ b/lang/gcc45/distinfo @@ -1,18 +1,18 @@ -MD5 (gcc-core-4.5-20100902.tar.bz2) = 48b2a9c66153eb38a9ea7b2e58b084f3 -SHA256 (gcc-core-4.5-20100902.tar.bz2) = 705f3e2b78e7b4cf9d4289659983152f5fb4b702f35cac3207d771cd0da68998 -SIZE (gcc-core-4.5-20100902.tar.bz2) = 24614773 -MD5 (gcc-fortran-4.5-20100902.tar.bz2) = 9527af451c8aebd98e2d4b3dcfcdc036 -SHA256 (gcc-fortran-4.5-20100902.tar.bz2) = 7c77b3507d726ab37248eec982eb0479be93b4bf47c98e2980db0ab51abd485d -SIZE (gcc-fortran-4.5-20100902.tar.bz2) = 1403970 -MD5 (gcc-g++-4.5-20100902.tar.bz2) = 48519349b1c0283f2167ab15598acd82 -SHA256 (gcc-g++-4.5-20100902.tar.bz2) = 5d51905d0466d3a65eff04d23fb89305392b18108dc3c9f7ee387657762d53d6 -SIZE (gcc-g++-4.5-20100902.tar.bz2) = 6448059 -MD5 (gcc-testsuite-4.5-20100902.tar.bz2) = 26072e8d1392260ba3f6890f554819b6 -SHA256 (gcc-testsuite-4.5-20100902.tar.bz2) = 85e6447b3461c3c9d16c0f8f0423bf5e0dfe566ba426a2103f290e95f5733e67 -SIZE (gcc-testsuite-4.5-20100902.tar.bz2) = 5578508 -MD5 (gcc-java-4.5-20100902.tar.bz2) = fe6da198861e745b39911b779194ec7d -SHA256 (gcc-java-4.5-20100902.tar.bz2) = a3c1588f031b679df6f75147754a19e1014629dad6d760b643a9eb60a34d4768 -SIZE (gcc-java-4.5-20100902.tar.bz2) = 18543412 +MD5 (gcc-core-4.5-20100909.tar.bz2) = 8cca31532d3acd3ebd2d7f8af1764e67 +SHA256 (gcc-core-4.5-20100909.tar.bz2) = 4156088875bb0f30dd6f9a96aa43d2122b8a7fa54c6f5e78c71e4eca3acafdff +SIZE (gcc-core-4.5-20100909.tar.bz2) = 24609965 +MD5 (gcc-fortran-4.5-20100909.tar.bz2) = 6844ca9b9d301733a3e91c9357a3574b +SHA256 (gcc-fortran-4.5-20100909.tar.bz2) = 25cef1167d07982c7fa9a44f900b15f35869a485089d66d32914613b20d7607c +SIZE (gcc-fortran-4.5-20100909.tar.bz2) = 1403965 +MD5 (gcc-g++-4.5-20100909.tar.bz2) = db3ada43f267a2ec4f9834a57a6d171e +SHA256 (gcc-g++-4.5-20100909.tar.bz2) = 9ae1f91935e274c177aae458c4a5a5f3cc99da39108c6084583d69604f405fff +SIZE (gcc-g++-4.5-20100909.tar.bz2) = 6449235 +MD5 (gcc-testsuite-4.5-20100909.tar.bz2) = 225b2d4e30ba4118814f1c33ee9aafb3 +SHA256 (gcc-testsuite-4.5-20100909.tar.bz2) = 2314e6628f7f4da78fb6530cf5247f7ad156def24c22bd48fbca14b23122e0fe +SIZE (gcc-testsuite-4.5-20100909.tar.bz2) = 5575907 +MD5 (gcc-java-4.5-20100909.tar.bz2) = 305b17c639a1a631fd98bcc1a1d2f795 +SHA256 (gcc-java-4.5-20100909.tar.bz2) = d3d45fed866c774839cbdcc1c9e97304a4be0f50cba74ad01c4d2f60768ca5f3 +SIZE (gcc-java-4.5-20100909.tar.bz2) = 18543225 MD5 (ecj-4.5.jar) = d7cd6a27c8801e66cbaa964a039ecfdb SHA256 (ecj-4.5.jar) = 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 SIZE (ecj-4.5.jar) = 1470676 diff --git a/lang/gcc45/files/patch-libgcc-ia64 b/lang/gcc45/files/patch-libgcc-ia64 new file mode 100644 index 000000000000..ec3bdf0b806d --- /dev/null +++ b/lang/gcc45/files/patch-libgcc-ia64 @@ -0,0 +1,20 @@ +2010-09-09 Gerald Pfeifer <gerald@pfeifer.com> + Andrew Pinski <pinskia@gmail.com> + + PR target/40959 + * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file. + + +Index: libgcc/config.host +=================================================================== +--- libgcc/config.host (revision 163977) ++++ libgcc/config.host (working copy) +@@ -347,6 +347,8 @@ + tmake_file="ia64/t-ia64" + ;; + ia64*-*-freebsd*) ++ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" ++ tmake_file="ia64/t-ia64" + ;; + ia64*-*-linux*) + extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" diff --git a/lang/gcc45/files/patch-unwind-ia64.h b/lang/gcc45/files/patch-unwind-ia64.h new file mode 100644 index 000000000000..265c82c77042 --- /dev/null +++ b/lang/gcc45/files/patch-unwind-ia64.h @@ -0,0 +1,19 @@ +2010-09-12 Gerald Pfeifer <gerald@pfeifer.com> + + PR target/45650 + * config/ia64/unwind-ia64.h: Do not mark _Unwind_FindTableEntry + hidden on FreeBSD. + +Index: gcc/config/ia64/unwind-ia64.h +=================================================================== +--- gcc/config/ia64/unwind-ia64.h (revision 164211) ++++ gcc/config/ia64/unwind-ia64.h (working copy) +@@ -40,4 +40,7 @@ + extern struct unw_table_entry * + _Unwind_FindTableEntry (void *pc, unsigned long *segment_base, + unsigned long *gp, struct unw_table_entry *ent) +- __attribute__ ((__visibility__ ("hidden"))); ++#ifndef __FreeBSD__ ++ __attribute__ ((__visibility__ ("hidden"))) ++#endif ++ ; |