Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 18:08:38 +0100
From:      Niclas Zeising <zeising@freebsd.org>
To:        toolchain@freebsd.org
Subject:   [CFT] update devel/binutils to 2.24
Message-ID:  <52AB3F16.9080808@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2BLCSLWLJDOWLVGSHVHFB
Content-Type: multipart/mixed;
 boundary="------------050906010800020708030009"

This is a multi-part message in MIME format.
--------------050906010800020708030009
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!
Attached patch updates binutils to 2.24.  Please help me test it,
especially on more exotic architectures.
Regards!
--=20
Niclas Zeising

--------------050906010800020708030009
Content-Type: text/x-patch;
 name="ports.binutils.2.24.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="ports.binutils.2.24.diff"

Index: devel/binutils/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/Makefile	(revision 336105)
+++ devel/binutils/Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
=20
 PORTNAME=3D	binutils
-PORTVERSION=3D	2.23.2
+PORTVERSION=3D	2.24
 CATEGORIES=3D	devel
 MASTER_SITES=3D	${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=3D	binutils/releases
@@ -36,26 +36,6 @@
 			--with-gmp=3D${LOCALBASE} \
 			--with-mpfr=3D${LOCALBASE}
=20
-MAN1=3D		addr2line.1 \
-		ar.1 \
-		as.1 \
-		c++filt.1 \
-		gprof.1 \
-		dlltool.1 \
-		elfedit.1 \
-		ld.1 \
-		nlmconv.1 \
-		nm.1 \
-		objcopy.1 \
-		objdump.1 \
-		ranlib.1 \
-		readelf.1 \
-		size.1 \
-		strings.1 \
-		strip.1 \
-		windmc.1 \
-		windres.1
-
 INFO=3D		as \
 		binutils \
 		standards \
@@ -64,7 +44,6 @@
 		configure \
 		ld
=20
-NO_STAGE=3D	yes
 .include <bsd.port.options.mk>
=20
 # Actual earliest version may differ slightly
@@ -91,11 +70,11 @@
=20
 post-install:
 .if ${OSVERSION} >=3D 900044
-	${INSTALL_DATA} ${WRKSRC}/include/plugin-api.h ${PREFIX}/include/
+	${INSTALL_DATA} ${WRKSRC}/include/plugin-api.h ${STAGEDIR}${PREFIX}/inc=
lude/
 .endif
-	@${FIND} -ds ${PREFIX}/${CONFIGURE_TARGET} ! -type d | \
-		${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} -ds ${PREFIX}/${CONFIGURE_TARGET} -type d | \
-		${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \
+		${SED} -e 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} -type d | \
+		${SED} -e 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
=20
 .include <bsd.port.mk>
Index: devel/binutils/distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/distinfo	(revision 336105)
+++ devel/binutils/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.23.2.tar.bz2) =3D fe914e56fed7a9ec2eb45274b1f2e14b0d8=
b4f41906a5194eac6883cfe5c1097
-SIZE (binutils-2.23.2.tar.bz2) =3D 21440347
+SHA256 (binutils-2.24.tar.bz2) =3D e5e8c5be9664e7f7f96e0d09919110ab5ad59=
7794f5b1809871177a0f0f14137
+SIZE (binutils-2.24.tar.bz2) =3D 22716802
Index: devel/binutils/files/patch-bfd_Makefile.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/files/patch-bfd_Makefile.in	(revision 336105)
+++ devel/binutils/files/patch-bfd_Makefile.in	(working copy)
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- bfd/Makefile.in.orig
-+++ bfd/Makefile.in
-@@ -336,7 +336,6 @@
- @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES =3D libbfd.la
- AM_CFLAGS =3D $(WARN_CFLAGS)
- AM_CPPFLAGS =3D -DBINDIR=3D'"$(bindir)"'
--@PLUGINS_TRUE@LIBDL =3D -ldl
-=20
- # bfd.h goes here, for now
- BFD_H =3D bfd.h
Index: devel/binutils/files/patch-gold_Makefile.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/files/patch-gold_Makefile.in	(revision 336105)
+++ devel/binutils/files/patch-gold_Makefile.in	(working copy)
@@ -1,12 +1,11 @@
-
-$FreeBSD$
-
---- gold/Makefile.in.orig
-+++ gold/Makefile.in
-@@ -368,7 +368,6 @@
- 	@INCINTL@
+--- gold/Makefile.in.orig	2013-11-04 16:33:39.000000000 +0100
++++ gold/Makefile.in	2013-12-13 17:15:03.279391312 +0100
+@@ -419,7 +419,7 @@
+ 	-DTOOLLIBDIR=3D"\"$(tooldir)/lib\"" @INCINTL@
 =20
  LIBIBERTY =3D ../libiberty/libiberty.a
