testsuite failures in the ld testsuite on arm-linux-gnueabi

Bug #446478 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc
Invalid
Medium
binutils (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
Won't Fix
Undecided
Unassigned
eglibc (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Undecided
Unassigned
gcc-4.4 (Debian)
Fix Released
Unknown
gcc-4.4 (Ubuntu)
Invalid
Undecided
Unassigned
Karmic
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: binutils

the following tests in the ld testsuite fail on arm-linux-gnueabi; they don't fail on Debian unstable, building binutils without the hardening options or with gcc-4.3 doesn't make any difference.

Running /build/buildd/binutils-2.19.91.20091006/ld/testsuite/ld-elfvsb/elfvsb.exp ...
FAIL: visibility (hidden_normal) (non PIC)
FAIL: visibility (hidden_normal) (non PIC, load offset)
FAIL: visibility (normal) (non PIC)
FAIL: visibility (normal) (non PIC, load offset)

Running /build/buildd/binutils-2.19.91.20091006/ld/testsuite/ld-shared/shared.exp ...
FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)

Tags: armel

Related branches

Matthias Klose (doko)
Changed in binutils (Ubuntu):
status: New → Confirmed
tags: added: armel
Revision history for this message
Loïc Minier (lool) wrote :

It's not clear how badly these are affecting us; are real binaries affected by the failures? They look like another instance of non-PIC binaries.

Changed in binutils (Ubuntu):
milestone: none → ubuntu-9.10
Revision history for this message
Matthias Klose (doko) wrote :

current binutils rebuilt with gcc-4.3 and eglibc-2.9 (last binaries found in the archive) don't show the failures.

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

as soon as binutils is built with either gcc-4.4 or eglibc-2.10.1 the testcases start to fail.

Changed in eglibc (Ubuntu Karmic):
status: New → Confirmed
Changed in gcc-4.4 (Ubuntu Karmic):
status: New → Confirmed
Changed in binutils (Ubuntu Karmic):
status: Confirmed → New
Revision history for this message
Matthias Klose (doko) wrote :

seen as well on debian/testing, debian/unstable when built with 4.4 and 4.5
filed http://gcc.gnu.org/PR41684

Changed in gcc:
status: Unknown → Confirmed
Revision history for this message
Loïc Minier (lool) wrote :

With 2.20-0ubuntu1, still fails:
Running /build/buildd/binutils-2.20/ld/testsuite/ld-elfvsb/elfvsb.exp ...
FAIL: visibility (hidden_normal) (non PIC)
FAIL: visibility (hidden_normal) (non PIC, load offset)
FAIL: visibility (normal) (non PIC)
FAIL: visibility (normal) (non PIC, load offset)

Running /build/buildd/binutils-2.20/ld/testsuite/ld-shared/shared.exp ...
FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)

Revision history for this message
Loïc Minier (lool) wrote :

(This is from /usr/share/doc/binutils/test-summary.gz)

Changed in binutils (Ubuntu Karmic):
status: New → Confirmed
Revision history for this message
Loïc Minier (lool) wrote :

I'm closing the task on eglibc since I don't think it relates to the binutils failures and it is PIC again in its latest version.

Revision history for this message
Loïc Minier (lool) wrote :

Too late for karmic

Changed in gcc-4.4 (Ubuntu Karmic):
status: Confirmed → Won't Fix
Revision history for this message
Loïc Minier (lool) wrote :

binutils will probably just need a rebuild when gcc-4.4 is fixed, but this is too late for karmic now.

Changed in binutils (Ubuntu Karmic):
status: Confirmed → Won't Fix
Changed in eglibc (Ubuntu Karmic):
status: Confirmed → Fix Released
Matthias Klose (doko)
Changed in binutils (Ubuntu Karmic):
milestone: ubuntu-9.10 → none
Changed in binutils (Ubuntu):
milestone: ubuntu-9.10 → none
Changed in gcc:
status: Confirmed → Invalid
Revision history for this message
Paul Larson (pwlars) wrote :

I get the impression that this should be fixed for Lucid already, is that correct? If there are no plans to SRU this for karmic, can we go ahead and close the remaining tasks?

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

no, the tests still fail in lucid with both eglibc-2.10.x and 2.11

Changed in gcc-4.4 (Debian):
status: Unknown → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :
Changed in gcc-4.4 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.20-6ubuntu1

---------------
binutils (2.20-6ubuntu1) lucid; urgency=low

  * Merge with Debian; remaining changes:
    - Build binutils-static.

binutils (2.20-6) unstable; urgency=low

  * Apply updates from the 2.20 branch up to 20100205
    - 135_arm_dis_thumb2.dpatch: Remove, applied upstream.
    - 136_gold_gnu_debuglink.dpatch: Remove, applied upstream.
  * armel: Fix ld-shared/shared.exp and ld-elfvsb/elfvsb.exp failures
    (proposed patch, Matthew Gretton-Dann). Closes: #564685. LP: #446478.
  * Fix PR other/42602: demangling a global constructors symbol.
    Closes: #561150.
 -- Matthias Klose <email address hidden> Fri, 05 Feb 2010 20:30:59 +0100

Changed in binutils (Ubuntu):
status: Confirmed → Fix Released
Changed in gcc-4.4 (Debian):
status: Confirmed → Fix Released
Changed in gcc:
importance: Unknown → Medium
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.