Public bug reported: Binary package hint: gdb
BFD chokes on the .gnu.hash sections. This is a duplicate of #73724, but even though the original is flagged as fixed it is still broken on x86_64. --------------------------------------------------------------- [EMAIL PROTECTED]:~$ cat hello.c #include <stdio.h> main() { printf("Hello\n"); return 0; } [EMAIL PROTECTED]:~$ gcc -g hello.c [EMAIL PROTECTED]:~$ file a.out a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped [EMAIL PROTECTED]:~$ gdb a.out GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"...BFD: /home/dalle/a.out: don't know how to handle OS specific section `.gnu.hash' [0x6ffffff6] "/home/dalle/a.out": not in executable format: File format not recognized (gdb) [EMAIL PROTECTED]:~$ gcc --version gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [EMAIL PROTECTED]:~$ uname -a Linux dalburk 2.6.20-16-generic #2 SMP Wed May 23 00:30:47 UTC 2007 x86_64 GNU/Linux ** Affects: gdb (Ubuntu) Importance: Undecided Status: Unconfirmed -- Gdb cannot debug Gcc compiled program https://bugs.launchpad.net/bugs/117959 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs