ld segfaults on ia64 building some packages

Bug #27072 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
binutils (Debian)
Fix Released
Unknown
binutils (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #342777 http://bugs.debian.org/342777

Revision history for this message
In , Ian Wienand (ianw-ieee) wrote : binutils on IA64 creating incorrect output

Package: binutils
Version: 2.16.1cvs20051206-1
Followup-For: Bug #342777

This bug sounds the same as

http://lists.debian.org/debian-ia64/2005/12/msg00006.html

which comes from bintuils PR

http://sourceware.org/bugzilla/show_bug.cgi?id=1991

There are some patches in that PR which need to be applied to make the
link order output correct.

Could we either get those patches back-ported, or update to latest
CVS?

-i

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc5-git-ge4f5c82a
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages binutils depends on:
ii libc6 2.3.5-8 GNU C Library: Shared libraries an

binutils recommends no packages.

-- debconf information excluded

Revision history for this message
In , Jeremy Lainé (jeremy-laine) wrote : Fwd: Re: kdevelop3 FTBFS on ia64 (segfault)

block 343163 with 342777
thanks

----- Forwarded message from <email address hidden> -----
On Fri, Dec 09, 2005 at 02:49:07PM +1100, Ian Wienand wrote:
> http://sourceware.org/bugzilla/show_bug.cgi?id=2008

This is a bug with strip -g which makes the stripped object wrong. HJ
has checked in a patch, however it just makes the linker abort, rather
than segfault, so at least we know what is wrong.

It seems #342777 is in the same basket, so who knows how many
libraries have been built with this incorrect strip version. Is there
any way to find out? I have requested in the above bug that somebody
backport the fix, but at this stage anything stripped with the current
binutils will make the objects unlinkable.
----- End forwarded message -----

Jeremy

--
http://www.jerryweb.org/ : JerryWeb.org
http://sailcut.sourceforge.net/ : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software

Revision history for this message
In , Nathanael Nerode (neroden-twcny) wrote : Ugh, this is causing nasty problems

retitle 342777 ld segfaults on ia64 building some packages
severity 342777 serious
# Not only is this preventing at least three other packages from building
# from source, it's also making it hard to track down the underlying
# binutils problem due to the segfault
block 343317 with 342777
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #342777 http://bugs.debian.org/342777

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20051210112525.7216.73936.reportbug@doctormoo>
Date: Sat, 10 Dec 2005 06:25:25 -0500
From: Nathanael Nerode <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: ld segfaults on ia64 building dar

Package: binutils
Version: 2.16.1cvs20051117-1
Severity: important
Justification: breaks other packages

Log is at
http://buildd.debian.org/fetch.php?&pkg=dar&ver=2.2.4-2&arch=ia64&stamp=1133592185&file=log&as=raw

/bin/sh ../../libtool --tag=CXX --mode=link ia64-linux-gnu-g++ -g -O2 -o dar_static -all-static command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o shell_interaction.o -L../libdar -ldar -lpthread -lattr -lcrypto -lbz2 -lz -ldl
ia64-linux-gnu-g++ -g -O2 -o dar_static -static command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o shell_interaction.o -L/build/buildd/dar-2.2.4/src/libdar /build/buildd/dar-2.2.4/src/libdar/.libs/libdar.a -lpthread /lib/libattr.a -lcrypto -lbz2 -lz -ldl
collect2: ld terminated with signal 11 [Segmentation fault]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 13 Dec 2005 08:38:42 +1100
From: Ian Wienand <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: binutils on IA64 creating incorrect output

Package: binutils
Version: 2.16.1cvs20051206-1
Followup-For: Bug #342777

This bug sounds the same as

http://lists.debian.org/debian-ia64/2005/12/msg00006.html

which comes from bintuils PR

http://sourceware.org/bugzilla/show_bug.cgi?id=1991

There are some patches in that PR which need to be applied to make the
link order output correct.

Could we either get those patches back-ported, or update to latest
CVS?

-i

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc5-git-ge4f5c82a
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages binutils depends on:
ii libc6 2.3.5-8 GNU C Library: Shared libraries an

binutils recommends no packages.

-- debconf information excluded

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Dec 2005 11:45:36 +0000
From: Jeremy Laine <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, Ian Wienand <email address hidden>
Subject: Fwd: Re: kdevelop3 FTBFS on ia64 (segfault)

--=_14trsrum8whw
Content-Type: text/plain;
 charset=ISO-8859-1;
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

block 343163 with 342777
thanks

----- Forwarded message from <email address hidden> -----
On Fri, Dec 09, 2005 at 02:49:07PM +1100, Ian Wienand wrote:
> http://sourceware.org/bugzilla/show_bug.cgi?id=2008

This is a bug with strip -g which makes the stripped object wrong. HJ
has checked in a patch, however it just makes the linker abort, rather
than segfault, so at least we know what is wrong.

It seems #342777 is in the same basket, so who knows how many
libraries have been built with this incorrect strip version. Is there
any way to find out? I have requested in the above bug that somebody
backport the fix, but at this stage anything stripped with the current
binutils will make the objects unlinkable.
----- End forwarded message -----

Jeremy

--
http://www.jerryweb.org/ : JerryWeb.org
http://sailcut.sourceforge.net/ : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software

--=_14trsrum8whw
Content-Type: application/pgp-signature;
 name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline;
 filename="signature.asc"
Content-Transfer-Encoding: 7bit

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

iD8DBQFDngaZWDlSU/gp6ecRAmi6AJ9kO7TESlQd20MarWr1xPFLwWiywQCdFlTl
i3jXomN+NJglawBVw1qgRA0=
=k3fu
-----END PGP SIGNATURE-----

--=_14trsrum8whw--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 14 Dec 2005 05:55:54 +0000
From: Nathanael Nerode <email address hidden>
To: <email address hidden>
Subject: Ugh, this is causing nasty problems

retitle 342777 ld segfaults on ia64 building some packages
severity 342777 serious
# Not only is this preventing at least three other packages from building
# from source, it's also making it hard to track down the underlying
# binutils problem due to the segfault
block 343317 with 342777
thanks

Revision history for this message
In , James Troup (james-nocrew) wrote : Bug#342777: fixed in binutils 2.16.1cvs20051214-1
Download full text (3.8 KiB)

Source: binutils
Source-Version: 2.16.1cvs20051214-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.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils-dev_2.16.1cvs20051214-1_i386.deb
binutils-doc_2.16.1cvs20051214-1_all.deb
  to pool/main/b/binutils/binutils-doc_2.16.1cvs20051214-1_all.deb
binutils-multiarch_2.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils-multiarch_2.16.1cvs20051214-1_i386.deb
binutils_2.16.1cvs20051214-1.diff.gz
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1.diff.gz
binutils_2.16.1cvs20051214-1.dsc
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1.dsc
binutils_2.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1_i386.deb
binutils_2.16.1cvs20051214.orig.tar.gz
  to pool/main/b/binutils/binutils_2.16.1cvs20051214.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Troup <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 14 Dec 2005 08:06:37 +0000
Source: binutils
Binary: binutils-dev binutils-hppa64 binutils-multiarch binutils binutils-doc
Architecture: source i386 all
Version: 2.16.1cvs20051214-1
Distribution: unstable
Urgency: low
Maintainer: James Troup <email address hidden>
Changed-By: James Troup <email address hidden>
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-multiarch - Binary utilities that support multi-arch targets
Closes: 342777
Changes:
 binutils (2.16.1cvs20051214-1) unstable; urgency=low
 .
   * New upstream CVS snapshot.
    * Fix ld segfaults on ia64. Closes: #342777
 .
   * 126_fix_PROVIDE_HIDDEN.dpatch: merged upstream - removed.
Files:
 dc358798fb792b15acac2eaf1617b6d1 1513 devel standard binutils_2.16.1cvs20051214-1.dsc
 3bb0e6fe7503311f8b61286bc7e5a553 15801333 devel standard binutils_2.16.1cvs20051214.orig.tar.gz
 51d0a3dac31457f5a62d215ea1726faa 35016 devel standard binutils_2.16.1cvs20051214-1.diff.gz
 d2040a2ab7d3269a78078d1994132048 469580 doc optional binutils-doc_2.16.1cvs20051214-1_all.deb
 59954d43a423d983632b970dec7ee890 2650734 devel standard binutils_2.16.1cvs20051214-1_i386.deb
 44aea564a2ecd5d2f89d2dbc10db1b88 2400802 devel extra binutils-dev_2.16.1cvs20051214-1_i386.deb
 9ad6ec5c4e7b5fd8afa0ef92bfbe2025 7163314 devel extra binutils-multiarch_2.16.1cvs20051214-1_i386.deb

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

iQIVAwUBQ5/tQtfD8TGrKpH1AQIcEBAAh1LAQ13l3elCKArNhe3p2Jf...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.0 KiB)

Message-Id: <email address hidden>
Date: Wed, 14 Dec 2005 09:02:12 -0800
From: James Troup <email address hidden>
To: <email address hidden>
Subject: Bug#342777: fixed in binutils 2.16.1cvs20051214-1

Source: binutils
Source-Version: 2.16.1cvs20051214-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.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils-dev_2.16.1cvs20051214-1_i386.deb
binutils-doc_2.16.1cvs20051214-1_all.deb
  to pool/main/b/binutils/binutils-doc_2.16.1cvs20051214-1_all.deb
binutils-multiarch_2.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils-multiarch_2.16.1cvs20051214-1_i386.deb
binutils_2.16.1cvs20051214-1.diff.gz
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1.diff.gz
binutils_2.16.1cvs20051214-1.dsc
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1.dsc
binutils_2.16.1cvs20051214-1_i386.deb
  to pool/main/b/binutils/binutils_2.16.1cvs20051214-1_i386.deb
binutils_2.16.1cvs20051214.orig.tar.gz
  to pool/main/b/binutils/binutils_2.16.1cvs20051214.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Troup <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 14 Dec 2005 08:06:37 +0000
Source: binutils
Binary: binutils-dev binutils-hppa64 binutils-multiarch binutils binutils-doc
Architecture: source i386 all
Version: 2.16.1cvs20051214-1
Distribution: unstable
Urgency: low
Maintainer: James Troup <email address hidden>
Changed-By: James Troup <email address hidden>
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-multiarch - Binary utilities that support multi-arch targets
Closes: 342777
Changes:
 binutils (2.16.1cvs20051214-1) unstable; urgency=low
 .
   * New upstream CVS snapshot.
    * Fix ld segfaults on ia64. Closes: #342777
 .
   * 126_fix_PROVIDE_HIDDEN.dpatch: merged upstream - removed.
