gdb broken on 9.1/amd64?

Jeremie Le Hen jlh at FreeBSD.org
Wed Mar 6 18:17:43 UTC 2013


Hi guys,

(Can you please Cc: me on reply, I am not subscribed to this list.)

I have two different stable/9.1 amd64 machines which show the following
error message upon gdb startup:

/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1444:
internal-error: legacy_fetch_link_map_offsets called without legacy
link_map support enabled.

Can you check if you have the same problem (same or other arch)?
Thanks.

Example below:

root at ingwe:~ # sleep 3600 &
[1] 521
root at ingwe:~ # gdb -p 521
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd".
Attaching to process 521
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1444: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1444: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Reading symbols from /bin/sleep...(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
0x00000008059f188c in nanosleep () from /lib/libc.so.7
(gdb) bt
#0  0x00000008059f188c in nanosleep () from /lib/libc.so.7
#1  0x0000000000400883 in ?? ()
#2  0x00000000004006f1 in ?? ()
#3  0x0000000801890000 in ?? ()
#4  0x0000000000000000 in ?? ()


-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.


More information about the freebsd-stable mailing list