← Back to team overview

touch-packages team mailing list archive

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

 

Still trawling through gdb, but the issue appears to be in
bfd/elfcode.h, bfd_from_remote_memory:

shdr_end = i_ehdr.e_shoff + i_ehdr.e_shnum * i_ehdr.e_shentsize;

  [17] .shstrtab         STRTAB          0000000000000000 001603 0000be 00      0   0  1
  [18] .symtab           SYMTAB          0000000000000000 001bc8 000318 18     19  21  8

i_ehdr.e_shoff = 0x16c8. What is in the gap between 0x16c8 and 0x1bc8?
Do we have a VDSO linker script issue? (entire elf segment listing is in
comment #9)

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