← Back to team overview

touch-packages team mailing list archive

[Bug 1365664] Re: gdb source test suites are failing in Ubuntu14.10

 

Well, GDB assumes that the VDSO contains the whole ELF *file*, not just
segments that would be loaded into memory if the object were loaded by
the dynamic loader.

In particular, none of the symbol table (.symtab, .strtab) or debug info
sections usually reside in loaded segments, but the debugger of course
has to access them.

When debugging "normal" executables or shared librares, GDB will just
read that information from the file on disk.  But for a VSDO, no such
file exists; instead, GDB assumes the full file is actually present in
memory.

("Full file" here means everything covered by any *section*, not just
those that are part of a loaded segment.)

-- 
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/1365664

Title:
  gdb source test suites are failing in Ubuntu14.10

Status in “gdb” package in Ubuntu:
  Confirmed

Bug description:
  ---Problem Description---
  gdb source test suites are failing in Ubuntu14.10
   
  Machine Type = P8 
   
  ---Steps to Reproduce---
  Install a P8 system with Power KVM and then install Ubuntu 14.10 guest.
  Then try to build and execute the gdb source test suites as below.

  root@ubuntu:~# apt-get source gdb
  root@ubuntu:~# cd gdb-7.8/
  root@ubuntu:~/gdb-7.8# dpkg-buildpackage -b 2>&1 | tee gdblog

                  === gdb Summary ===

  # of expected passes            25009
  # of unexpected failures        287
  # of unexpected successes       2
  # of expected failures          66
  # of unknown successes          1
  # of known failures             59
  # of unresolved testcases       3
  # of untested testcases         19
  # of unsupported tests          100

   
  ---uname output---
  Linux ubuntu 3.16.0-11-generic #16-Ubuntu SMP Mon Aug 25 20:02:00 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
   
  I've retested gdb from Ubuntu 14.04 (gdb-7.7-0ubuntu3.1) in the Ubuntu 14.10 VM provided by Pavaman and the number of failures curiously increased to 250 (in comparison to less than 140 on 14.04), which leads me to believe that there is something in the environment of Ubuntu 14.10 compromising gdb functionality in several testcases.

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