Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428238 - sys-devel/gdb warning: Could not load shared library symbols for linux-vdso.so.1.
Summary: sys-devel/gdb warning: Could not load shared library symbols for linux-vdso.s...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/gdb-patches/...
Whiteboard:
Keywords: PATCH
: 431400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-27 00:40 UTC by Ben Longbons
Modified: 2014-08-01 19:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Longbons 2012-07-27 00:40:17 UTC
With recent glibc, every time gdb starts a program, the following is printed:
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?

A patch for gdb is available here:
http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html
I have tested this with gdb-7.4.1 on amd64, with a native amd64 program,
with glibc-2.15-r2

Note that this won't be fixed in glibc:
http://sourceware.org/bugzilla/show_bug.cgi?id=13097


Reproducible: Always

Steps to Reproduce:
gdb -ex run true
Comment 1 SpanKY gentoo-dev 2012-07-28 04:04:00 UTC
gdb-7.5 will be out shortly, and this isn't really a regression, so i'm inclined to just wait for that
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-15 00:53:59 UTC
*** Bug 431400 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-18 15:24:43 UTC
*** Bug 431678 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2012-08-18 15:27:25 UTC
gdb-7.5 is in the tree now, so this should be sorted
Comment 5 Raymond Jennings 2012-08-18 16:05:57 UTC
Nope, still broken.

I just merged 7.5, and it's showing the same error with linux-gate.so.1 as before.

Should I open a new bug or should this one be remarked as in progress?
Comment 6 Mart Raudsepp gentoo-dev 2012-08-18 19:07:25 UTC
Reopening for consideration
Comment 7 Toralf Förster gentoo-dev 2014-08-01 19:49:31 UTC
Hhm, still a problem here :

$ gdb -ex run true
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /bin/true...(no debugging symbols found)...done.
Starting program: /bin/true
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Inferior 1 (process 13674) exited normally]
(gdb) quit