Your message dated Wed, 24 Aug 2011 11:47:47 +0000
with message-id <[email protected]>
and subject line Bug#635167: fixed in binutils 2.21.53.20110823-2
has caused the Debian Bug report #635167,
regarding binutils: FTBFS on s390x: relocation truncated to fit
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
635167: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: binutils
Version: 2.21.53.20110720-1
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: s390x
binutils FTBFS on s390x due do relocation issues:
| /home/aurel32/binutils/bfd/../libiberty/pic/libiberty.a(hashtab.o): In
function `htab_create':
| /home/aurel32/binutils/libiberty/../../libiberty/hashtab.c:408:(.text+0x5e4):
relocation truncated to fit: R_390_GOT12 against symbol `xcalloc' defined in
.text section in
/home/aurel32/binutils/bfd/../libiberty/pic/libiberty.a(xmalloc.o)
| /home/aurel32/binutils/bfd/../libiberty/pic/libiberty.a(hashtab.o): In
function `htab_try_create':
| /home/aurel32/binutils/libiberty/../../libiberty/hashtab.c:414:(.text+0x61c):
relocation truncated to fit: R_390_GOT12 against symbol `calloc@@GLIBC_2.2'
defined in .text section in /lib/s390x-linux-gnu/libc.so.6
| collect2: ld returned 1 exit status
The patch below (already submitted upstream), fixes the issue.
diff -u binutils-2.21.53.20110720/debian/patches/series
binutils-2.21.53.20110720/debian/patches/series
--- binutils-2.21.53.20110720/debian/patches/series
+++ binutils-2.21.53.20110720/debian/patches/series
@@ -20,0 +21 @@
+162_fpic_s390x.diff
--- binutils-2.21.53.20110720.orig/debian/patches/162_fpic_s390x.diff
+++ binutils-2.21.53.20110720/debian/patches/162_fpic_s390x.diff
@@ -0,0 +1,24 @@
+2011-07-23 Aurelien Jarno <[email protected]>
+
+ * configure.ac: Use -fPIC instead of -fpic on s390x.
+
+--- a/libiberty/configure.ac
++++ b/libiberty/configure.ac
+@@ -216,6 +216,7 @@
+ *-fpic* ) PICFLAG=-fpic ;;
+ * ) PICFLAG=-fPIC ;;
+ esac ;;
++ s390x*-*-*) PICFLAG=-fPIC ;;
+ s390*-*-*) PICFLAG=-fpic ;;
+ sh*-*-*) PICFLAG=-fPIC ;;
+ esac
+--- a/libiberty/configure
++++ b/libiberty/configure
+@@ -4865,6 +4865,7 @@
+ *-fpic* ) PICFLAG=-fpic ;;
+ * ) PICFLAG=-fPIC ;;
+ esac ;;
++ s390x*-*-*) PICFLAG=-fPIC ;;
+ s390*-*-*) PICFLAG=-fpic ;;
+ sh*-*-*) PICFLAG=-fPIC ;;
+ esac
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: s390x
Kernel: Linux 2.6.32-5-s390x (SMP w/3 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: binutils
Source-Version: 2.21.53.20110823-2
We believe that the bug you reported is fixed in the latest version of
binutils, which is due to be installed in the Debian FTP archive:
binutils-dev_2.21.53.20110823-2_amd64.deb
to main/b/binutils/binutils-dev_2.21.53.20110823-2_amd64.deb
binutils-doc_2.21.53.20110823-2_all.deb
to main/b/binutils/binutils-doc_2.21.53.20110823-2_all.deb
binutils-gold_2.21.53.20110823-2_amd64.deb
to main/b/binutils/binutils-gold_2.21.53.20110823-2_amd64.deb
binutils-multiarch_2.21.53.20110823-2_amd64.deb
to main/b/binutils/binutils-multiarch_2.21.53.20110823-2_amd64.deb
binutils-source_2.21.53.20110823-2_all.deb
to main/b/binutils/binutils-source_2.21.53.20110823-2_all.deb
binutils_2.21.53.20110823-2.diff.gz
to main/b/binutils/binutils_2.21.53.20110823-2.diff.gz
binutils_2.21.53.20110823-2.dsc
to main/b/binutils/binutils_2.21.53.20110823-2.dsc
binutils_2.21.53.20110823-2_amd64.deb
to main/b/binutils/binutils_2.21.53.20110823-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated binutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 24 Aug 2011 13:06:48 +0200
Source: binutils
Binary: binutils binutils-dev binutils-multiarch binutils-gold binutils-hppa64
binutils-spu binutils-doc binutils-source
Architecture: source all amd64
Version: 2.21.53.20110823-2
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
binutils - The GNU assembler, linker and binary utilities
binutils-dev - The GNU binary utilities (BFD development files)
binutils-doc - Documentation for the GNU assembler, linker and binary utilities
binutils-gold - The (experimental) GNU gold linker utility
binutils-hppa64 - The GNU assembler, linker and binary utilities targeted for
hppa6
binutils-multiarch - Binary utilities that support multi-arch targets
binutils-source - The GNU assembler, linker and binary utilities (source)
binutils-spu - The GNU assembler, linker and binary utilities targeted for
spu-e
Closes: 635167
Changes:
binutils (2.21.53.20110823-2) unstable; urgency=low
.
* Default to --hash-style=both in ld.bfd and ld.gold.
* Fix s390x build (Aurelian Jarno). Closes: #635167.
Checksums-Sha1:
492625f8695349cc25ab4fa3c279651871dca20a 1490 binutils_2.21.53.20110823-2.dsc
9d39815d8a9c405551c21532e2c9b641d95e695e 68159
binutils_2.21.53.20110823-2.diff.gz
6eea94013e8fc368424db2dd318445bd583034d7 579960
binutils-doc_2.21.53.20110823-2_all.deb
319e8b49906f9c406d4e220f17453afce3b9911d 14065636
binutils-source_2.21.53.20110823-2_all.deb
1adc1188cb9c634131d63b69705fad37d0ccea59 4838234
binutils_2.21.53.20110823-2_amd64.deb
ae06ea4873064caf2d894cf0402b50127f6ec454 4253070
binutils-dev_2.21.53.20110823-2_amd64.deb
3cd9e2f8929de32a419ffffbfcc17adada82f366 2211358
binutils-multiarch_2.21.53.20110823-2_amd64.deb
64ca3467b28fd7e5b11118e649f31831008e497c 1484
binutils-gold_2.21.53.20110823-2_amd64.deb
Checksums-Sha256:
d84741ad977df2c0c8f5b77a9ddc49c9830d4011f00b79a9393021d9a266a8a5 1490
binutils_2.21.53.20110823-2.dsc
1f2fdb8eec1e7f296f4ce1799256cfae37df28ac757f806a295312805295fed5 68159
binutils_2.21.53.20110823-2.diff.gz
1d1c0b75f0fef8d004c7088ad67266c417088a9b1d37208ee2cb536c7069d300 579960
binutils-doc_2.21.53.20110823-2_all.deb
a0ec4d42ff36f16dcb019c775eb35de20a727d92a6b28296e82405964ee72a45 14065636
binutils-source_2.21.53.20110823-2_all.deb
4b50f74dc248c34ccc3a1b9c01e447507f1518fa283044ccd6dfd91cfc69a228 4838234
binutils_2.21.53.20110823-2_amd64.deb
117d15f57e09575c06c3af1b41b9f0d3962db05dd7e887adac1d68499d51cf15 4253070
binutils-dev_2.21.53.20110823-2_amd64.deb
57f890c0b2371d5a11076a8f0c9932ce6d9cfcfcb94fcc2061961581bebf0dcc 2211358
binutils-multiarch_2.21.53.20110823-2_amd64.deb
d0e8651a2df6f097809f4c9c9b80d75de5c08f65741ca110ffe711e30f6229d8 1484
binutils-gold_2.21.53.20110823-2_amd64.deb
Files:
0ffde1d2b315b57ac0d80c172fc70bfb 1490 devel optional
binutils_2.21.53.20110823-2.dsc
8b3cd491f25040ffd29cf1332c0e3809 68159 devel optional
binutils_2.21.53.20110823-2.diff.gz
691024f3336fdaf6b198bbdbb56b80de 579960 doc optional
binutils-doc_2.21.53.20110823-2_all.deb
16617ebef41b9ada0fa0efde95a644c2 14065636 devel optional
binutils-source_2.21.53.20110823-2_all.deb
1057678514a19a3d01626c1c7649c59f 4838234 devel optional
binutils_2.21.53.20110823-2_amd64.deb
53df187ad10e8c6dd71a160e51ce7cdf 4253070 devel extra
binutils-dev_2.21.53.20110823-2_amd64.deb
518c4f9a4d40296b16ed36982a22fd50 2211358 devel extra
binutils-multiarch_2.21.53.20110823-2_amd64.deb
59fc081cd31afdc3f3dd46c5e2c5d819 1484 devel extra
binutils-gold_2.21.53.20110823-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk5U4cIACgkQStlRaw+TLJyOZQCgnTRhXyU1Q+YTyk4rmnaIVJSN
1CMAoJZnbhKKfIPupJE6l8+2R6ta7GZD
=x4oF
-----END PGP SIGNATURE-----
--- End Message ---