Files:
 dc358798fb792b15acac2eaf1617b6d1 1513 devel standard binutils_2.16.1cvs20051214-1.dsc
 3bb0e6fe7503311f8b61286bc7e5a553 15801333 devel standard binutils_2.16.1cvs20051214.orig.tar.gz
 51d0a3dac31457f5a62d215ea1726faa 35016 devel standard binutils_2.16.1cvs20051214-1.diff.gz
 d2040a2ab7d3269a78078d1994132048 469580 doc optional binutils-doc_2.16.1cvs20051214-1_all.deb
 59954d43a423d983632b970dec7ee890 2650734 devel standard binutils_2.16.1cvs20051214-1_i386.deb
 44aea564a2ecd5d2f89d2dbc10db1b88 2400802 devel extra binutils-dev_2.16.1cvs20051214-1_i386.deb
 9ad6e...

Read more...

Revision history for this message
In , Filipus Klutiero (ido) wrote : Unblock

unblock 343163 by 342777
thanks

Please retry kdevelop3 on ia64.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 15 Dec 2005 13:48:35 -0500
From: Filipus Klutiero <email address hidden>
To: <email address hidden>
Subject: Unblock

unblock 343163 by 342777
thanks

Please retry kdevelop3 on ia64.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 2.16.1cvs20051214-1ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.