--@PLUGINS_TRUE@LIBDL =3D -ldl
+-@PLUGINS_TRUE@LIBDL =3D @DLOPEN_LIBS@
++@PLUGINS_TRUE@LIBDL =3D ""
  @THREADS_TRUE@THREADSLIB =3D -lpthread
  AM_YFLAGS =3D -d
+=20
Index: devel/binutils/files/patch-gold_gold.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/files/patch-gold_gold.h	(revision 336105)
+++ devel/binutils/files/patch-gold_gold.h	(working copy)
@@ -1,31 +0,0 @@
---- ./gold/gold.h	2013-08-31 12:57:14.000000000 +0100
-+++ ./gold/gold.h	2013-08-31 12:59:04.000000000 +0100
-@@ -65,8 +65,27 @@
- #endif
-=20
- // Figure out how to get a hash set and a hash map.
-+#ifdef __clang__
-+#if __has_include(<unordered_set>)
-+#define HAVE_CXX11_UNORDERED_SET 1
-+#define HAVE_TR1_UNORDERED_SET
-+#define HAVE_TR1_UNORDERED_MAP
-+#endif
-+#endif
-+#if HAVE_CXX11_UNORDERED_SET
-+
-+#include <unordered_set>
-+#include <unordered_map>
-+
-+// We need a template typedef here.
-+
-+#define Unordered_set std::unordered_set
-+#define Unordered_map std::unordered_map
-+#define Unordered_multimap std::unordered_multimap
-+
-+#define reserve_unordered_map(map, n) ((map)->rehash(n))
-=20
--#if defined(HAVE_TR1_UNORDERED_SET) && defined(HAVE_TR1_UNORDERED_MAP) =
\
-+#elif defined(HAVE_TR1_UNORDERED_SET) && defined(HAVE_TR1_UNORDERED_MAP=
) \
-     && defined(HAVE_TR1_UNORDERED_MAP_REHASH)
-=20
- #include <tr1/unordered_set>
Index: devel/binutils/files/patch-src_gas_config_tc-sparc.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/files/patch-src_gas_config_tc-sparc.h	(revision 336105=
)
+++ devel/binutils/files/patch-src_gas_config_tc-sparc.h	(working copy)
@@ -1,16 +0,0 @@
-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-RCS file: gas/config/tc-sparc.h,v
-retrieving revision 1.31
-retrieving revision 1.32
-diff -u -r1.31 -r1.32
---- gas/config/tc-sparc.h	2010/10/22 12:08:29	1.31
-+++ gas/config/tc-sparc.h	2013/03/26 13:49:12	1.32
-@@ -33,7 +33,7 @@
- #define TARGET_ARCH bfd_arch_sparc
-=20
- #ifdef TE_FreeBSD
--#define ELF_TARGET_FORMAT	"elf32-sparc-freebsd"
-+#define ELF_TARGET_FORMAT	"elf32-sparc"
- #define ELF64_TARGET_FORMAT	"elf64-sparc-freebsd"
- #endif
-=20
Index: devel/binutils/pkg-plist
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- devel/binutils/pkg-plist	(revision 336105)
+++ devel/binutils/pkg-plist	(working copy)
@@ -2,6 +2,7 @@
 bin/ar
 bin/as
 bin/c++filt
