diff options
author | Fabian Groffen <grobian@gentoo.org> | 2012-02-06 12:15:22 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2012-02-06 12:15:22 +0000 |
commit | b8e9b1eab4ab0ae1bcee9397ad9b5025a8062833 (patch) | |
tree | e5af02469e359171926beecee4a1efc1c8db58d8 /sys-devel/binutils-apple | |
parent | Add nls use flag to pull in translations, fixes bug #402125. (diff) | |
download | historical-b8e9b1eab4ab0ae1bcee9397ad9b5025a8062833.tar.gz historical-b8e9b1eab4ab0ae1bcee9397ad9b5025a8062833.tar.bz2 historical-b8e9b1eab4ab0ae1bcee9397ad9b5025a8062833.zip |
Add patch to treat 32-bits 4GB overflow problem as warning on PowerPC next to ARM and i386.
Package-Manager: portage-2.2.01.20062-prefix/cvs/SunOS i386
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r-- | sys-devel/binutils-apple/ChangeLog | 9 | ||||
-rw-r--r-- | sys-devel/binutils-apple/Manifest | 11 | ||||
-rw-r--r-- | sys-devel/binutils-apple/binutils-apple-4.2.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/binutils-apple/files/ld64-127.2-ppc-range-warning.patch | 16 |
4 files changed, 32 insertions, 9 deletions
diff --git a/sys-devel/binutils-apple/ChangeLog b/sys-devel/binutils-apple/ChangeLog index 3945d99f25f6..267b836402a3 100644 --- a/sys-devel/binutils-apple/ChangeLog +++ b/sys-devel/binutils-apple/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/binutils-apple -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.26 2011/11/08 14:02:59 grobian Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.27 2012/02/06 12:15:22 grobian Exp $ + + 06 Feb 2012; Fabian Groffen <grobian@gentoo.org> + +files/ld64-127.2-ppc-range-warning.patch, binutils-apple-4.2.ebuild: + Add patch to treat 32-bits 4GB overflow problem as warning on PowerPC next to + ARM and i386. 08 Nov 2011; Fabian Groffen <grobian@gentoo.org> binutils-apple-4.2.ebuild: Fix Darwin8 patch version in name diff --git a/sys-devel/binutils-apple/Manifest b/sys-devel/binutils-apple/Manifest index 4cad4931c389..15fc40fa617e 100644 --- a/sys-devel/binutils-apple/Manifest +++ b/sys-devel/binutils-apple/Manifest @@ -27,6 +27,7 @@ AUX ld64-123.2-darwin8-no-mlong-branch-warning.patch 790 RMD160 00f8bdb53843777e AUX ld64-123.2-debug-backtrace.patch 338 RMD160 1b9b8739da7dc70544f413e30c7fc88103af4ecc SHA1 ebfa3b86fe2a9931f5a814c00f697bf6936f76b5 SHA256 26b16aa555bb15dcb6d799785aed0d240e50cbe0a77968a2a4fe92623bd105ab AUX ld64-123.2.1-lto.patch 6387 RMD160 e4ae378f7328875898f03d8b5db59e6f15c2a9ce SHA1 70189a53ddc53c96cdc2f9090f67ad1cb1e9c20e SHA256 5a8c0d0673a48db3cbb08c8234763bdb2149294cebc7707bf394461a73d9ae65 AUX ld64-127.2-lto.patch 5719 RMD160 2117c40625eb11eda2f3065731602c66dee6a935 SHA1 71d0e8fa68894e9c73255c026d5b2d5e6551761e SHA256 20c4b5ffeaa052337220f6276548fbdf16071860c5cdc67b8697a1f41f130155 +AUX ld64-127.2-ppc-range-warning.patch 960 RMD160 563ced3c5b97c7714c540e52feba81d1e32e84ed SHA1 2f27d75a2060857db96d89a7fca1b28f33cb9c16 SHA256 1d99f4704580bd6f38cf205465ec19da09cc0e227167d72c2f595e905a9b0cac AUX ld64-95.2.12-Makefile 728 RMD160 56104bcb07a3845b11cf9034f1051c0ceebf681d SHA1 7549a604ea69ad1ad93b92511a70634033cdbab8 SHA256 3e1181c3dc7aaa8cb5d02cc00fc0f760d052bb2714883833a5aaa2fa3105f88d AUX ld64-95.2.12-darwin8-no-mlong-branch-warning.patch 620 RMD160 cf17f65dda73393a921896b8844493b237dc3307 SHA1 b834e98d61a9ecd70aa99b89b5575a8e32b5b2f7 SHA256 ca0455c78e77f84e7d15e6edf19085b0729a12baf29a89455af84e947f201b1d AUX libunwind-30-Makefile 580 RMD160 2f4d35afd951e6f4543c16ac23eb9a669abfb906 SHA1 11e1d46fb95f87819b0877ceff0ee743fbc8eb82 SHA256 eb080881fc223a326fd08ac65da05c4d939a553a95ca978794caeeafa7780a0e @@ -62,13 +63,13 @@ EBUILD binutils-apple-3.2.3-r2.ebuild 6669 RMD160 8a32c0be4ec8a6e8c89f5c2155fb17 EBUILD binutils-apple-3.2.6.ebuild 6670 RMD160 1a7df67ed733c1a22aca1414e7a2b3f1c1597d9c SHA1 6e5b37a6c5c63c87999f5dd67526cfd8936f44e8 SHA256 241af9c47b9165234672ee61466d4ba21af689cec6ab5e7f606d1f60355b30b8 EBUILD binutils-apple-3.2.ebuild 5913 RMD160 47df8d8d2e207eb95e10359f35c2c5fd152f8938 SHA1 26b56881f56b63bc3f9b25aeae6c814f969f5dfd SHA256 41fb357219cdbb20f16200d05016c1866046f9a351994b738d6e0b7176f3488e EBUILD binutils-apple-4.1.ebuild 7849 RMD160 abfce6b785e701c4f0ed35266af5c4e12403d386 SHA1 9fa50c02c9b2207a5bab89102e375bf6652fc951 SHA256 dc09e922f313e71791aaf0508a4a78d2772f7e0dc99330b97da3921f0dad1abc -EBUILD binutils-apple-4.2.ebuild 7889 RMD160 49b01b3268968a794a6528e848a0bfb83b8768b2 SHA1 637403e6af2ddda8d233e26f3aeafbdabbef4b99 SHA256 9d8e5047c7ae803feea6b3a2ff13cda43f768bae09e6e50363f2b5f058329d1b -MISC ChangeLog 8962 RMD160 fe8844a9af6caeef139e739c7c73fd9ac5ea4b2e SHA1 a12e5781654e6342954b10bf871fc7658d21fea3 SHA256 a762fc7bcb2f08a837d5f6796609bce0e7ddaaa61de49813eba17c96fb64643d +EBUILD binutils-apple-4.2.ebuild 7943 RMD160 2129d7bd1c8e273eba3228d4853210fbfd37774b SHA1 a162ba7f19e195a01dab7b4298e06b2c4c919bc4 SHA256 e8e63c1ce61bde607a3ed806d6f87b6376da06661016c2f97398b92b24f821f3 +MISC ChangeLog 9182 RMD160 845f46512edbdcaa793f4f5c0b52034afe0ae456 SHA1 687e93e13e9980f5072c969ffe21e768632ea59b SHA256 ae4b42f420b3ede3c4d0736dfb9fad028a2d340cf2e4bb096ddc5ae1df8f102e MISC metadata.xml 250 RMD160 1d572689c02f6408ad8dfcfc955f8dfb7ec3a201 SHA1 dbd7759df5303c9dd998023753a3361206bad1e2 SHA256 f783a2767bd8eb2edebc0b1b1391fdcb461dcdb7a7c99dc1b82504c466688e79 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (SunOS) -iEYEARECAAYFAk65NpoACgkQX3X2B8XHToka2ACfTBpudyb6JncgbS3+08YqwrGw -6P4An2RhlSu081stG19doDIrtWpglC+F -=2SjN +iEYEARECAAYFAk8vxGAACgkQX3X2B8XHTokT6gCffJ29VXYRSSXqvwAMX4uMnvpX +3aIAnRLAGs6GaSbe4BKRXqWG43BrdBMS +=hmGd -----END PGP SIGNATURE----- diff --git a/sys-devel/binutils-apple/binutils-apple-4.2.ebuild b/sys-devel/binutils-apple/binutils-apple-4.2.ebuild index 4b98fdcc3491..4a4959299411 100644 --- a/sys-devel/binutils-apple/binutils-apple-4.2.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-4.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild,v 1.3 2011/11/08 14:02:59 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild,v 1.4 2012/02/06 12:15:22 grobian Exp $ EAPI="3" @@ -66,6 +66,7 @@ src_prepare() { cd "${S}"/${LD64}/src cp "${FILESDIR}"/ld64-123.2-Makefile Makefile epatch "${FILESDIR}"/${LD64}-lto.patch + epatch "${FILESDIR}"/${LD64}-ppc-range-warning.patch ln -s ../../${CCTOOLS}/include cp other/prune_trie.h include/mach-o/ || die diff --git a/sys-devel/binutils-apple/files/ld64-127.2-ppc-range-warning.patch b/sys-devel/binutils-apple/files/ld64-127.2-ppc-range-warning.patch new file mode 100644 index 000000000000..c9f850823939 --- /dev/null +++ b/sys-devel/binutils-apple/files/ld64-127.2-ppc-range-warning.patch @@ -0,0 +1,16 @@ +Insipred by the comment here: +http://bugs.freepascal.org/view.php?id=20879 +It looks like the PPC case is missing, hence add this. Without, we get +linker errors for compiling packages like Python and TexLive. + +--- src/ld/OutputFile.cpp ++++ src/ld/OutputFile.cpp +@@ -807,7 +807,7 @@ + // is encoded in mach-o the same as: + // .long _foo + 0x40000000 + // so if _foo lays out to 0xC0000100, the first is ok, but the second is not. +- if ( (_options.architecture() == CPU_TYPE_ARM) || (_options.architecture() == CPU_TYPE_I386) ) { ++ if ( (_options.architecture() == CPU_TYPE_ARM) || (_options.architecture() == CPU_TYPE_I386) || (_options.architecture() == CPU_TYPE_POWERPC) ) { + // Unlikely userland code does funky stuff like this, so warn for them, but not warn for -preload + if ( _options.outputKind() != Options::kPreload ) { + warning("32-bit absolute address out of range (0x%08llX max is 4GB): from %s + 0x%08X (0x%08llX) to 0x%08llX", |