[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, October 14, 2020 @ 16:32:20 Author: jelle Revision: 398330 upgpkg: binutils 2.35.1-1 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-14 15:35:25 UTC (rev 398329) +++ PKGBUILD2020-10-14 16:32:20 UTC (rev 398330) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.35 -pkgrel=2 +pkgver=2.35.1 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -19,7 +19,7 @@ #_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e #source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) -sha256sums=('1b11659fb49e20e18db460d44485f09442c8c56d5df165de9461eb09c8302f85' +sha256sums=('3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607' 'SKIP') validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, September 1, 2020 @ 18:51:42 Author: bpiotrowski Revision: 395105 2.35-2: linux-api-headers 5.8 rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-09-01 18:47:24 UTC (rev 395104) +++ PKGBUILD2020-09-01 18:51:42 UTC (rev 395105) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.35 -pkgrel=1 +pkgrel=2 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Sunday, August 9, 2020 @ 17:07:58 Author: bpiotrowski Revision: 393471 2.35-1 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-09 17:06:07 UTC (rev 393470) +++ PKGBUILD2020-08-09 17:07:58 UTC (rev 393471) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.34 -pkgrel=5 +pkgver=2.35 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -16,10 +16,11 @@ conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) -_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e -source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) -#source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) -sha256sums=('SKIP') +#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e +#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) +source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) +sha256sums=('1b11659fb49e20e18db460d44485f09442c8c56d5df165de9461eb09c8302f85' +'SKIP') validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) prepare() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, May 21, 2020 @ 18:41:57 Author: foutrelis Revision: 387368 upgpkg: binutils 2.34-5: gcc 10.1.0-2 rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-05-21 18:37:59 UTC (rev 387367) +++ PKGBUILD2020-05-21 18:41:57 UTC (rev 387368) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.34 -pkgrel=4 +pkgrel=5 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, May 21, 2020 @ 17:13:12 Author: foutrelis Revision: 387362 upgpkg: binutils 2.34-4: rebase to 2.34 branch; set development=false Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-21 08:37:29 UTC (rev 387361) +++ PKGBUILD2020-05-21 17:13:12 UTC (rev 387362) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.34 -pkgrel=3 +pkgrel=4 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -16,12 +16,11 @@ conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) +_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) #source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) -_commit=a72427b1ae01304da0b5170e1e53f68c6d46c1de - +sha256sums=('SKIP') validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('SKIP') prepare() { [[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb @@ -29,6 +28,9 @@ cd binutils-gdb + # Turn off development mode (-Werror, gas run-time checks, date in sonames) + sed -i '/^development=/s/true/false/' bfd/development.sh + # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Friday, May 8, 2020 @ 14:04:15 Author: bpiotrowski Revision: 382788 2.34-3 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-08 14:03:36 UTC (rev 382787) +++ PKGBUILD2020-05-08 14:04:15 UTC (rev 382788) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.34 -pkgrel=2 +pkgrel=3 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -12,20 +12,22 @@ license=(GPL) groups=(base-devel) depends=(glibc zlib elfutils) -makedepends=('elfutils') +makedepends=(elfutils git) conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) -source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) +source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit) +#source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) +_commit=a72427b1ae01304da0b5170e1e53f68c6d46c1de + validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('664ec3a2df7805ed3464639aaae332d6' - 'SKIP') +md5sums=('SKIP') prepare() { + [[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb mkdir -p binutils-build - #cd binutils-gdb - cd binutils-$pkgver + cd binutils-gdb # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure @@ -34,10 +36,11 @@ build() { cd binutils-build - "$srcdir/binutils-$pkgver/configure" \ + "$srcdir/binutils-gdb/configure" \ --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ +--enable-cet \ --enable-deterministic-archives \ --enable-gold \ --enable-ld=default \
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, March 12, 2020 @ 22:12:24 Author: bpiotrowski Revision: 377448 2.34-2: gcc 9.3.0 rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-12 22:10:06 UTC (rev 377447) +++ PKGBUILD2020-03-12 22:12:24 UTC (rev 377448) @@ -5,14 +5,14 @@ pkgname=binutils pkgver=2.34 -pkgrel=1 +pkgrel=2 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' license=(GPL) groups=(base-devel) -depends=(glibc zlib) -checkdepends=(dejagnu bc) +depends=(glibc zlib elfutils) +makedepends=('elfutils') conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) @@ -49,6 +49,7 @@ --enable-threads \ --disable-gdb \ --disable-werror \ +--with-debuginfod \ --with-pic \ --with-system-zlib
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, February 5, 2020 @ 06:08:07 Author: bpiotrowski Revision: 374612 2.34-1 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-05 05:23:12 UTC (rev 374611) +++ PKGBUILD2020-02-05 06:08:07 UTC (rev 374612) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.33.1 -pkgrel=2 +pkgver=2.34 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -18,7 +18,7 @@ options=(staticlibs !distcc !ccache) source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('9406231b7d9dd93731c2d06cefe8aaf1' +md5sums=('664ec3a2df7805ed3464639aaae332d6' 'SKIP') prepare() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, November 13, 2019 @ 18:05:09 Author: foutrelis Revision: 368434 [core] mass rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-13 17:58:21 UTC (rev 368433) +++ PKGBUILD2019-11-13 18:05:09 UTC (rev 368434) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.33.1 -pkgrel=1 +pkgrel=2 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, October 24, 2019 @ 16:30:35 Author: bpiotrowski Revision: 365433 2.33.1-1 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-24 16:30:27 UTC (rev 365432) +++ PKGBUILD2019-10-24 16:30:35 UTC (rev 365433) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.32 -pkgrel=3 +pkgver=2.33.1 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/' @@ -18,7 +18,7 @@ options=(staticlibs !distcc !ccache) source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('0d174cdaf85721c5723bf52355be41e6' +md5sums=('9406231b7d9dd93731c2d06cefe8aaf1' 'SKIP') prepare() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, September 30, 2019 @ 12:07:35 Author: allan Revision: 363560 toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-09-30 12:07:12 UTC (rev 363559) +++ PKGBUILD2019-09-30 12:07:35 UTC (rev 363560) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.32 -pkgrel=2 +pkgrel=3 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, May 23, 2019 @ 11:02:49 Author: bpiotrowski Revision: 353904 2.32-2 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-05-23 08:49:07 UTC (rev 353903) +++ PKGBUILD2019-05-23 11:02:49 UTC (rev 353904) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.32 -pkgrel=1 +pkgrel=2 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='https://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, May 2, 2019 @ 20:53:52 Author: arojas Revision: 352407 https Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-05-02 20:53:31 UTC (rev 352406) +++ PKGBUILD2019-05-02 20:53:52 UTC (rev 352407) @@ -8,7 +8,7 @@ pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) -url='http://www.gnu.org/software/binutils/' +url='https://www.gnu.org/software/binutils/' license=(GPL) groups=(base-devel) depends=(glibc zlib)
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, February 26, 2019 @ 09:35:30 Author: allan Revision: 346818 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 43 +-- 1 file changed, 5 insertions(+), 38 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-26 09:28:20 UTC (rev 346817) +++ PKGBUILD2019-02-26 09:35:30 UTC (rev 346818) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.31.1 -pkgrel=4 +pkgver=2.32 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='http://www.gnu.org/software/binutils/' @@ -16,27 +16,10 @@ conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) -source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig} -0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch -0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch -0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch -0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch -0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch -0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch -0007-PR23919-Handle-ELF-compressed-header-alignment.patch -0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch -) +source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('5b7c9d4ce96f507d95c1b9a255e52418' - 'SKIP' - 'f2d4f2aee9ec2e25210eb132acdcf1d9' - '496e7e2d71fe558b3b85cdc27fb4638e' - 'dd2284134542efe8e38137f5c829a371' - '5e4aecddbea729fd045d001e8e8db14e' - '02247a5f1c06f8a9ade689b7e68629ce' - '2764b8760bdc8d5c20698202d22b7fcf' - '5db54b24fb9de56d66111f63aea3b809' - '201036d5806b7b037eb53bf796219525') +md5sums=('0d174cdaf85721c5723bf52355be41e6' + 'SKIP') prepare() { mkdir -p binutils-build @@ -44,22 +27,6 @@ #cd binutils-gdb cd binutils-$pkgver - # https://sourceware.org/bugzilla/show_bug.cgi?id=23428 - # https://sourceware.org/bugzilla/show_bug.cgi?id=23486 - patch -Np1 -i ../0001-PR23428-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch - patch -Np1 -i ../0004-PR23486-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED-x86_64.patch - patch -Np1 -i ../0005-PR23486-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch - patch -Np1 -i ../0006-PR23428-x86-Properly-add-X86_ISA_1_NEEDED-property.patch - - # https://sourceware.org/bugzilla/show_bug.cgi?id=23460 - patch -Np1 -i ../0002-PR23460-Close-resource-leaks-in-the-BFD-library-s-plugin-han.patch - patch -Np1 -i ../0003-PR23460-Add-a-testcase-for-PR-binutils-23460.patch - - # FS#61151 - # https://sourceware.org/bugzilla/show_bug.cgi?id=23919 - patch -Np1 -i ../0007-PR23919-Handle-ELF-compressed-header-alignment.patch - patch -Np1 -i ../0008-PR23919-gold-Get-alignment-of-uncompressed-section.patch - # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, August 2, 2018 @ 06:30:06 Author: bpiotrowski Revision: 330457 2.31.1-1 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 30 +- 1 file changed, 5 insertions(+), 25 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-02 06:18:26 UTC (rev 330456) +++ PKGBUILD2018-08-02 06:30:06 UTC (rev 330457) @@ -5,8 +5,8 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.30 -pkgrel=5 +pkgver=2.31.1 +pkgrel=1 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='http://www.gnu.org/software/binutils/' @@ -17,18 +17,10 @@ conflicts=(binutils-multilib) replaces=(binutils-multilib) options=(staticlibs !distcc !ccache) -source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig} -0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch -0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch -0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch -0004-PR22868-Fix-case-where-IR-file-provides-symbol-visibility.patch) +source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}) validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) -md5sums=('ffc476dd46c96f932875d1b2e27e929f' - 'SKIP' - '469164f3c93a0e92a697537b60c9806c' - '0c679b37e90fb23de60a4d28329b956a' - '53b5682e09c0a27e9994c3efdfe01d29' - '0fac94f7fa54a95354454677d3e43994') +md5sums=('5b7c9d4ce96f507d95c1b9a255e52418' + 'SKIP') prepare() { mkdir -p binutils-build @@ -38,18 +30,6 @@ # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - - # https://sourceware.org/bugzilla/show_bug.cgi?id=22741 - patch -p1 -i "$srcdir/0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch" - - # https://sourceware.org/bugzilla/show_bug.cgi?id=22829 - patch -p1 -i "$srcdir/0002-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch" - - # https://sourceware.org/bugzilla/show_bug.cgi?id=22836 - patch -p1 -i "$srcdir/0003-PR22836-r-s-doesnt-work-with-g3-using-GCC-7.patch" - - # https://sourceware.org/bugzilla/show_bug.cgi?id=22868 - patch -p1 -i "$srcdir/0004-PR22868-Fix-case-where-IR-file-provides-symbol-visibility.patch" } build() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, May 2, 2018 @ 20:36:40 Author: bpiotrowski Revision: 323301 2.30-4: rebuild against gcc 8.1.0 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-05-02 20:36:13 UTC (rev 323300) +++ PKGBUILD2018-05-02 20:36:40 UTC (rev 323301) @@ -6,7 +6,7 @@ pkgname=binutils pkgver=2.30 -pkgrel=3 +pkgrel=4 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='http://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, December 27, 2017 @ 09:07:34 Author: bpiotrowski Revision: 313687 2.29.1-2: rebuild against linux-api-headers 4.14.8 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-12-27 09:07:01 UTC (rev 313686) +++ PKGBUILD2017-12-27 09:07:34 UTC (rev 313687) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.29.1 -pkgrel=1 +pkgrel=2 pkgdesc='A set of programs to assemble and manipulate binary and object files' arch=(x86_64) url='http://www.gnu.org/software/binutils/'
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, August 17, 2017 @ 10:44:51 Author: bpiotrowski Revision: 302328 2.29.0-1: new upstream release Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 47 +++ 1 file changed, 23 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-08-17 09:28:59 UTC (rev 302327) +++ PKGBUILD2017-08-17 10:44:51 UTC (rev 302328) @@ -4,36 +4,36 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.28.0 -pkgrel=4 -_commit=09e514a92b6bb7c910051a7fafc9fded8a687848 -pkgdesc="A set of programs to assemble and manipulate binary and object files" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/binutils/; -license=('GPL') +pkgver=2.29.0 +pkgrel=1 +_commit=dd9a28c0966d13924fbd1096a724ae334954d830 +pkgdesc='A set of programs to assemble and manipulate binary and object files' +arch=(i686 x86_64) +url='http://www.gnu.org/software/binutils/' +license=(GPL) groups=('base-devel') -depends=('glibc>=2.25' 'zlib') -makedepends=('git') -checkdepends=('dejagnu' 'bc') -conflicts=('binutils-multilib') -replaces=('binutils-multilib') -options=('staticlibs' '!distcc' '!ccache') +depends=('glibc>=2.26' zlib) +makedepends=(git) +checkdepends=(dejagnu bc) +conflicts=(binutils-multilib) +replaces=(binutils-multilib) +options=(staticlibs !distcc !ccache) source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}) md5sums=('SKIP') prepare() { + mkdir -p binutils-build + cd binutils-gdb # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - - mkdir ${srcdir}/binutils-build } build() { cd binutils-build - ../binutils-gdb/configure \ + "$srcdir/binutils-gdb/configure" \ --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ @@ -46,11 +46,10 @@ --enable-deterministic-archives \ --with-pic \ --disable-werror \ ---disable-gdb +--disable-gdb \ +--with-system-zlib - # check the host environment and makes sure all the necessary tools are available make configure-host - make tooldir=/usr } @@ -64,13 +63,13 @@ package() { cd binutils-build - make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install + make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install # Remove unwanted files - rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* + rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* # No shared linking to these files outside binutils - rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so - echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so - echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so + rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so + echo "INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir/usr/lib/libbfd.so" + echo "INPUT( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir/usr/lib/libopcodes.so" }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, July 10, 2017 @ 09:45:17 Author: bpiotrowski Revision: 300015 upgpkg: binutils 2.28.0-4 enable RELRO by default Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-07-10 08:01:27 UTC (rev 300014) +++ PKGBUILD2017-07-10 09:45:17 UTC (rev 300015) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.28.0 -pkgrel=3 +pkgrel=4 _commit=09e514a92b6bb7c910051a7fafc9fded8a687848 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') @@ -42,6 +42,7 @@ --enable-ld=default \ --enable-gold \ --enable-plugins \ +--enable-relro \ --enable-deterministic-archives \ --with-pic \ --disable-werror \
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-e9c1bdad.patch)
Date: Wednesday, May 10, 2017 @ 13:44:03 Author: bpiotrowski Revision: 295542 upgpkg: binutils 2.28.0-3 rebuild against gcc 7.1 Modified: binutils/trunk/PKGBUILD Deleted: binutils/trunk/binutils-e9c1bdad.patch -+ PKGBUILD|4 +- binutils-e9c1bdad.patch | 78 -- 2 files changed, 2 insertions(+), 80 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-05-10 13:43:29 UTC (rev 295541) +++ PKGBUILD2017-05-10 13:44:03 UTC (rev 295542) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.28.0 -pkgrel=2 -_commit=a7b47925683a22c9819c23cb18b99bd74014d066 +pkgrel=3 +_commit=09e514a92b6bb7c910051a7fafc9fded8a687848 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/; Deleted: binutils-e9c1bdad.patch === --- binutils-e9c1bdad.patch 2017-05-10 13:43:29 UTC (rev 295541) +++ binutils-e9c1bdad.patch 2017-05-10 13:44:03 UTC (rev 295542) @@ -1,78 +0,0 @@ -diff --git a/gold/layout.cc b/gold/layout.cc -index bcdaac8..7836640 100644 a/gold/layout.cc -+++ b/gold/layout.cc -@@ -4873,7 +4873,8 @@ Layout::finish_dynamic_section(const Input_objects* input_objects, - flags |= elfcpp::DF_STATIC_TLS; - if (parameters->options().origin()) - flags |= elfcpp::DF_ORIGIN; -- if (parameters->options().Bsymbolic()) -+ if (parameters->options().Bsymbolic() -+ && !parameters->options().have_dynamic_list()) - { - flags |= elfcpp::DF_SYMBOLIC; - // Add DT_SYMBOLIC for compatibility with older loaders. -diff --git a/gold/options.cc b/gold/options.cc -index 7eb8f27..7f1f69e 100644 a/gold/options.cc -+++ b/gold/options.cc -@@ -1200,13 +1200,6 @@ General_options::finalize() - // in the path, as appropriate. - this->add_sysroot(); - -- // --dynamic-list overrides -Bsymbolic and -Bsymbolic-functions. -- if (this->have_dynamic_list()) --{ -- this->set_Bsymbolic(false); -- this->set_Bsymbolic_functions(false); --} -- - // Now that we've normalized the options, check for contradictory ones. - if (this->shared() && this->is_static()) - gold_fatal(_("-shared and -static are incompatible")); -diff --git a/gold/symtab.h b/gold/symtab.h -index aa0cb68..9413360 100644 a/gold/symtab.h -+++ b/gold/symtab.h -@@ -604,10 +604,8 @@ class Symbol - if (parameters->options().in_dynamic_list(this->name())) - return true; - --// If the user used -Bsymbolic or provided a --dynamic-list script, --// then nothing (else) is preemptible. --if (parameters->options().Bsymbolic() --|| parameters->options().have_dynamic_list()) -+// If the user used -Bsymbolic, then nothing (else) is preemptible. -+if (parameters->options().Bsymbolic()) - return false; - - // If the user used -Bsymbolic-functions, then functions are not -diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am -index f767c21..7b73f9d 100644 a/gold/testsuite/Makefile.am -+++ b/gold/testsuite/Makefile.am -@@ -1518,7 +1518,7 @@ dynamic_list_lib1.o: dynamic_list_lib1.cc - $(CXXCOMPILE) -c -fpic -o $@ $< - - dynamic_list_lib2.so: gcctestdir/ld dynamic_list_lib2.o $(srcdir)/dynamic_list_2.t -- $(CXXLINK) -Bgcctestdir/ -shared -Wl,--dynamic-list,$(srcdir)/dynamic_list_2.t dynamic_list_lib2.o -+ $(CXXLINK) -Bgcctestdir/ -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list,$(srcdir)/dynamic_list_2.t dynamic_list_lib2.o - dynamic_list_lib2.o: dynamic_list_lib2.cc - $(CXXCOMPILE) -c -fpic -o $@ $< - -diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in -index 217e472..b4ae3fd 100644 a/gold/testsuite/Makefile.in -+++ b/gold/testsuite/Makefile.in -@@ -5319,7 +5319,7 @@ uninstall-am: - @GCC_TRUE@@NATIVE_LINKER_TRUE@$(CXXCOMPILE) -c -fpic -o $@ $< - - @GCC_TRUE@@NATIVE_LINKER_TRUE@dynamic_list_lib2.so: gcctestdir/ld dynamic_list_lib2.o $(srcdir)/dynamic_list_2.t --@GCC_TRUE@@NATIVE_LINKER_TRUE@$(CXXLINK) -Bgcctestdir/ -shared -Wl,--dynamic-list,$(srcdir)/dynamic_list_2.t dynamic_list_lib2.o -+@GCC_TRUE@@NATIVE_LINKER_TRUE@$(CXXLINK) -Bgcctestdir/ -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list,$(srcdir)/dynamic_list_2.t dynamic_list_lib2.o - @GCC_TRUE@@NATIVE_LINKER_TRUE@dynamic_list_lib2.o: dynamic_list_lib2.cc - @GCC_TRUE@@NATIVE_LINKER_TRUE@$(CXXCOMPILE) -c -fpic -o $@ $< - --- -1.9.4 -
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, March 22, 2017 @ 08:21:37 Author: anatolik Revision: 291201 upgpkg: binutils 2.28.0-2 Restore PIC compilation flag Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-03-22 07:44:48 UTC (rev 291200) +++ PKGBUILD2017-03-22 08:21:37 UTC (rev 291201) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.28.0 -pkgrel=1 +pkgrel=2 _commit=a7b47925683a22c9819c23cb18b99bd74014d066 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, March 22, 2017 @ 07:44:48 Author: allan Revision: 291200 patch bump, reenable PIC Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-22 05:36:48 UTC (rev 291199) +++ PKGBUILD2017-03-22 07:44:48 UTC (rev 291200) @@ -4,9 +4,9 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.28 +pkgver=2.28.0 pkgrel=1 -_commit=7fa393306ed8b93019d225548474c0540b8928f7 +_commit=a7b47925683a22c9819c23cb18b99bd74014d066 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/; @@ -43,6 +43,7 @@ --enable-gold \ --enable-plugins \ --enable-deterministic-archives \ +--with-pic \ --disable-werror \ --disable-gdb
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, March 6, 2017 @ 05:55:55 Author: allan Revision: 290039 prepare update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |1 - 1 file changed, 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-03-06 05:53:59 UTC (rev 290038) +++ PKGBUILD2017-03-06 05:55:55 UTC (rev 290039) @@ -39,7 +39,6 @@ --with-bugurl=https://bugs.archlinux.org/ \ --enable-threads \ --enable-shared \ ---with-pic \ --enable-ld=default \ --enable-gold \ --enable-plugins \
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, March 6, 2017 @ 05:53:59 Author: allan Revision: 290038 prepare update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-06 05:48:14 UTC (rev 290037) +++ PKGBUILD2017-03-06 05:53:59 UTC (rev 290038) @@ -4,21 +4,21 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.27 -pkgrel=1.90 -_commit=2870b1ba +pkgver=2.28 +pkgrel=1 +_commit=7fa393306ed8b93019d225548474c0540b8928f7 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc>=2.24' 'zlib') +depends=('glibc>=2.25' 'zlib') makedepends=('git') checkdepends=('dejagnu' 'bc') conflicts=('binutils-multilib') replaces=('binutils-multilib') options=('staticlibs' '!distcc' '!ccache') -source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit}) +source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}) md5sums=('SKIP') prepare() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, October 31, 2016 @ 12:39:07 Author: allan Revision: 279527 prepare PIE enabled toolchain Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-10-31 12:21:41 UTC (rev 279526) +++ PKGBUILD2016-10-31 12:39:07 UTC (rev 279527) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.27 -pkgrel=1 +pkgrel=1.90 _commit=2870b1ba pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') @@ -33,13 +33,19 @@ build() { cd binutils-build - ../binutils-gdb/configure --prefix=/usr \ + ../binutils-gdb/configure \ +--prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ ---enable-threads --enable-shared --with-pic \ ---enable-ld=default --enable-gold --enable-plugins \ +--enable-threads \ +--enable-shared \ +--with-pic \ +--enable-ld=default \ +--enable-gold \ +--enable-plugins \ --enable-deterministic-archives \ ---disable-werror --disable-gdb +--disable-werror \ +--disable-gdb # check the host environment and makes sure all the necessary tools are available make configure-host
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, August 6, 2016 @ 03:15:12 Author: allan Revision: 273377 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-05 23:25:49 UTC (rev 273376) +++ PKGBUILD2016-08-06 03:15:12 UTC (rev 273377) @@ -4,9 +4,9 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.26.1 -pkgrel=2 -_commit=c29838e7 +pkgver=2.27 +pkgrel=1 +_commit=2870b1ba pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, August 2, 2016 @ 05:16:49 Author: allan Revision: 272799 prepare glibc-2.24 toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-02 05:14:41 UTC (rev 272798) +++ PKGBUILD2016-08-02 05:16:49 UTC (rev 272799) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.26.1 -pkgrel=1 +pkgrel=2 _commit=c29838e7 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ url="http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc>=2.23' 'zlib') +depends=('glibc>=2.24' 'zlib') makedepends=('git') checkdepends=('dejagnu' 'bc') conflicts=('binutils-multilib')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Sunday, July 3, 2016 @ 13:00:40 Author: allan Revision: 270887 upgpkg: binutils 2.26.1-1 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-03 12:39:57 UTC (rev 270886) +++ PKGBUILD2016-07-03 13:00:40 UTC (rev 270887) @@ -4,9 +4,9 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=binutils -pkgver=2.26 -pkgrel=4 -_commit=43e2c3de +pkgver=2.26.1 +pkgrel=1 +_commit=c29838e7 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.install)
Date: Monday, May 2, 2016 @ 04:21:21 Author: allan Revision: 266740 prepare gcc-6 toolchain update, bump to latest commit on release branch, remove install scriptlet Modified: binutils/trunk/PKGBUILD Deleted: binutils/trunk/binutils.install --+ PKGBUILD |5 ++--- binutils.install | 17 - 2 files changed, 2 insertions(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-05-02 02:20:41 UTC (rev 266739) +++ PKGBUILD2016-05-02 02:21:21 UTC (rev 266740) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.26 -pkgrel=3 -_commit=71090e7a +pkgrel=4 +_commit=43e2c3de pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/; @@ -18,7 +18,6 @@ conflicts=('binutils-multilib') replaces=('binutils-multilib') options=('staticlibs' '!distcc' '!ccache') -install=binutils.install source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit}) md5sums=('SKIP') Deleted: binutils.install === --- binutils.install2016-05-02 02:20:41 UTC (rev 266739) +++ binutils.install2016-05-02 02:21:21 UTC (rev 266740) @@ -1,17 +0,0 @@ -infodir=usr/share/info -filelist=(as.info bfd.info binutils.info gprof.info ld.info) - -post_upgrade() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do -install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do -install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} -
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, March 2, 2016 @ 05:14:02 Author: allan Revision: 260500 upgpkg: binutils 2.26-3 new upstream snapshot, fixes binutils part of FS#48394 Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-02 03:33:14 UTC (rev 260499) +++ PKGBUILD2016-03-02 04:14:02 UTC (rev 260500) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.26 -pkgrel=2 -_commit=a4496709 +pkgrel=3 +_commit=71090e7a pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, February 24, 2016 @ 01:29:07 Author: allan Revision: 260208 upgpkg: binutils 2.26-2 fix linker scripts Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-24 00:01:09 UTC (rev 260207) +++ PKGBUILD2016-02-24 00:29:07 UTC (rev 260208) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.26 -pkgrel=1 +pkgrel=2 _commit=a4496709 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64') @@ -65,6 +65,6 @@ # No shared linking to these files outside binutils rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so - echo "INPUT ( %{_libdir}/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so - echo "INPUT ( %{_libdir}/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so + echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so + echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, August 12, 2015 @ 10:21:21 Author: allan Revision: 243226 upgpkg: binutils 2.25.1-3 build with --enable-deterministic-archives for reproducibility Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-08-12 08:20:53 UTC (rev 243225) +++ PKGBUILD2015-08-12 08:21:21 UTC (rev 243226) @@ -7,7 +7,7 @@ pkgname=binutils pkgver=2.25.1 -pkgrel=2 +pkgrel=3 _commit=2bd25930 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -46,6 +46,7 @@ --with-bugurl=https://bugs.archlinux.org/ \ --enable-threads --enable-shared --with-pic \ --enable-ld=default --enable-gold --enable-plugins \ +--enable-deterministic-archives \ --disable-werror --disable-gdb # check the host environment and makes sure all the necessary tools are available
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, August 6, 2015 @ 07:01:11 Author: allan Revision: 243067 upgpkg: binutils 2.25.1-2 glibc 2.22 toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-08-06 04:49:49 UTC (rev 243066) +++ PKGBUILD2015-08-06 05:01:11 UTC (rev 243067) @@ -7,7 +7,7 @@ pkgname=binutils pkgver=2.25.1 -pkgrel=1 +pkgrel=2 _commit=2bd25930 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.20' 'zlib') +depends=('glibc=2.22' 'zlib') makedepends=('git') checkdepends=('dejagnu' 'bc') conflicts=('binutils-multilib')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, July 22, 2015 @ 15:34:02 Author: allan Revision: 242430 upgpkg: binutils 2.25.1-1 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-07-22 10:54:01 UTC (rev 242429) +++ PKGBUILD2015-07-22 13:34:02 UTC (rev 242430) @@ -6,9 +6,9 @@ # build from head of release branch as bug fix releases are rare pkgname=binutils -pkgver=2.25 -pkgrel=5 -_commit=69352378 +pkgver=2.25.1 +pkgrel=1 +_commit=2bd25930 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, July 22, 2015 @ 06:11:16 Author: allan Revision: 242417 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-07-22 03:34:20 UTC (rev 242416) +++ PKGBUILD2015-07-22 04:11:16 UTC (rev 242417) @@ -6,9 +6,9 @@ # build from head of release branch as bug fix releases are rare pkgname=binutils -pkgver=2.25 -pkgrel=5 -_commit=69352378 +pkgver=2.25.1 +pkgrel=1 +_commit=2bd25930 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, July 22, 2015 @ 07:43:44 Author: allan Revision: 242420 revert update while I figure out where testsuite failures came from Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-07-22 04:28:19 UTC (rev 242419) +++ PKGBUILD2015-07-22 05:43:44 UTC (rev 242420) @@ -6,9 +6,9 @@ # build from head of release branch as bug fix releases are rare pkgname=binutils -pkgver=2.25.1 -pkgrel=1 -_commit=2bd25930 +pkgver=2.25 +pkgrel=5 +_commit=69352378 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/;
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-e9c1bdad.patch)
Date: Saturday, May 9, 2015 @ 23:40:39 Author: allan Revision: 238775 upgpkg: binutils 2.25-5 use git to build from release branch as bug fix releases are rare, pull patch to fix qt issues with gcc-5 Added: binutils/trunk/binutils-e9c1bdad.patch Modified: binutils/trunk/PKGBUILD -+ PKGBUILD| 27 --- binutils-e9c1bdad.patch | 78 ++ 2 files changed, 93 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-05-09 21:17:54 UTC (rev 238774) +++ PKGBUILD2015-05-09 21:40:39 UTC (rev 238775) @@ -3,10 +3,12 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc +# build from head of release branch as bug fix releases are rare + pkgname=binutils pkgver=2.25 -pkgrel=4 -_commit=c42c779b +pkgrel=5 +_commit=69352378 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -13,22 +15,23 @@ license=('GPL') groups=('base-devel') depends=('glibc=2.20' 'zlib') +makedepends=('git') checkdepends=('dejagnu' 'bc') conflicts=('binutils-multilib') replaces=('binutils-multilib') options=('staticlibs' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} - binutils-${pkgver}-roundup-${_commit}.patch::https://sourceware.org/git/gitweb.cgi\?p=binutils-gdb.git\;a=commitdiff_plain\;h=${_commit}\;hp=binutils-2_25) -md5sums=('d9f3303f802a5b6b0bb73a335ab89d66' - 'SKIP' - '3df8fd5d9dd7cc67413d3816c7584297') -validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') # Tristan Gingold +source=(git://sourceware.org/git/binutils-gdb.git#commit=${_commit} +binutils-e9c1bdad.patch) +md5sums=('SKIP' + 'eb3aceaab8ed26e06d505f82beb30f8f') prepare() { - cd ${srcdir}/binutils-${pkgver} - patch -p1 -i $srcdir/binutils-${pkgver}-roundup-${_commit}.patch + cd ${srcdir}/binutils-gdb + # https://sourceware.org/bugzilla/show_bug.cgi?id=16992 + patch -p1 -i ${srcdir}/binutils-e9c1bdad.patch + # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure @@ -38,12 +41,12 @@ build() { cd ${srcdir}/binutils-build - ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ + ${srcdir}/binutils-gdb/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ --enable-threads --enable-shared --with-pic \ --enable-ld=default --enable-gold --enable-plugins \ ---disable-werror +--disable-werror --disable-gdb # check the host environment and makes sure all the necessary tools are available make configure-host Added: binutils-e9c1bdad.patch === --- binutils-e9c1bdad.patch (rev 0) +++ binutils-e9c1bdad.patch 2015-05-09 21:40:39 UTC (rev 238775) @@ -0,0 +1,78 @@ +diff --git a/gold/layout.cc b/gold/layout.cc +index bcdaac8..7836640 100644 +--- a/gold/layout.cc b/gold/layout.cc +@@ -4873,7 +4873,8 @@ Layout::finish_dynamic_section(const Input_objects* input_objects, + flags |= elfcpp::DF_STATIC_TLS; + if (parameters-options().origin()) + flags |= elfcpp::DF_ORIGIN; +- if (parameters-options().Bsymbolic()) ++ if (parameters-options().Bsymbolic() ++ !parameters-options().have_dynamic_list()) + { + flags |= elfcpp::DF_SYMBOLIC; + // Add DT_SYMBOLIC for compatibility with older loaders. +diff --git a/gold/options.cc b/gold/options.cc +index 7eb8f27..7f1f69e 100644 +--- a/gold/options.cc b/gold/options.cc +@@ -1200,13 +1200,6 @@ General_options::finalize() + // in the path, as appropriate. + this-add_sysroot(); + +- // --dynamic-list overrides -Bsymbolic and -Bsymbolic-functions. +- if (this-have_dynamic_list()) +-{ +- this-set_Bsymbolic(false); +- this-set_Bsymbolic_functions(false); +-} +- + // Now that we've normalized the options, check for contradictory ones. + if (this-shared() this-is_static()) + gold_fatal(_(-shared and -static are incompatible)); +diff --git a/gold/symtab.h b/gold/symtab.h +index aa0cb68..9413360 100644 +--- a/gold/symtab.h b/gold/symtab.h +@@ -604,10 +604,8 @@ class Symbol + if (parameters-options().in_dynamic_list(this-name())) + return true; + +-// If the user used -Bsymbolic or provided a --dynamic-list script, +-// then nothing (else) is preemptible. +-if (parameters-options().Bsymbolic() +-|| parameters-options().have_dynamic_list()) ++// If the user used -Bsymbolic, then nothing (else) is preemptible. ++if (parameters-options().Bsymbolic()) + return false; + + // If the user used
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.25-roundup.patch)
Date: Thursday, April 23, 2015 @ 13:55:17 Author: allan Revision: 237957 upgpkg: binutils 2.25-4 gcc-5.1 toolchain rebuild, pull patch from upstream gitweb Modified: binutils/trunk/PKGBUILD Deleted: binutils/trunk/binutils-2.25-roundup.patch --+ PKGBUILD | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-04-23 11:08:54 UTC (rev 237956) +++ PKGBUILD2015-04-23 11:55:17 UTC (rev 237957) @@ -5,7 +5,8 @@ pkgname=binutils pkgver=2.25 -pkgrel=3 +pkgrel=4 +_commit=c42c779b pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -18,18 +19,16 @@ options=('staticlibs' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} -binutils-${pkgver}-roundup.patch) + binutils-${pkgver}-roundup-${_commit}.patch::https://sourceware.org/git/gitweb.cgi\?p=binutils-gdb.git\;a=commitdiff_plain\;h=${_commit}\;hp=binutils-2_25) md5sums=('d9f3303f802a5b6b0bb73a335ab89d66' 'SKIP' - 'd41d8cd98f00b204e9800998ecf8427e') + '3df8fd5d9dd7cc67413d3816c7584297') validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') # Tristan Gingold prepare() { cd ${srcdir}/binutils-${pkgver} + patch -p1 -i $srcdir/binutils-${pkgver}-roundup-${_commit}.patch - # binutils-2_25..c42c779b - patch -p1 -i $srcdir/binutils-${pkgver}-roundup.patch - # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure Deleted: binutils-2.25-roundup.patch ===
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.25-roundup.patch)
Date: Thursday, April 23, 2015 @ 07:24:44 Author: allan Revision: 237949 upgpkg: binutils 2.25-3 gcc-5.1 toolchain rebuild, pull fixes from release branch Modified: binutils/trunk/PKGBUILD binutils/trunk/binutils-2.25-roundup.patch -+ PKGBUILD|6 binutils-2.25-roundup.patch | 1660 -- 2 files changed, 3 insertions(+), 1663 deletions(-) The diff is longer than the limit of 200KB. Use svn diff -r 237948:237949 to see the changes.
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.25-roundup.patch)
Date: Saturday, February 7, 2015 @ 11:31:24 Author: allan Revision: 231098 upgpkg: binutils 2.25-2 glibc-2.21 toolchain rebuild, pull patchset from upstream branch Added: binutils/trunk/binutils-2.25-roundup.patch Modified: binutils/trunk/PKGBUILD -+ PKGBUILD| 11 binutils-2.25-roundup.patch | 1660 ++ 2 files changed, 1668 insertions(+), 3 deletions(-) The diff is longer than the limit of 200KB. Use svn diff -r 231097:231098 to see the changes.
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.24-lto-testsuite.patch)
Date: Tuesday, July 8, 2014 @ 07:36:25 Author: allan Revision: 216628 fix last testsuite issue Modified: binutils/trunk/PKGBUILD binutils/trunk/binutils-2.24-lto-testsuite.patch ---+ PKGBUILD |7 +++ binutils-2.24-lto-testsuite.patch | 29 +++-- 2 files changed, 30 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-07-08 05:35:17 UTC (rev 216627) +++ PKGBUILD2014-07-08 05:36:25 UTC (rev 216628) @@ -22,7 +22,7 @@ binutils-2.24-shared-pie.patch) md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' 'SKIP' - 'b16e895c24ff80acd98a21021eccefad' + 'e68a1f221545f082baa5bd417cd077af' 'ec59461c4febab9cfe1c1ef33326bc50') validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') @@ -32,7 +32,7 @@ # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure - # fix lto testsuite with gcc-4.9 - commit b35d44f1 + # fix lto testsuite with gcc-4.9 - commits b35d44f1 and 37a6ac44 patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch # fix issues with -static -fPIE -pie - commit 4199e3b8 @@ -61,8 +61,7 @@ cd ${srcdir}/binutils-build # unset LDFLAGS as testsuite makes assumptions about which ones are active - # do not abort on errors - manually check log files - make LDFLAGS= -k check || true + make LDFLAGS= check } package() { Modified: binutils-2.24-lto-testsuite.patch === --- binutils-2.24-lto-testsuite.patch 2014-07-08 05:35:17 UTC (rev 216627) +++ binutils-2.24-lto-testsuite.patch 2014-07-08 05:36:25 UTC (rev 216628) @@ -48,6 +48,31 @@ if { [lindex $status 0] == 0 } { set lto_available_saved 1 } else { --- -1.7.1 +diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp +index b14f13c..765d85f 100644 +--- a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp +@@ -324,7 +324,20 @@ if { [is_elf_format] [check_lto_shared_available] } { + + set testname Build liblto-11.a + remote_file host delete tmpdir/liblto-11.a +-set catch_output [run_host_cmd $ar rc tmpdir/liblto-11.a tmpdir/lto-11a.o tmpdir/lto-11b.o tmpdir/lto-11c.o] ++set plugin_names { ++liblto_plugin.so ++liblto_plugin-0.dll ++cyglto_plugin-0.dll ++} ++set plug_opt ++foreach plug $plugin_names { ++set plug_so [run_host_cmd $CC --print-prog-name $plug] ++if { $plug_so ne $plug } then { ++ set plug_opt --plugin $plug_so ++ break ++} ++} ++set catch_output [run_host_cmd $ar rc $plug_opt tmpdir/liblto-11.a tmpdir/lto-11a.o tmpdir/lto-11b.o tmpdir/lto-11c.o] + if {![string match $catch_output]} { + unresolved $testname + restore_notify +
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, June 4, 2014 @ 15:55:30 Author: allan Revision: 214249 upgpkg: binutils 2.24-5 fix libraries to be PIC Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-06-04 13:52:35 UTC (rev 214248) +++ PKGBUILD2014-06-04 13:55:30 UTC (rev 214249) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.24 -pkgrel=4 +pkgrel=5 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -24,6 +24,7 @@ 'SKIP' 'b16e895c24ff80acd98a21021eccefad' '4d2cf591560c3d25265778146bbe1941') +validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') prepare() { cd ${srcdir}/binutils-${pkgver} @@ -46,7 +47,7 @@ ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ ---enable-threads --enable-shared \ +--enable-threads --enable-shared --with-pic \ --enable-ld=default --enable-gold --enable-plugins \ --disable-werror
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.24-static-pie-hang.patch)
Date: Friday, May 16, 2014 @ 13:03:03 Author: allan Revision: 212881 upgpkg: binutils 2.24-4 fix autoconf hangs with -static -fPIE -pie Added: binutils/trunk/binutils-2.24-static-pie-hang.patch Modified: binutils/trunk/PKGBUILD -+ PKGBUILD| 11 +++- binutils-2.24-static-pie-hang.patch | 78 ++ 2 files changed, 86 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-16 10:08:08 UTC (rev 212880) +++ PKGBUILD2014-05-16 11:03:03 UTC (rev 212881) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.24 -pkgrel=3 +pkgrel=4 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -18,10 +18,12 @@ options=('staticlibs' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} -binutils-2.24-lto-testsuite.patch) +binutils-2.24-lto-testsuite.patch +binutils-2.24-static-pie-hang.patch) md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' 'SKIP' - 'b16e895c24ff80acd98a21021eccefad') + 'b16e895c24ff80acd98a21021eccefad' + '4d2cf591560c3d25265778146bbe1941') prepare() { cd ${srcdir}/binutils-${pkgver} @@ -32,6 +34,9 @@ # fix lto testsuite with gcc-4.9 - commit b35d44f1 patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch + # fix autoconf hang with -static -fPIE -pie - commits d1ec1e40 and 818d220a + patch -p1 -i $srcdir/binutils-2.24-static-pie-hang.patch + mkdir ${srcdir}/binutils-build } Added: binutils-2.24-static-pie-hang.patch === --- binutils-2.24-static-pie-hang.patch (rev 0) +++ binutils-2.24-static-pie-hang.patch 2014-05-16 11:03:03 UTC (rev 212881) @@ -0,0 +1,78 @@ +diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c +index 4d391e1..d7f59e5 100644 +--- a/bfd/elf32-i386.c b/bfd/elf32-i386.c +@@ -2368,8 +2368,13 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf) + + for (pp = eh-dyn_relocs; (p = *pp) != NULL; ) + { +-p-count -= p-pc_count; +-p-pc_count = 0; ++/* Don't update reloc count if there are any non ++ pc-relative relocs. */ ++if (!h-pointer_equality_needed) ++ { ++p-count -= p-pc_count; ++p-pc_count = 0; ++ } + if (p-count == 0) + *pp = p-next; + else +diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +index edee8ec..999011b 100644 +--- a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +@@ -2463,8 +2463,13 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) + + for (pp = eh-dyn_relocs; (p = *pp) != NULL; ) + { +-p-count -= p-pc_count; +-p-pc_count = 0; ++/* Don't update reloc count if there are any non ++ pc-relative relocs. */ ++if (!h-pointer_equality_needed) ++ { ++p-count -= p-pc_count; ++p-pc_count = 0; ++ } + if (p-count == 0) + *pp = p-next; + else +diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c +index 4d391e1..e834a5a 100644 +--- a/bfd/elf32-i386.c b/bfd/elf32-i386.c +@@ -2390,9 +2390,12 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf) + } + + /* Also discard relocs on undefined weak syms with non-default +- visibility. */ ++ visibility. Don't discard relocs against __ehdr_start which ++ will be defined by assign_file_positions_for_non_load_sections ++ later. */ + if (eh-dyn_relocs != NULL +- h-root.type == bfd_link_hash_undefweak) ++ h-root.type == bfd_link_hash_undefweak ++ strcmp (h-root.root.string, __ehdr_start) != 0) + { + if (ELF_ST_VISIBILITY (h-other) != STV_DEFAULT) + eh-dyn_relocs = NULL; +diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +index edee8ec..f364fe4 100644 +--- a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +@@ -2473,9 +2473,12 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) + } + + /* Also discard relocs on undefined weak syms with non-default +- visibility. */ ++ visibility. Don't discard relocs against __ehdr_start which ++ will be defined by assign_file_positions_for_non_load_sections ++ later. */ + if (eh-dyn_relocs != NULL +- h-root.type == bfd_link_hash_undefweak) ++ h-root.type == bfd_link_hash_undefweak ++ strcmp (h-root.root.string, __ehdr_start) != 0) + { + if (ELF_ST_VISIBILITY (h-other) != STV_DEFAULT) +
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.24-lto-testsuite.patch)
Date: Wednesday, April 23, 2014 @ 04:14:53 Author: allan Revision: 211669 upgpkg: binutils 2.24-3 gcc-4.9 toolchain build, apply patch for all but one LTO testsuite failure with gcc-4.9 Added: binutils/trunk/binutils-2.24-lto-testsuite.patch Modified: binutils/trunk/PKGBUILD ---+ PKGBUILD | 11 +-- binutils-2.24-lto-testsuite.patch | 53 2 files changed, 61 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-04-23 02:10:58 UTC (rev 211668) +++ PKGBUILD2014-04-23 02:14:53 UTC (rev 211669) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.24 -pkgrel=2 +pkgrel=3 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -17,9 +17,11 @@ replaces=('binutils-multilib') options=('staticlibs' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} +binutils-2.24-lto-testsuite.patch) md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' - 'SKIP') + 'SKIP' + 'b16e895c24ff80acd98a21021eccefad') prepare() { cd ${srcdir}/binutils-${pkgver} @@ -27,6 +29,9 @@ # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure + # fix lto testsuite with gcc-4.9 - commit b35d44f1 + patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch + mkdir ${srcdir}/binutils-build } Added: binutils-2.24-lto-testsuite.patch === --- binutils-2.24-lto-testsuite.patch (rev 0) +++ binutils-2.24-lto-testsuite.patch 2014-04-23 02:14:53 UTC (rev 211669) @@ -0,0 +1,53 @@ +index c5249f0..69946de 100644 +--- a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp +@@ -57,7 +57,7 @@ set lto_link_tests { + -O2 +{lto-3c.c} {} libdummy.a} + {Build liblto-3.a +--flto ++-flto -ffat-lto-objects +{lto-3b.c} {} liblto-3.a} + {Build libdummy.a 5a + -flto +@@ -111,7 +111,7 @@ set lto_link_tests { + +{pr12758a.s} {} libdummy.a} + {Build libpr12758.a +--flto -O2 ++-flto -O2 -ffat-lto-objects +{pr12758b.c} {} libpr12758.a} + {PR ld/12758 +-O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12758a.o -Wl,--start-group tmpdir/libpr12758.a -Wl,--end-group +@@ -120,13 +120,13 @@ set lto_link_tests { + +{pr12760a.c} {} libdummy.a} + {Build libpr12760.a +--flto -O2 ++-flto -O2 -ffat-lto-objects +{pr12760b.c} {} libpr12760.a} + {PR ld/12760 +-O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12760a.o -Wl,--start-group tmpdir/libpr12760.a -Wl,--end-group +{dummy.c} {} pr12760.exe c warning: Bad bar} + {Build libpr13183.a +- -T -flto -O2 ++ -T -flto -O2 -ffat-lto-objects +{pr13183a.c} {} libpr13183.a} + {Build libdummy.a PR ld/13183 + -flto -O2 +diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp +index 8df42ae..175449a 100644 +--- a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp +@@ -1643,7 +1643,7 @@ proc check_lto_available { } { + set f [open $src w] + puts $f + close $f +- set status [remote_exec host $CC -shared -B[pwd]/tmpdir/ld/ -flto -fuse-linker-plugin $src -o $output] ++ set status [remote_exec host $CC -shared -B[pwd]/tmpdir/ld/ -flto -ffat-lto-objects -fuse-linker-plugin $src -o $output] + if { [lindex $status 0] == 0 } { + set lto_available_saved 1 + } else { +-- +1.7.1 +
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Friday, February 7, 2014 @ 23:40:19 Author: allan Revision: 205571 upgpkg: binutils 2.24-2 glibc-2.19 rebuild, remove useless configure flag, conflicts/replaces binutils-multilib as the packages are the same Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-02-07 22:38:14 UTC (rev 205570) +++ PKGBUILD2014-02-07 22:40:19 UTC (rev 205571) @@ -5,14 +5,16 @@ pkgname=binutils pkgver=2.24 -pkgrel=1 +pkgrel=2 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.18' 'zlib') +depends=('glibc=2.19' 'zlib') checkdepends=('dejagnu' 'bc') +conflicts=('binutils-multilib') +replaces=('binutils-multilib') options=('staticlibs' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) @@ -36,7 +38,7 @@ --with-bugurl=https://bugs.archlinux.org/ \ --enable-threads --enable-shared \ --enable-ld=default --enable-gold --enable-plugins \ ---disable-werror --disable-multilib +--disable-werror # check the host environment and makes sure all the necessary tools are available make configure-host
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, December 11, 2013 @ 15:13:53 Author: allan Revision: 201429 upgpkg: binutils 2.24-1 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-12-11 14:06:32 UTC (rev 201428) +++ PKGBUILD2013-12-11 14:13:53 UTC (rev 201429) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.23.2 -pkgrel=3 +pkgver=2.24 +pkgrel=1 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -15,19 +15,13 @@ checkdepends=('dejagnu' 'bc') options=('staticlibs' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} -binutils-2.23.2-texinfo-5.0.patch) -md5sums=('4f8fa651e35ef262edc01d60fb45702e' - 'dfde4428f08d91f309cdcfe92bf28d08' - '34e439ce23213a91e2af872dfbb5094c') +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) +md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' + 'SKIP') prepare() { cd ${srcdir}/binutils-${pkgver} - # http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935 - # http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542 - patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch - # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure @@ -40,9 +34,8 @@ ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ ---enable-ld=default --enable-gold \ ---enable-plugins --enable-threads \ ---with-pic --enable-shared \ +--enable-threads --enable-shared \ +--enable-ld=default --enable-gold --enable-plugins \ --disable-werror --disable-multilib # check the host environment and makes sure all the necessary tools are available @@ -62,14 +55,7 @@ package() { cd ${srcdir}/binutils-build make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install - - # Add some useful headers - install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h ${pkgdir}/usr/include - install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h ${pkgdir}/usr/include - # Install PIC libiberty.a - install -m644 libiberty/pic/libiberty.a ${pkgdir}/usr/lib - # Remove unwanted files rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* rm ${pkgdir}/usr/share/info/{configure,standards}.info
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Sunday, October 20, 2013 @ 14:03:13 Author: allan Revision: 196833 keep staticlibs - libraries should be linked statically outside binutils Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-10-20 12:03:13 UTC (rev 196832) +++ PKGBUILD2013-10-20 12:03:13 UTC (rev 196833) @@ -13,7 +13,7 @@ groups=('base-devel') depends=('glibc=2.18' 'zlib') checkdepends=('dejagnu' 'bc') -options=('!libtool' '!distcc' '!ccache') +options=('staticlibs' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} binutils-2.23.2-texinfo-5.0.patch)
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, August 13, 2013 @ 12:51:09 Author: allan Revision: 192507 upgpkg: binutils 2.23.2-3 glibc-2.18 toolchain build Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-13 10:50:25 UTC (rev 192506) +++ PKGBUILD2013-08-13 10:51:09 UTC (rev 192507) @@ -5,13 +5,13 @@ pkgname=binutils pkgver=2.23.2 -pkgrel=2 +pkgrel=3 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.17' 'zlib') +depends=('glibc=2.18' 'zlib') checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, April 10, 2013 @ 09:34:20 Author: allan Revision: 182407 fix build issue with CPPFLAGS Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-04-10 07:33:05 UTC (rev 182406) +++ PKGBUILD2013-04-10 07:34:20 UTC (rev 182407) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.23.2 -pkgrel=1 +pkgrel=2 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -21,16 +21,22 @@ 'dfde4428f08d91f309cdcfe92bf28d08' '34e439ce23213a91e2af872dfbb5094c') -build() { +prepare() { cd ${srcdir}/binutils-${pkgver} # http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935 # http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542 patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch - cd ${srcdir} - mkdir binutils-build cd binutils-build + # hack! - libiberty configure tests for header files using $CPP $CPPFLAGS + sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ libiberty/configure + mkdir ${srcdir}/binutils-build +} + +build() { + cd ${srcdir}/binutils-build + ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, March 27, 2013 @ 12:17:24 Author: allan Revision: 180859 gcc-4.8 rebuild, upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-27 11:12:12 UTC (rev 180858) +++ PKGBUILD2013-03-27 11:17:24 UTC (rev 180859) @@ -4,8 +4,8 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.23.1 -pkgrel=3 +pkgver=2.23.2 +pkgrel=1 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -16,8 +16,8 @@ options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) -md5sums=('33adb18c3048d057ac58d07a3f1adb38' - '1869b37216e7d7eff7e335a69e0882fd') +md5sums=('4f8fa651e35ef262edc01d60fb45702e' + 'dfde4428f08d91f309cdcfe92bf28d08') build() { cd ${srcdir}
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.23.2-texinfo-5.0.patch)
Date: Wednesday, March 27, 2013 @ 13:36:17 Author: allan Revision: 180860 fix build with texinfo-5.0 Added: binutils/trunk/binutils-2.23.2-texinfo-5.0.patch Modified: binutils/trunk/PKGBUILD ---+ PKGBUILD | 12 ++ binutils-2.23.2-texinfo-5.0.patch | 162 2 files changed, 172 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-27 11:17:24 UTC (rev 180859) +++ PKGBUILD2013-03-27 12:36:17 UTC (rev 180860) @@ -15,11 +15,19 @@ checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} +binutils-2.23.2-texinfo-5.0.patch) md5sums=('4f8fa651e35ef262edc01d60fb45702e' - 'dfde4428f08d91f309cdcfe92bf28d08') + 'dfde4428f08d91f309cdcfe92bf28d08' + '34e439ce23213a91e2af872dfbb5094c') build() { + cd ${srcdir}/binutils-${pkgver} + + # http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935 + # http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542 + patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch + cd ${srcdir} mkdir binutils-build cd binutils-build Added: binutils-2.23.2-texinfo-5.0.patch === --- binutils-2.23.2-texinfo-5.0.patch (rev 0) +++ binutils-2.23.2-texinfo-5.0.patch 2013-03-27 12:36:17 UTC (rev 180860) @@ -0,0 +1,162 @@ +diff --git a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo +index 45ffa73..3aa3300 100644 +--- a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo +@@ -322,7 +324,7 @@ All of BFD lives in one directory. + @printindex cp + + @tex +-% I think something like @colophon should be in texinfo. In the ++% I think something like @@colophon should be in texinfo. In the + % meantime: + \long\def\colophon{\hbox to0pt{}\vfill + \centerline{The body of this manual is set in} +@@ -333,7 +335,7 @@ All of BFD lives in one directory. + \centerline{{\sl\fontname\tensl\/}} + \centerline{are used for emphasis.}\vfill} + \page\colophon +-% Blame: d...@cygnus.com, 28mar91. ++% Blame: doc@@cygnus.com, 28mar91. + @end tex + + @bye +diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi +index 56a0510..fb1802b 100644 +--- a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi +@@ -148,18 +148,18 @@ in the section entitled ``GNU Free Documentation License''. + * objcopy:: Copy and translate object files + * objdump:: Display information from object files + * ranlib:: Generate index to archive contents +-* readelf:: Display the contents of ELF format files + * size::List section sizes and total size + * strings:: List printable strings from files + * strip:: Discard symbols +-* elfedit:: Update the ELF header of ELF files + * c++filt:: Filter to demangle encoded C++ symbols + * cxxfilt: c++filt. MS-DOS name for c++filt + * addr2line:: Convert addresses to file and line + * nlmconv:: Converts object code into an NLM +-* windres:: Manipulate Windows resources + * windmc::Generator for Windows message resources ++* windres:: Manipulate Windows resources + * dlltool:: Create files needed to build and use DLLs ++* readelf:: Display the contents of ELF format files ++* elfedit:: Update the ELF header of ELF files + * Common Options:: Command-line options for all utilities + * Selecting the Target System:: How these utilities determine the target + * Reporting Bugs:: Reporting Bugs +@@ -2907,7 +2907,7 @@ the Info entries for @file{binutils}. + @c man end + @end ignore + +-@node c++filt, addr2line, elfedit, Top ++@node c++filt, addr2line, strip, Top + @chapter c++filt + + @kindex c++filt +@@ -4384,7 +4384,7 @@ equivalent. At least one of the @option{--output-mach}, + + @table @env + +-@itemx --input-mach=@var{machine} ++@item --input-mach=@var{machine} + Set the matching input ELF machine type to @var{machine}. If + @option{--input-mach} isn't specified, it will match any ELF + machine types. +@@ -4392,21 +4392,21 @@ machine types. + The supported ELF machine types are, @var{L1OM}, @var{K1OM} and + @var{x86-64}. + +-@itemx --output-mach=@var{machine} ++@item --output-mach=@var{machine} + Change the ELF machine type in the ELF header to @var{machine}. The + supported ELF machine types are the same as @option{--input-mach}. + +-@itemx --input-type=@var{type} ++@item --input-type=@var{type} + Set
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, February 2, 2013 @ 06:53:32 Author: allan Revision: 176891 remove pkgdir usage in build function Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-02-02 05:53:10 UTC (rev 176890) +++ PKGBUILD2013-02-02 05:53:32 UTC (rev 176891) @@ -34,7 +34,7 @@ # check the host environment and makes sure all the necessary tools are available make configure-host - make tooldir=${pkgdir}/usr + make tooldir=/usr } check() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, January 3, 2013 @ 07:23:29 Author: allan Revision: 174260 simplify the PKGBUILD a lot - use --with-pic rather than selectively rebuilding with -fPIC, remove -fvisibility=hidden from libbfd because it hides too much, do not provide linker scripts for fake shared linking Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-01-03 12:21:25 UTC (rev 174259) +++ PKGBUILD2013-01-03 12:23:29 UTC (rev 174260) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.23.1 -pkgrel=2 +pkgrel=3 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -27,29 +27,14 @@ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ --enable-ld=default --enable-gold \ ---enable-plugins --enable-threads --enable-shared \ +--enable-plugins --enable-threads \ +--with-pic --enable-shared \ --disable-werror --disable-multilib # check the host environment and makes sure all the necessary tools are available make configure-host make tooldir=${pkgdir}/usr - - # Rebuild libiberty.a with -fPIC - cp -a libiberty libiberty-pic - make -C libiberty-pic clean - make CFLAGS=$CFLAGS -fPIC -C libiberty-pic - - # Rebuild libbfd.a with -fPIC - # hidden visability prevent 3rd party shared libraries exporting bfd non-stable API - cp -a bfd bfd-pic - make -C bfd-pic clean - make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd-pic - - # Rebuild libopcodes.a with -fPIC - cp -a opcodes opcodes-pic - make -C opcodes-pic clean - make CFLAGS=$CFLAGS -fPIC -C opcodes-pic } check() { @@ -68,20 +53,13 @@ install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h ${pkgdir}/usr/include install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h ${pkgdir}/usr/include - # install libraries rebuilt with -fPIC - install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib - install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib - install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib + # Install PIC libiberty.a + install -m644 libiberty/pic/libiberty.a ${pkgdir}/usr/lib - # Remove Windows/Novell specific man pages + # Remove unwanted files rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* - - # why are these distributed with binutils? rm ${pkgdir}/usr/share/info/{configure,standards}.info - # Remove these symlinks, they are not ABI stable. - # Programs should compile static to the .a file. + # No shared linking to these files outside binutils rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so - echo INPUT ( /usr/lib/libbfd.a -liberty -lz ) ${pkgdir}/usr/lib/libbfd.so - echo INPUT ( /usr/lib/libopcodes.a -lbfd ) ${pkgdir}/usr/lib/libopcodes.so }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, December 26, 2012 @ 06:22:49 Author: allan Revision: 173867 upgpkg: binutils 2.23.1-2 glibc-2.17 toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-12-26 11:04:58 UTC (rev 173866) +++ PKGBUILD2012-12-26 11:22:49 UTC (rev 173867) @@ -5,13 +5,13 @@ pkgname=binutils pkgver=2.23.1 -pkgrel=1 +pkgrel=2 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.16' 'zlib') +depends=('glibc=2.17' 'zlib') checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.install)
Date: Tuesday, November 13, 2012 @ 19:05:24 Author: allan Revision: 170945 upgpkg: binutils 2.23.1-1 upstream update Modified: binutils/trunk/PKGBUILD binutils/trunk/binutils.install --+ PKGBUILD | 11 +++ binutils.install |2 +- 2 files changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-11-13 21:15:54 UTC (rev 170944) +++ PKGBUILD2012-11-14 00:05:24 UTC (rev 170945) @@ -4,7 +4,7 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.23 +pkgver=2.23.1 pkgrel=1 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -15,9 +15,9 @@ checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz{,.sig}) -md5sums=('ed58f50d8920c3f1d9cb110d5c972c27' - '5293d43d444852f71f7c96c6295ba66d') +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) +md5sums=('33adb18c3048d057ac58d07a3f1adb38' + '1869b37216e7d7eff7e335a69e0882fd') build() { cd ${srcdir} @@ -76,6 +76,9 @@ # Remove Windows/Novell specific man pages rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* + # why are these distributed with binutils? + rm ${pkgdir}/usr/share/info/{configure,standards}.info + # Remove these symlinks, they are not ABI stable. # Programs should compile static to the .a file. rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so Modified: binutils.install === --- binutils.install2012-11-13 21:15:54 UTC (rev 170944) +++ binutils.install2012-11-14 00:05:24 UTC (rev 170945) @@ -1,5 +1,5 @@ infodir=usr/share/info -filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info) +filelist=(as.info bfd.info binutils.info gprof.info ld.info) post_upgrade() { [ -x usr/bin/install-info ] || return 0
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, October 27, 2012 @ 02:49:32 Author: allan Revision: 169720 bz2 removed from upstream server... Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-10-27 03:13:09 UTC (rev 169719) +++ PKGBUILD2012-10-27 06:49:32 UTC (rev 169720) @@ -15,9 +15,9 @@ checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) -md5sums=('6e6c85eb4468501051ae209c9e2a7ecc' - '46ca898c6c7ab8f35c676a965c7ce804') +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz{,.sig}) +md5sums=('ed58f50d8920c3f1d9cb110d5c972c27' + '5293d43d444852f71f7c96c6295ba66d') build() { cd ${srcdir}
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, October 24, 2012 @ 03:44:55 Author: allan Revision: 169600 upstream update, use released sources rather than vcs snapshots, tidy configure options, minimise test-suite failures Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-10-24 07:18:13 UTC (rev 169599) +++ PKGBUILD2012-10-24 07:44:55 UTC (rev 169600) @@ -12,7 +12,7 @@ license=('GPL') groups=('base-devel') depends=('glibc=2.16' 'zlib') -checkdepends=('dejagnu') +checkdepends=('dejagnu' 'bc') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) @@ -23,13 +23,12 @@ cd ${srcdir} mkdir binutils-build cd binutils-build - [[ $CARCH == x86_64 ]] CONFIGFLAG=--enable-64-bit-bfd --disable-multilib - ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ +--with-bugurl=https://bugs.archlinux.org/ \ --enable-ld=default --enable-gold \ ---enable-plugins --enable-threads \ ---enable-shared $CONFIGFLAG +--enable-plugins --enable-threads --enable-shared \ +--disable-werror --disable-multilib # check the host environment and makes sure all the necessary tools are available make configure-host @@ -55,11 +54,10 @@ check() { cd ${srcdir}/binutils-build - + + # unset LDFLAGS as testsuite makes assumptions about which ones are active # do not abort on errors - manually check log files - # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror) - make CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/} \ - CXXFLAGS=${CXXFLAGS/-D_FORTIFY_SOURCE=2/} -k check || true + make LDFLAGS= -k check || true } package() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, October 23, 2012 @ 18:54:21 Author: allan Revision: 169585 upstream update, use released sources rather than vcs snapshots Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-10-23 22:53:07 UTC (rev 169584) +++ PKGBUILD2012-10-23 22:54:21 UTC (rev 169585) @@ -4,9 +4,8 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.22 -pkgrel=10 -_date=20120323 +pkgver=2.23 +pkgrel=1 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -16,26 +15,17 @@ checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('de2ac4298732827f8af706fc24020330') +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}) +md5sums=('6e6c85eb4468501051ae209c9e2a7ecc' + '46ca898c6c7ab8f35c676a965c7ce804') -mksource() { - mkdir ${pkgname}-${_date} - cd ${pkgname}-${_date} - export _TAG=binutils-2_22-branch - export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src' - cvs -z9 co -r $_TAG binutils || return 1 - mv src binutils - tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/* -} - build() { cd ${srcdir} mkdir binutils-build cd binutils-build [[ $CARCH == x86_64 ]] CONFIGFLAG=--enable-64-bit-bfd --disable-multilib - ${srcdir}/binutils/configure --prefix=/usr \ + ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --enable-ld=default --enable-gold \ --enable-plugins --enable-threads \ @@ -77,8 +67,8 @@ make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install # Add some useful headers - install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include - install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include + install -m644 ${srcdir}/binutils-${pkgver}/include/libiberty.h ${pkgdir}/usr/include + install -m644 ${srcdir}/binutils-${pkgver}/include/demangle.h ${pkgdir}/usr/include # install libraries rebuilt with -fPIC install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib @@ -86,11 +76,11 @@ install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib # Remove Windows/Novell specific man pages - rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* + rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* # Remove these symlinks, they are not ABI stable. # Programs should compile static to the .a file. - rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so + rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so echo INPUT ( /usr/lib/libbfd.a -liberty -lz ) ${pkgdir}/usr/lib/libbfd.so echo INPUT ( /usr/lib/libopcodes.a -lbfd ) ${pkgdir}/usr/lib/libopcodes.so }
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, August 11, 2012 @ 04:22:39 Author: allan Revision: 165119 upgpkg: binutils 2.22-10 linux-api-header-3.5 toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-08-11 08:22:01 UTC (rev 165118) +++ PKGBUILD2012-08-11 08:22:39 UTC (rev 165119) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.22 -pkgrel=9 +pkgrel=10 _date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, July 11, 2012 @ 08:23:36 Author: allan Revision: 163226 upgpkg: binutils 2.22-9 remove /lib and /lib64 from default search path Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-07-11 10:08:56 UTC (rev 163225) +++ PKGBUILD2012-07-11 12:23:36 UTC (rev 163226) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.22 -pkgrel=8 +pkgrel=9 _date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -36,6 +36,7 @@ [[ $CARCH == x86_64 ]] CONFIGFLAG=--enable-64-bit-bfd --disable-multilib ${srcdir}/binutils/configure --prefix=/usr \ +--with-lib-path=/usr/lib:/usr/local/lib \ --enable-ld=default --enable-gold \ --enable-plugins --enable-threads \ --enable-shared $CONFIGFLAG
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, July 2, 2012 @ 09:30:13 Author: allan Revision: 162861 upgpkg: binutils 2.22-8 glibc-2.16 toolchain rebuild, fix gold testsuite running Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-07-02 13:12:42 UTC (rev 162860) +++ PKGBUILD2012-07-02 13:30:13 UTC (rev 162861) @@ -5,14 +5,14 @@ pkgname=binutils pkgver=2.22 -pkgrel=7 +pkgrel=8 _date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.15' 'zlib') +depends=('glibc=2.16' 'zlib') checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install @@ -66,7 +66,9 @@ cd ${srcdir}/binutils-build # do not abort on errors - manually check log files - make -k -j1 check || true + # gold testsuite does not build with _FORTIFY_SOURCE (due to -O0 -Werror) + make CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/} \ + CXXFLAGS=${CXXFLAGS/-D_FORTIFY_SOURCE=2/} -k check || true } package() {
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.22-ld-13621.patch)
Date: Wednesday, May 2, 2012 @ 09:52:00 Author: allan Revision: 158074 upgpkg: binutils 2.22-7 remove patch that causes kernel issues on i686 Modified: binutils/trunk/PKGBUILD Deleted: binutils/trunk/binutils-2.22-ld-13621.patch --+ PKGBUILD | 12 +++- binutils-2.22-ld-13621.patch | 27 --- 2 files changed, 3 insertions(+), 36 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-05-02 12:16:04 UTC (rev 158073) +++ PKGBUILD2012-05-02 13:52:00 UTC (rev 158074) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.22 -pkgrel=6 +pkgrel=7 _date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -16,10 +16,8 @@ checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 -binutils-2.22-ld-13621.patch) -md5sums=('de2ac4298732827f8af706fc24020330' - '86d9445914c9d51bfe575ecbac265be0') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) +md5sums=('de2ac4298732827f8af706fc24020330') mksource() { mkdir ${pkgname}-${_date} @@ -32,10 +30,6 @@ } build() { - cd ${srcdir}/binutils - # http://sourceware.org/bugzilla/show_bug.cgi?id=13621 - patch -p1 -i $srcdir/binutils-2.22-ld-13621.patch - cd ${srcdir} mkdir binutils-build cd binutils-build Deleted: binutils-2.22-ld-13621.patch === --- binutils-2.22-ld-13621.patch2012-05-02 12:16:04 UTC (rev 158073) +++ binutils-2.22-ld-13621.patch2012-05-02 13:52:00 UTC (rev 158074) @@ -1,27 +0,0 @@ -diff --git a/bfd/linker.c b/bfd/linker.c -index c51c5df..0404474 100644 a/bfd/linker.c -+++ b/bfd/linker.c -@@ -3208,6 +3208,12 @@ fix_syms (struct bfd_link_hash_entry *h, void *data) - op = op1; - } - -+/* Refuse to choose a section for which we are out of bounds. */ -+/* ??? This may make most of the above moot. */ -+if (h-u.def.value op-vma -+|| h-u.def.value op-vma + op-size) -+ op = bfd_abs_section_ptr; -+ - h-u.def.value -= op-vma; - h-u.def.section = op; - } -index 95b7ef4..a9c05f9 100644 a/ld/testsuite/ld-elf/warn2.d -+++ b/ld/testsuite/ld-elf/warn2.d -@@ -13,5 +13,5 @@ - # construct and that the symbol still appears as expected. - - #... -- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo -+ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo - #pass
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.22-ld-13621.patch)
Date: Monday, April 23, 2012 @ 09:44:56 Author: allan Revision: 157081 upgpkg: binutils 2.22-6 upstream bugfix for gcc-4.7 backport Added: binutils/trunk/binutils-2.22-ld-13621.patch Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 12 +--- binutils-2.22-ld-13621.patch | 27 +++ 2 files changed, 36 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-04-23 13:11:44 UTC (rev 157080) +++ PKGBUILD2012-04-23 13:44:56 UTC (rev 157081) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.22 -pkgrel=5 +pkgrel=6 _date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -16,8 +16,10 @@ checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('de2ac4298732827f8af706fc24020330') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 +binutils-2.22-ld-13621.patch) +md5sums=('de2ac4298732827f8af706fc24020330' + '86d9445914c9d51bfe575ecbac265be0') mksource() { mkdir ${pkgname}-${_date} @@ -30,6 +32,10 @@ } build() { + cd ${srcdir}/binutils + # http://sourceware.org/bugzilla/show_bug.cgi?id=13621 + patch -p1 -i $srcdir/binutils-2.22-ld-13621.patch + cd ${srcdir} mkdir binutils-build cd binutils-build Added: binutils-2.22-ld-13621.patch === --- binutils-2.22-ld-13621.patch(rev 0) +++ binutils-2.22-ld-13621.patch2012-04-23 13:44:56 UTC (rev 157081) @@ -0,0 +1,27 @@ +diff --git a/bfd/linker.c b/bfd/linker.c +index c51c5df..0404474 100644 +--- a/bfd/linker.c b/bfd/linker.c +@@ -3208,6 +3208,12 @@ fix_syms (struct bfd_link_hash_entry *h, void *data) + op = op1; + } + ++/* Refuse to choose a section for which we are out of bounds. */ ++/* ??? This may make most of the above moot. */ ++if (h-u.def.value op-vma ++|| h-u.def.value op-vma + op-size) ++ op = bfd_abs_section_ptr; ++ + h-u.def.value -= op-vma; + h-u.def.section = op; + } +index 95b7ef4..a9c05f9 100644 +--- a/ld/testsuite/ld-elf/warn2.d b/ld/testsuite/ld-elf/warn2.d +@@ -13,5 +13,5 @@ + # construct and that the symbol still appears as expected. + + #... +- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo ++ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo + #pass
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, March 24, 2012 @ 04:46:45 Author: allan Revision: 154189 upgpkg: binutils 2.22-5 gcc-4.7 toolchain rebuild, new upstream snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-03-24 08:45:35 UTC (rev 154188) +++ PKGBUILD2012-03-24 08:46:45 UTC (rev 154189) @@ -5,19 +5,19 @@ pkgname=binutils pkgver=2.22 -pkgrel=4 -_date=20111227 +pkgrel=5 +_date=20120323 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base-devel') -depends=('glibc=2.14' 'zlib') +depends=('glibc=2.15' 'zlib') checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d') +md5sums=('de2ac4298732827f8af706fc24020330') mksource() { mkdir ${pkgname}-${_date} @@ -55,6 +55,11 @@ cp -a bfd bfd-pic make -C bfd-pic clean make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd-pic + + # Rebuild libopcodes.a with -fPIC + cp -a opcodes opcodes-pic + make -C opcodes-pic clean + make CFLAGS=$CFLAGS -fPIC -C opcodes-pic } check() { @@ -75,6 +80,7 @@ # install libraries rebuilt with -fPIC install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib + install -m644 opcodes/libopcodes.a ${pkgdir}/usr/lib # Remove Windows/Novell specific man pages rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, December 27, 2011 @ 05:27:35 Author: allan Revision: 145685 upgpkg: binutils 2.22-3 glibc-2.15 toolchain build, new upstream snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-27 10:22:05 UTC (rev 145684) +++ PKGBUILD2011-12-27 10:27:35 UTC (rev 145685) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.22 -pkgrel=2 -_date=20111201 +pkgrel=3 +_date=20111227 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -17,7 +17,7 @@ options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('77c15027ac112c65fd5f73ca91b0651c') +md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d') mksource() { mkdir ${pkgname}-${_date}
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, December 27, 2011 @ 16:26:16 Author: allan Revision: 145693 upgpkg: binutils 2.22-4 install the PIC version of libiberty again Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-27 11:47:25 UTC (rev 145692) +++ PKGBUILD2011-12-27 21:26:16 UTC (rev 145693) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.22 -pkgrel=3 +pkgrel=4 _date=20111227 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -73,7 +73,7 @@ install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include # install libraries rebuilt with -fPIC - install -m644 libiberty/libiberty.a ${pkgdir}/usr/lib + install -m644 libiberty-pic/libiberty.a ${pkgdir}/usr/lib install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib # Remove Windows/Novell specific man pages
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Sunday, December 25, 2011 @ 03:19:27 Author: allan Revision: 145631 Fix repackaging with makepkg -R Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-24 17:43:03 UTC (rev 145630) +++ PKGBUILD2011-12-25 08:19:27 UTC (rev 145631) @@ -44,6 +44,17 @@ make configure-host make tooldir=${pkgdir}/usr + + # Rebuild libiberty.a with -fPIC + cp -a libiberty libiberty-pic + make -C libiberty-pic clean + make CFLAGS=$CFLAGS -fPIC -C libiberty-pic + + # Rebuild libbfd.a with -fPIC + # hidden visability prevent 3rd party shared libraries exporting bfd non-stable API + cp -a bfd bfd-pic + make -C bfd-pic clean + make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd-pic } check() { @@ -61,17 +72,10 @@ install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include - # Rebuild libiberty.a with -fPIC - make -C libiberty clean - make CFLAGS=$CFLAGS -fPIC -C libiberty + # install libraries rebuilt with -fPIC install -m644 libiberty/libiberty.a ${pkgdir}/usr/lib + install -m644 bfd-pic/libbfd.a ${pkgdir}/usr/lib - # Rebuild libbfd.a with -fPIC - make -C bfd clean - # hidden visability prevent 3rd party shared libraries exporting bfd non-stable API - make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd - install -m644 bfd/libbfd.a ${pkgdir}/usr/lib - # Remove Windows/Novell specific man pages rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, December 3, 2011 @ 22:44:54 Author: allan Revision: 144109 upgpkg: binutils 2.22-2 rebuild with fixed gcc, add to base-devel group Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-12-04 03:16:16 UTC (rev 144108) +++ PKGBUILD2011-12-04 03:44:54 UTC (rev 144109) @@ -5,12 +5,13 @@ pkgname=binutils pkgver=2.22 -pkgrel=1 +pkgrel=2 _date=20111201 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') +groups=('base-devel') depends=('glibc=2.14' 'zlib') checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Friday, December 2, 2011 @ 16:02:53 Author: allan Revision: 144068 upgpkg: binutils 2.22-1 upsteram update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-02 21:02:11 UTC (rev 144067) +++ PKGBUILD2011-12-02 21:02:53 UTC (rev 144068) @@ -4,9 +4,9 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.21.1 -pkgrel=2 -_date=20110627 +pkgver=2.22 +pkgrel=1 +_date=20111201 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -16,12 +16,12 @@ options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('2face559e80d649ba148e42bb2d1fb0f') +md5sums=('77c15027ac112c65fd5f73ca91b0651c') mksource() { mkdir ${pkgname}-${_date} cd ${pkgname}-${_date} - export _TAG=binutils-2_21-branch + export _TAG=binutils-2_22-branch export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src' cvs -z9 co -r $_TAG binutils || return 1 mv src binutils
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, November 16, 2011 @ 06:52:11 Author: allan Revision: 142832 remove from base group Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |1 - 1 file changed, 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-11-16 11:46:43 UTC (rev 142831) +++ PKGBUILD2011-11-16 11:52:11 UTC (rev 142832) @@ -11,7 +11,6 @@ arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') -groups=('base') depends=('glibc=2.14' 'zlib') checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Sunday, August 14, 2011 @ 06:05:39 Author: allan Revision: 135499 upgpkg: binutils 2.21.1-2 complete toolchain with dependencies rebuild with new CFLAGS/LDFLAGS Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-08-14 09:49:10 UTC (rev 135498) +++ PKGBUILD2011-08-14 10:05:39 UTC (rev 135499) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.21.1 -pkgrel=1 +pkgrel=2 _date=20110627 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64')
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Monday, June 27, 2011 @ 07:06:48 Author: allan Revision: 129398 upgpkg: binutils 2.21.1-1 upstream update Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-06-27 09:26:18 UTC (rev 129397) +++ PKGBUILD2011-06-27 11:06:48 UTC (rev 129398) @@ -4,20 +4,20 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.21 -pkgrel=9 -_date=20110605 +pkgver=2.21.1 +pkgrel=1 +_date=20110627 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') depends=('glibc=2.14' 'zlib') -makedepends=('dejagnu') +checkdepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('a2e7784d5d66c1d692a0a1fa248ea66c') +md5sums=('2face559e80d649ba148e42bb2d1fb0f') mksource() { mkdir ${pkgname}-${_date} @@ -40,7 +40,7 @@ --enable-plugins --enable-threads \ --enable-shared $CONFIGFLAG - # This checks the host environment and makes sure all the necessary tools are available to compile Binutils. + # check the host environment and makes sure all the necessary tools are available make configure-host make tooldir=${pkgdir}/usr
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, June 7, 2011 @ 03:37:01 Author: allan Revision: 126772 upgpkg: binutils 2.21-9 glibc-2.14 toolchain rebuild, new upstream snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-06-07 07:36:40 UTC (rev 126771) +++ PKGBUILD2011-06-07 07:37:01 UTC (rev 126772) @@ -5,21 +5,19 @@ pkgname=binutils pkgver=2.21 -pkgrel=8 -_date=20110430 +pkgrel=9 +_date=20110605 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.13' 'zlib') +depends=('glibc=2.14' 'zlib') makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 -binutils-2.21-strip-segfault.patch) -md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec' - '98e8dfaf1c0ededa586823ebfb27825a') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) +md5sums=('a2e7784d5d66c1d692a0a1fa248ea66c') mksource() { mkdir ${pkgname}-${_date} @@ -32,10 +30,6 @@ } build() { - cd ${srcdir}/binutils - # http://sourceware.org/bugzilla/show_bug.cgi?id=12632 - patch -Np1 -i $srcdir/binutils-2.21-strip-segfault.patch - cd ${srcdir} mkdir binutils-build cd binutils-build
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils-2.21-strip-segfault.patch)
Date: Wednesday, May 11, 2011 @ 06:41:25 Author: allan Revision: 123424 upgpkg: binutils 2.21-8 fix segfault when stripping non-native files Added: binutils/trunk/binutils-2.21-strip-segfault.patch Modified: binutils/trunk/PKGBUILD + PKGBUILD | 12 +++- binutils-2.21-strip-segfault.patch | 96 +++ 2 files changed, 105 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-05-11 10:13:48 UTC (rev 123423) +++ PKGBUILD2011-05-11 10:41:25 UTC (rev 123424) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.21 -pkgrel=7 +pkgrel=8 _date=20110430 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -16,8 +16,10 @@ makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 +binutils-2.21-strip-segfault.patch) +md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec' + '98e8dfaf1c0ededa586823ebfb27825a') mksource() { mkdir ${pkgname}-${_date} @@ -30,6 +32,10 @@ } build() { + cd ${srcdir}/binutils + # http://sourceware.org/bugzilla/show_bug.cgi?id=12632 + patch -Np1 -i $srcdir/binutils-2.21-strip-segfault.patch + cd ${srcdir} mkdir binutils-build cd binutils-build Added: binutils-2.21-strip-segfault.patch === --- binutils-2.21-strip-segfault.patch (rev 0) +++ binutils-2.21-strip-segfault.patch 2011-05-11 10:41:25 UTC (rev 123424) @@ -0,0 +1,96 @@ +diff --git a/binutils/objcopy.c b/binutils/objcopy.c +index 15c4f95..b64f3d0 100644 +--- a/binutils/objcopy.c b/binutils/objcopy.c +@@ -1,6 +1,6 @@ + /* objcopy.c -- copy object file from input to output, optionally massaging it. +Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 ++ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Free Software Foundation, Inc. + +This file is part of GNU Binutils. +@@ -2024,6 +2024,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target, + struct stat buf; + int stat_status = 0; + bfd_boolean del = TRUE; ++ bfd_boolean ok_object; + + /* Create an output file for this member. */ + output_name = concat (dir, /, +@@ -2061,44 +2062,42 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target, + l-obfd = NULL; + list = l; + +- if (bfd_check_format (this_element, bfd_object)) ++ ok_object = bfd_check_format (this_element, bfd_object); ++ if (!ok_object) ++ bfd_nonfatal_message (NULL, this_element, NULL, ++_(Unable to recognise the format of file)); ++ ++ /* PR binutils/3110: Cope with archives ++ containing multiple target types. */ ++ if (force_output_target || !ok_object) ++ output_bfd = bfd_openw (output_name, output_target); ++ else ++ output_bfd = bfd_openw (output_name, bfd_get_target (this_element)); ++ ++ if (output_bfd == NULL) + { +-/* PR binutils/3110: Cope with archives +- containing multiple target types. */ +-if (force_output_target) +- output_bfd = bfd_openw (output_name, output_target); +-else +- output_bfd = bfd_openw (output_name, bfd_get_target (this_element)); ++bfd_nonfatal_message (output_name, NULL, NULL, NULL); ++status = 1; ++return; ++ } ++ ++ if (ok_object) ++ { ++del = !copy_object (this_element, output_bfd, input_arch); + +-if (output_bfd == NULL) ++if (del bfd_get_arch (this_element) == bfd_arch_unknown) ++ /* Try again as an unknown object file. */ ++ ok_object = FALSE; ++else if (!bfd_close (output_bfd)) + { + bfd_nonfatal_message (output_name, NULL, NULL, NULL); ++/* Error in new object file. Don't change archive. */ + status = 1; +-return; + } +- +-del = ! copy_object (this_element, output_bfd, input_arch); +- +-if (! del +-|| bfd_get_arch (this_element) != bfd_arch_unknown) +- { +-if (!bfd_close (output_bfd)) +- { +-bfd_nonfatal_message (output_name, NULL, NULL, NULL); +-/* Error in new object file. Don't change archive. */ +-status = 1; +- } +- } +-else +- goto copy_unknown_element; + } +- else +- { +-bfd_nonfatal_message (NULL,
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, April 30, 2011 @ 04:22:29 Author: allan Revision: 121290 upgpkg: binutils 2.21-7 new cvs snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-30 08:16:39 UTC (rev 121289) +++ PKGBUILD2011-04-30 08:22:29 UTC (rev 121290) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.21 -pkgrel=6 -_date=20110326 +pkgrel=7 +_date=20110430 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -17,7 +17,7 @@ options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('884dcbc87d4722b152aea72312356da1') +md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec') mksource() { mkdir ${pkgname}-${_date}
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.git-39637246.patch)
Date: Sunday, March 27, 2011 @ 02:07:38 Author: allan Revision: 116976 upgpkg: binutils 2.21-6 gcc-4.6 toolchain rebuild, new snapshot from 2.21 branch, remove patch included upstream Modified: binutils/trunk/PKGBUILD Deleted: binutils/trunk/binutils.git-39637246.patch -+ PKGBUILD| 19 - binutils.git-39637246.patch | 700 -- 2 files changed, 8 insertions(+), 711 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-03-27 06:06:45 UTC (rev 116975) +++ PKGBUILD2011-03-27 06:07:38 UTC (rev 116976) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.21 -pkgrel=5 -_date=20110311 +pkgrel=6 +_date=20110326 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -16,10 +16,8 @@ makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 -binutils.git-39637246.patch) -md5sums=('b72f868f0c687d8b835814a32d859250' - 'dd72cb6df5467bc6237cff2a886099d0') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) +md5sums=('884dcbc87d4722b152aea72312356da1') mksource() { mkdir ${pkgname}-${_date} @@ -32,11 +30,6 @@ } build() { - cd ${srcdir}/binutils - - # do not use nopl instructions on i686 - patch -Np1 -i ${srcdir}/binutils.git-39637246.patch - cd ${srcdir} mkdir binutils-build cd binutils-build @@ -51,7 +44,11 @@ make configure-host make tooldir=${pkgdir}/usr +} +check() { + cd ${srcdir}/binutils-build + # do not abort on errors - manually check log files make -k -j1 check || true } Deleted: binutils.git-39637246.patch === --- binutils.git-39637246.patch 2011-03-27 06:06:45 UTC (rev 116975) +++ binutils.git-39637246.patch 2011-03-27 06:07:38 UTC (rev 116976) @@ -1,700 +0,0 @@ -diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c -index 777d7cf..c4c34a1 100644 a/gas/config/tc-i386.c -+++ b/gas/config/tc-i386.c -@@ -1060,7 +1060,6 @@ i386_align_code (fragS *fragP, int count) - else - patt = f32_patt; - break; -- case PROCESSOR_PENTIUMPRO: - case PROCESSOR_PENTIUM4: - case PROCESSOR_NOCONA: - case PROCESSOR_CORE: -@@ -1080,6 +1079,7 @@ i386_align_code (fragS *fragP, int count) - case PROCESSOR_I386: - case PROCESSOR_I486: - case PROCESSOR_PENTIUM: -+ case PROCESSOR_PENTIUMPRO: - case PROCESSOR_GENERIC32: - patt = f32_patt; - break; -diff --git a/gas/testsuite/gas/i386/nops-1-i686.d b/gas/testsuite/gas/i386/nops-1-i686.d -index 7752ee2..137d5c2 100644 a/gas/testsuite/gas/i386/nops-1-i686.d -+++ b/gas/testsuite/gas/i386/nops-1-i686.d -@@ -10,25 +10,41 @@ Disassembly of section .text: - - 0+ nop15: - [ ]*[a-f0-9]+:90 nop --[ ]*[a-f0-9]+:66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00data32 data32 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) -+[ ]*[a-f0-9]+:eb 0d jmp10 nop14 -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop -+[ ]*[a-f0-9]+:90 nop - - 0+10 nop14: - [ ]*[a-f0-9]+:90 nop - [ ]*[a-f0-9]+:90 nop --[ ]*[a-f0-9]+:66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data32 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) -+[ ]*[a-f0-9]+:8d b4 26 00 00 00 00lea0x0\(%esi,%eiz,1\),%esi -+[ ]*[a-f0-9]+:8d bc 27 00 00 00 00lea0x0\(%edi,%eiz,1\),%edi - - 0+20 nop13: - [ ]*[a-f0-9]+:90 nop - [ ]*[a-f0-9]+:90 nop - [ ]*[a-f0-9]+:90 nop --[ ]*[a-f0-9]+:66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) -+[ ]*[a-f0-9]+:8d b6 00 00 00 00 lea0x0\(%esi\),%esi -+[ ]*[a-f0-9]+:8d bc 27 00 00 00 00lea0x0\(%edi,%eiz,1\),%edi - - 0+30 nop12: - [ ]*[a-f0-9]+:90 nop - [ ]*[a-f0-9]+:90
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, March 12, 2011 @ 05:26:10 Author: allan Revision: 114312 upgpkg: binutils 2.21-5 new upstream snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-03-12 09:20:04 UTC (rev 114311) +++ PKGBUILD2011-03-12 10:26:10 UTC (rev 114312) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.21 -pkgrel=4 -_date=20110209 +pkgrel=5 +_date=20110311 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -18,7 +18,7 @@ install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 binutils.git-39637246.patch) -md5sums=('673ef8f4fc0b497232b4458982e76179' +md5sums=('b72f868f0c687d8b835814a32d859250' 'dd72cb6df5467bc6237cff2a886099d0') mksource() { @@ -33,6 +33,8 @@ build() { cd ${srcdir}/binutils + + # do not use nopl instructions on i686 patch -Np1 -i ${srcdir}/binutils.git-39637246.patch cd ${srcdir}
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.git-39637246.patch)
Date: Wednesday, February 9, 2011 @ 03:54:49 Author: allan Revision: 109378 upgpkg: binutils 2.21-4 new snapshot, upstream patch to prevent nopl instructions on i686 Added: binutils/trunk/binutils.git-39637246.patch Modified: binutils/trunk/PKGBUILD -+ PKGBUILD| 13 binutils.git-39637246.patch | 700 ++ 2 files changed, 709 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-02-09 07:22:39 UTC (rev 109377) +++ PKGBUILD2011-02-09 08:54:49 UTC (rev 109378) @@ -5,8 +5,8 @@ pkgname=binutils pkgver=2.21 -pkgrel=3 -_date=20101216 +pkgrel=4 +_date=20110209 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; @@ -16,8 +16,10 @@ makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('96a95d028ee86ca4347576c51d1ea1d4') +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2 +binutils.git-39637246.patch) +md5sums=('673ef8f4fc0b497232b4458982e76179' + 'dd72cb6df5467bc6237cff2a886099d0') mksource() { mkdir ${pkgname}-${_date} @@ -30,6 +32,9 @@ } build() { + cd ${srcdir}/binutils + patch -Np1 -i ${srcdir}/binutils.git-39637246.patch + cd ${srcdir} mkdir binutils-build cd binutils-build Added: binutils.git-39637246.patch === --- binutils.git-39637246.patch (rev 0) +++ binutils.git-39637246.patch 2011-02-09 08:54:49 UTC (rev 109378) @@ -0,0 +1,700 @@ +diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c +index 777d7cf..c4c34a1 100644 +--- a/gas/config/tc-i386.c b/gas/config/tc-i386.c +@@ -1060,7 +1060,6 @@ i386_align_code (fragS *fragP, int count) + else + patt = f32_patt; + break; +- case PROCESSOR_PENTIUMPRO: + case PROCESSOR_PENTIUM4: + case PROCESSOR_NOCONA: + case PROCESSOR_CORE: +@@ -1080,6 +1079,7 @@ i386_align_code (fragS *fragP, int count) + case PROCESSOR_I386: + case PROCESSOR_I486: + case PROCESSOR_PENTIUM: ++ case PROCESSOR_PENTIUMPRO: + case PROCESSOR_GENERIC32: + patt = f32_patt; + break; +diff --git a/gas/testsuite/gas/i386/nops-1-i686.d b/gas/testsuite/gas/i386/nops-1-i686.d +index 7752ee2..137d5c2 100644 +--- a/gas/testsuite/gas/i386/nops-1-i686.d b/gas/testsuite/gas/i386/nops-1-i686.d +@@ -10,25 +10,41 @@ Disassembly of section .text: + + 0+ nop15: + [ ]*[a-f0-9]+:90 nop +-[ ]*[a-f0-9]+:66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00data32 data32 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) ++[ ]*[a-f0-9]+:eb 0d jmp10 nop14 ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop ++[ ]*[a-f0-9]+:90 nop + + 0+10 nop14: + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop +-[ ]*[a-f0-9]+:66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data32 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) ++[ ]*[a-f0-9]+:8d b4 26 00 00 00 00lea0x0\(%esi,%eiz,1\),%esi ++[ ]*[a-f0-9]+:8d bc 27 00 00 00 00lea0x0\(%edi,%eiz,1\),%edi + + 0+20 nop13: + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop +-[ ]*[a-f0-9]+:66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data32 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) ++[ ]*[a-f0-9]+:8d b6 00 00 00 00 lea0x0\(%esi\),%esi ++[ ]*[a-f0-9]+:8d bc 27 00 00 00 00lea0x0\(%edi,%eiz,1\),%edi + + 0+30 nop12: + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop + [ ]*[a-f0-9]+:90 nop +-[ ]*[a-f0-9]+:66 66 66 2e 0f 1f 84 00 00 00 00 00 data32 data32 nopw %cs:0x0\(%eax,%eax,1\) ++[ ]*[a-f0-9]+:8d b6 00 00 00 00
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Tuesday, January 18, 2011 @ 19:42:04 Author: allan Revision: 106767 upgpkg: binutils 2.21-3 glibc toolchain rebuild Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-01-19 00:41:35 UTC (rev 106766) +++ PKGBUILD2011-01-19 00:42:04 UTC (rev 106767) @@ -5,14 +5,14 @@ pkgname=binutils pkgver=2.21 -pkgrel=2 +pkgrel=3 _date=20101216 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.12.1-5' 'zlib') +depends=('glibc=2.13' 'zlib') makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Friday, December 17, 2010 @ 21:03:12 Author: allan Revision: 103331 upgpkg: binutils 2.21-2 enable plugin support and threading in gold Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2010-12-18 01:28:46 UTC (rev 103330) +++ PKGBUILD2010-12-18 02:03:12 UTC (rev 103331) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.21 -pkgrel=1 +pkgrel=2 _date=20101216 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -37,6 +37,7 @@ ${srcdir}/binutils/configure --prefix=/usr \ --enable-ld=default --enable-gold \ +--enable-plugins --enable-threads \ --enable-shared $CONFIGFLAG # This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.install)
Date: Thursday, December 16, 2010 @ 20:00:09 Author: allan Revision: 103263 upstream update, build gold linker (bfd stays as default) Modified: binutils/trunk/PKGBUILD binutils/trunk/binutils.install --+ PKGBUILD | 47 --- binutils.install |2 +- 2 files changed, 25 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-12-17 00:57:07 UTC (rev 103262) +++ PKGBUILD2010-12-17 01:00:09 UTC (rev 103263) @@ -4,57 +4,57 @@ # toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.20.1 -pkgrel=4 -_date=20100521 +pkgver=2.21 +pkgrel=1 +_date=20101216 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.12-1' 'zlib') +depends=('glibc=2.12.1-5' 'zlib') makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('67053ffd8582e646e171fccd55b2f0f6') +md5sums=('e2a1c34fb236d755206520bd76469740') mksource() { mkdir ${pkgname}-${_date} cd ${pkgname}-${_date} - export _TAG=binutils-2_20-branch + export _TAG=binutils-2_21-branch export 'CVSROOT=:pserver:anon...@sourceware.org:/cvs/src' cvs -z9 co -r $_TAG binutils || return 1 - cd src tar -cvjf ../../binutils-${pkgver}_${_date}.tar.bz2 * + mv src binutils + tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/* } build() { cd ${srcdir} - mkdir build cd build + mkdir binutils-build cd binutils-build - CC=gcc -L`pwd`/bfd/.libs/ - if [ ${CARCH} = x86_64 ]; then -../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-64-bit-bfd --disable-multilib - else -../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared - fi - # fix man files install path - sed -i -e s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile - # fix info files install path - sed -i -e s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile + [[ $CARCH == x86_64 ]] CONFIGFLAG=--enable-64-bit-bfd --disable-multilib + ${srcdir}/binutils/configure --prefix=/usr \ +--enable-ld=default --enable-gold \ +--enable-shared $CONFIGFLAG + # This checks the host environment and makes sure all the necessary tools are available to compile Binutils. make configure-host make tooldir=${pkgdir}/usr - make check + + # do not abort on errors - manually check log files + make -k -j1 check || true } package() { - cd ${srcdir}/build + cd ${srcdir}/binutils-build make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install - install -m644 ${srcdir}/include/libiberty.h ${pkgdir}/usr/include - install -m644 ${srcdir}/include/demangle.h ${pkgdir}/usr/include + + # Add some useful headers + install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include + install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include # Rebuild libiberty.a with -fPIC make -C libiberty clean @@ -67,9 +67,10 @@ make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd install -m644 bfd/libbfd.a ${pkgdir}/usr/lib + # Remove Windows/Novell specific man pages rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* - # Remove these symlinks, with binutils prereleases they are not ABI stable. + # Remove these symlinks, they are not ABI stable. # Programs should compile static to the .a file. rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so echo INPUT ( /usr/lib/libbfd.a -liberty -lz ) ${pkgdir}/usr/lib/libbfd.so Modified: binutils.install === --- binutils.install2010-12-17 00:57:07 UTC (rev 103262) +++ binutils.install2010-12-17 01:00:09 UTC (rev 103263) @@ -1,4 +1,4 @@ -infodir=/usr/share/info +infodir=usr/share/info filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info) post_upgrade() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, December 16, 2010 @ 20:38:59 Author: allan Revision: 103265 update md5sum Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2010-12-17 01:26:33 UTC (rev 103264) +++ PKGBUILD2010-12-17 01:38:59 UTC (rev 103265) @@ -17,7 +17,7 @@ options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('e2a1c34fb236d755206520bd76469740') +md5sums=('96a95d028ee86ca4347576c51d1ea1d4') mksource() { mkdir ${pkgname}-${_date}
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Thursday, November 25, 2010 @ 22:29:36 Author: allan Revision: 100870 run the test suite in future builds Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |2 ++ 1 file changed, 2 insertions(+) Modified: PKGBUILD === --- PKGBUILD2010-11-26 02:49:03 UTC (rev 100869) +++ PKGBUILD2010-11-26 03:29:36 UTC (rev 100870) @@ -13,6 +13,7 @@ license=('GPL') groups=('base') depends=('glibc=2.12-1' 'zlib') +makedepends=('dejagnu') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) @@ -46,6 +47,7 @@ make configure-host make tooldir=${pkgdir}/usr + make check } package() {
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Wednesday, October 6, 2010 @ 23:16:46 Author: allan Revision: 94402 upgpkg: binutils 2.20.1-4 add demangling header Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-10-07 01:54:46 UTC (rev 94401) +++ PKGBUILD2010-10-07 03:16:46 UTC (rev 94402) @@ -5,7 +5,7 @@ pkgname=binutils pkgver=2.20.1 -pkgrel=3 +pkgrel=4 _date=20100521 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') @@ -38,20 +38,21 @@ ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared fi # fix man files install path - sed -i -e s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile || return 1 + sed -i -e s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile # fix info files install path - sed -i -e s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile || return 1 + sed -i -e s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share: ${srcdir}/build/Makefile # This checks the host environment and makes sure all the necessary tools are available to compile Binutils. - make configure-host || return 1 + make configure-host - make tooldir=${pkgdir}/usr || return 1 + make tooldir=${pkgdir}/usr } package() { cd ${srcdir}/build make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install install -m644 ${srcdir}/include/libiberty.h ${pkgdir}/usr/include + install -m644 ${srcdir}/include/demangle.h ${pkgdir}/usr/include # Rebuild libiberty.a with -fPIC make -C libiberty clean
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Saturday, May 22, 2010 @ 04:05:08 Author: allan Revision: 80784 upgpkg: binutils 2.20.1-3 glibc-2.12 toolchain build, new cvs snapshot Modified: binutils/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-05-22 08:02:23 UTC (rev 80783) +++ PKGBUILD2010-05-22 08:05:08 UTC (rev 80784) @@ -5,18 +5,18 @@ pkgname=binutils pkgver=2.20.1 -pkgrel=2 -_date=20100318 +pkgrel=3 +_date=20100521 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.11.1-3' 'zlib') +depends=('glibc=2.12-1' 'zlib') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('c153213a20a5075bd98d7f12fbd38a51') +md5sums=('67053ffd8582e646e171fccd55b2f0f6') mksource() { mkdir ${pkgname}-${_date}
[arch-commits] Commit in binutils/trunk (PKGBUILD)
Date: Friday, April 16, 2010 @ 07:58:22 Author: allan Revision: 77602 upgpkg: binutils 2.20.1-2 gcc-4.5 toolchain rebuild, rebuild libiberty.a and libbfd.a on both arches, hide symbols in libbfd.a Modified: binutils/trunk/PKGBUILD --+ PKGBUILD | 28 1 file changed, 16 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-04-16 11:54:46 UTC (rev 77601) +++ PKGBUILD2010-04-16 11:58:22 UTC (rev 77602) @@ -5,14 +5,14 @@ pkgname=binutils pkgver=2.20.1 -pkgrel=1 +pkgrel=2 _date=20100318 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.11.1-2' 'zlib') +depends=('glibc=2.11.1-3' 'zlib') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) @@ -46,20 +46,24 @@ make configure-host || return 1 make tooldir=${pkgdir}/usr || return 1 +} + +package() { + cd ${srcdir}/build make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install install -m644 ${srcdir}/include/libiberty.h ${pkgdir}/usr/include - if [ ${CARCH} = x86_64 ]; then -# Rebuild libiberty.a with -fPIC -make -C libiberty clean -make CFLAGS=$CFLAGS -fPIC -C libiberty -install -m644 libiberty/libiberty.a ${pkgdir}/usr/lib -# Rebuild libbfd.a with -fPIC -make -C bfd clean -make CFLAGS=$CFLAGS -fPIC -C bfd -install -m644 bfd/libbfd.a ${pkgdir}/usr/lib - fi + # Rebuild libiberty.a with -fPIC + make -C libiberty clean + make CFLAGS=$CFLAGS -fPIC -C libiberty + install -m644 libiberty/libiberty.a ${pkgdir}/usr/lib + # Rebuild libbfd.a with -fPIC + make -C bfd clean + # hidden visability prevent 3rd party shared libraries exporting bfd non-stable API + make CFLAGS=$CFLAGS -fPIC -fvisibility=hidden -C bfd + install -m644 bfd/libbfd.a ${pkgdir}/usr/lib + rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* # Remove these symlinks, with binutils prereleases they are not ABI stable.
[arch-commits] Commit in binutils/trunk (PKGBUILD binutils.install)
Date: Thursday, March 18, 2010 @ 23:19:22 Author: allan Revision: 72655 upgpkg: binutils 2.20.1-1 upstream update, remove post_install as shell is not likely to be installed prior Modified: binutils/trunk/PKGBUILD binutils/trunk/binutils.install --+ PKGBUILD | 12 ++-- binutils.install |6 +- 2 files changed, 7 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-03-19 03:17:13 UTC (rev 72654) +++ PKGBUILD2010-03-19 03:19:22 UTC (rev 72655) @@ -1,22 +1,22 @@ # $Id$ # Maintainer: Allan McRae al...@archlinux.org -# toolchain build order: kernel-headers-glibc-binutils-gcc-binutils-glibc +# toolchain build order: linux-api-headers-glibc-binutils-gcc-binutils-glibc pkgname=binutils -pkgver=2.20 -pkgrel=3 -_date=20091101 +pkgver=2.20.1 +pkgrel=1 +_date=20100318 pkgdesc=A set of programs to assemble and manipulate binary and object files arch=('i686' 'x86_64') url=http://www.gnu.org/software/binutils/; license=('GPL') groups=('base') -depends=('glibc=2.11.1' 'zlib') +depends=('glibc=2.11.1-2' 'zlib') options=('!libtool' '!distcc' '!ccache') install=binutils.install source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2) -md5sums=('df0781f66c7be07f1d54e79ee61d3b37') +md5sums=('c153213a20a5075bd98d7f12fbd38a51') mksource() { mkdir ${pkgname}-${_date} Modified: binutils.install === --- binutils.install2010-03-19 03:17:13 UTC (rev 72654) +++ binutils.install2010-03-19 03:19:22 UTC (rev 72655) @@ -1,17 +1,13 @@ infodir=/usr/share/info filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info) -post_install() { +post_upgrade() { [ -x usr/bin/install-info ] || return 0 for file in ${fileli...@]}; do install-info $infodir/$file.gz $infodir/dir 2 /dev/null done } -post_upgrade() { - post_install $1 -} - pre_remove() { [ -x usr/bin/install-info ] || return 0 for file in ${fileli...@]}; do