+bin/dwp
 bin/elfedit
 bin/gprof
 bin/ld
@@ -15,7 +16,6 @@
 bin/size
 bin/strings
 bin/strip
-include/ansidecl.h
 include/bfd.h
 include/bfdlink.h
 include/dis-asm.h
@@ -23,9 +23,27 @@
 include/symcat.h
 lib/libbfd.a
 lib/libbfd.la
-lib/libiberty.a
 lib/libopcodes.a
 lib/libopcodes.la
+man/man1/addr2line.1.gz
+man/man1/ar.1.gz
+man/man1/as.1.gz
+man/man1/c++filt.1.gz
+man/man1/gprof.1.gz
+man/man1/dlltool.1.gz
+man/man1/elfedit.1.gz
+man/man1/ld.1.gz
+man/man1/nlmconv.1.gz
+man/man1/nm.1.gz
+man/man1/objcopy.1.gz
+man/man1/objdump.1.gz
+man/man1/ranlib.1.gz
+man/man1/readelf.1.gz
+man/man1/size.1.gz
+man/man1/strings.1.gz
+man/man1/strip.1.gz
+man/man1/windmc.1.gz
+man/man1/windres.1.gz
 %%NLS%%share/locale/bg/LC_MESSAGES/binutils.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/ld.mo
@@ -60,6 +78,7 @@
 %%NLS%%share/locale/ga/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/ga/LC_MESSAGES/ld.mo
 %%NLS%%share/locale/ga/LC_MESSAGES/opcodes.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/binutils.mo
 %%NLS%%share/locale/id/LC_MESSAGES/gprof.mo
 %%NLS%%share/locale/id/LC_MESSAGES/opcodes.mo
 %%NLS%%share/locale/id/LC_MESSAGES/bfd.mo

--------------050906010800020708030009--

------enig2BLCSLWLJDOWLVGSHVHFB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQIcBAEBCgAGBQJSqz8oAAoJELuNS1e7i1VRnDUQAIW5BYVuatUQ3h5yAfXEaBdU
5CfEDpUltMkSpmc0NW+6EtIpcRL9I4CA6K6xa/k+XHWVxdBNMxAX6mzCfZb9SEJQ
eMeZO+9gKLtxhewOg8FlOVvI4e+doetUsOyo2dU7a4X+mU979xx5EBpoQTBpeKEI
Dqvvb7qU8XsEYEuAfXZb6j1bJeQ4tq9Trbtlpb/E8UIRad2YB911DM86HW6hx5q7
Wtfg355zEkC2dS8cD1vSHfNQg66C+YEbFqf0Q/N3DGEqK5sYph/rzeRWJ+pUOEI7
h2b4Jp0cBjgWwRWqgSP4QD713b/v5Ywp/lNHTtfVgsqVPoCgMxaaYI3J0hcmJeRl
Gk/P4gmeYYMe8peylxUdO6umOC42fHyjioVL9KQs2rEj1yuIxF3Jb563A0k0ARkP
XGlvNUF8WR0sBBAisCA7ZwEsLTIjV2MVclgd7kegUa31g6kSB4ZTk0ZK7GgDE9Os
A+pkc2KN+JFe1BIOEnXPuPgXW/zqpOXyV8vjEBjRMTX80tw/rWCFN/1ykwxiWSf5
p8tkA+l24URpNOUOVQiglywWeDvbRtxcdYmeA8BDDqcjsWE/jDgGffBKh+XggWCX
vdSs//vXw9aqUDHIZ3ddu763lNj/7NuGL1RMt1p74dyk5HTMak8763mN2eXdD239
xwJuGoA76o8WJMh+3fAa
=4zxv
-----END PGP SIGNATURE-----

------enig2BLCSLWLJDOWLVGSHVHFB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AB3F16.9080808>