Your message dated Fri, 29 Jul 2011 22:47:54 +0000
with message-id <[email protected]>
and subject line Bug#635167: fixed in binutils 2.21.53.20110729-1
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.20110729-1

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.20110729-1_amd64.deb
  to main/b/binutils/binutils-dev_2.21.53.20110729-1_amd64.deb
binutils-doc_2.21.53.20110729-1_all.deb
  to main/b/binutils/binutils-doc_2.21.53.20110729-1_all.deb
binutils-gold_2.21.53.20110729-1_amd64.deb
  to main/b/binutils/binutils-gold_2.21.53.20110729-1_amd64.deb
binutils-multiarch_2.21.53.20110729-1_amd64.deb
  to main/b/binutils/binutils-multiarch_2.21.53.20110729-1_amd64.deb
binutils-source_2.21.53.20110729-1_all.deb
  to main/b/binutils/binutils-source_2.21.53.20110729-1_all.deb
binutils_2.21.53.20110729-1.diff.gz
  to main/b/binutils/binutils_2.21.53.20110729-1.diff.gz
binutils_2.21.53.20110729-1.dsc
  to main/b/binutils/binutils_2.21.53.20110729-1.dsc
binutils_2.21.53.20110729-1_amd64.deb
  to main/b/binutils/binutils_2.21.53.20110729-1_amd64.deb
binutils_2.21.53.20110729.orig.tar.gz
  to main/b/binutils/binutils_2.21.53.20110729.orig.tar.gz



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: Fri, 29 Jul 2011 19:04:46 +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.20110729-1
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.20110729-1) unstable; urgency=low
 .
   * Snapshot, taken from the trunk 20110729.
   * Fix s390x build (Aurelian Jarno). Closes: #635167.
Checksums-Sha1: 
 8de4469d215a662976253b643e88b4bee0c9480c 1490 binutils_2.21.53.20110729-1.dsc
 174cbdd9b223dc7d7eb876c62a220958937cddf0 24071788 
binutils_2.21.53.20110729.orig.tar.gz
 e2b202f09756046d5428e7356b6d0a6c043bb15e 67609 
binutils_2.21.53.20110729-1.diff.gz
 800126e3733027fc96752ea0249b7f50d92e6047 578934 
binutils-doc_2.21.53.20110729-1_all.deb
 bdebb09e2a4db7d817d2d8dcba0bd592b16c005a 13976710 
binutils-source_2.21.53.20110729-1_all.deb
 75bca4954c4c6c894678bba3190b7f03c9d1b100 4830764 
binutils_2.21.53.20110729-1_amd64.deb
 9a47080f8db8f27480a595c0acd241e68fc28c88 4256072 
binutils-dev_2.21.53.20110729-1_amd64.deb
 45e5557eed593205439772a9275e1565711068c3 2207682 
binutils-multiarch_2.21.53.20110729-1_amd64.deb
 0d26840058f156f74d4bb3027a747f3417dec7dd 1488 
binutils-gold_2.21.53.20110729-1_amd64.deb
Checksums-Sha256: 
 1051b67c4488a77014c7197d69ce5b758b423abf29e25d67c25e658f4d3a7b36 1490 
binutils_2.21.53.20110729-1.dsc
 be6a2439abb584a624d6a4a397bb84605b41ec7ab03a01fd55a732ded49e84e8 24071788 
binutils_2.21.53.20110729.orig.tar.gz
 f7f45f6681422b193069978538c4d617bf364bf21b9b37c28e7a2dc7fb3aab63 67609 
binutils_2.21.53.20110729-1.diff.gz
 ae55296682aebd89180edb917f1b4a8171e851d9e792474505bd0696a587dbad 578934 
binutils-doc_2.21.53.20110729-1_all.deb
 20951f9409905b9db7477f5d2c81ca0d442535d2132cefb9a30a5905d8412563 13976710 
binutils-source_2.21.53.20110729-1_all.deb
 4ea62ca218e947fc4293e03114c6860ecd5f55430f808db272fe683268d407ab 4830764 
binutils_2.21.53.20110729-1_amd64.deb
 45106af78af03d6f57dd0b9530fafdf8f6b78fb662ea83411eec6ac87d099fbc 4256072 
binutils-dev_2.21.53.20110729-1_amd64.deb
 85b47a4b69e1a3ba0fff1e0526ce5b4938b605b6ddd3be563d51fee3d42cf95d 2207682 
binutils-multiarch_2.21.53.20110729-1_amd64.deb
 69edecbe5a1047ea625ba60629382c81e8e7bb9390bfc3bff1d827ed911b3f8a 1488 
binutils-gold_2.21.53.20110729-1_amd64.deb
Files: 
 b1051b1fd5dfc4e186d7bbce374dd2cd 1490 devel optional 
binutils_2.21.53.20110729-1.dsc
 c7351e80c67a574994f709ddf647f4a5 24071788 devel optional 
binutils_2.21.53.20110729.orig.tar.gz
 861f73781f2fc9bbaca3d68c7b37a472 67609 devel optional 
binutils_2.21.53.20110729-1.diff.gz
 2db9b03243a5b3de5fdf6526428cdb11 578934 doc optional 
binutils-doc_2.21.53.20110729-1_all.deb
 c8f5b00473dee035cb3820be5eec5c8e 13976710 devel optional 
binutils-source_2.21.53.20110729-1_all.deb
 3f0aec51233c0410cfc46ba59e342c82 4830764 devel optional 
binutils_2.21.53.20110729-1_amd64.deb
 25498f2eb52a4b7960176368e253b5a6 4256072 devel extra 
binutils-dev_2.21.53.20110729-1_amd64.deb
 16df6da1f34df37c7cf2d7441203c921 2207682 devel extra 
binutils-multiarch_2.21.53.20110729-1_amd64.deb
 79b93eb2b0ea4122211bb8d353f6f3db 1488 devel extra 
binutils-gold_2.21.53.20110729-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4zNlsACgkQStlRaw+TLJwFhwCeMeRByLvyXIPH+B24H13wBOos
nq0AoLoxan1df7yLWGf2aNmL4QZAyc3f
=B/Co
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to