← Back to team overview

touch-packages team mailing list archive

[Bug 1376281] Comment bridged from LTC Bugzilla

 

------- Comment From emachado@xxxxxxxxxx 2014-10-01 16:43 EDT-------
The gdb packages including the patch were uploaded to:

http://ausgsa.ibm.com/~emachado/public/gdb/lp13656641/

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1376281

Title:
  gdb: "Can't read symbols from system-supplied DSO at 0x3fffb7fa0000:
  File truncated"

Status in “gdb” package in Ubuntu:
  Confirmed

Bug description:
  ---Problem Description---
  GDB produces an odd message about a failure to read symbols from the system DSO when running executables on LE Ubuntu 14.10 with 3.16 kernel.  This is a regression from LE Ubuntu 14.04, where the message is not produced.

  Bad case:

  $ uname -r
  3.16.0-6-generic
  $ gdb /bin/ls
  GNU gdb (Ubuntu 7.7.91.20140723-0ubuntu1) 7.7.91.20140723-cvs
  ...
  (gdb) run
  Starting program: /bin/ls 
  Can't read symbols from system-supplied DSO at 0x3fffb7fa0000: File truncated
  ...
  [Inferior 1 (process 1573) exited normally]
  (gdb) 

  Note the "Can't read symbols..." message.

  Good case (LE Ubuntu 14.04):

  $ uname -r
  3.13.0-32-generic
  $ gdb /bin/ls
  GNU gdb (Ubuntu 7.7-0ubuntu3.2) 7.7
  ...
  (gdb) run
  Starting program: /bin/ls 
  ...
  [Inferior 1 (process 91140) exited normally]
  (gdb)

  I haven't tried on the 3.15 kernel, so I don't know if the problem is
  sensitve to the 3.16 kernel being ELFv2.

   
  ---uname output---
  Linux tul115p1 3.16.0-6-generic #11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = 8286-42A 
   
  ---Steps to Reproduce---
   See description; occurs when running any application under gdb.
   
  The failing output above is with the 3.16 kernel supplied by Ubuntu, so the problem happens both with locally-built and Canonical/Ubuntu-supplied kernels on 14.10.

  This issue was recently fixed on upstream binutils-gdb:

  https://sourceware.org/ml/gdb-patches/2014-09/msg00594.html

  The attached patch against gdb 7.8-0ubuntu1 for Ubuntu 14.10 fixes the
  issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1376281/+subscriptions