FS#30657 - [gdb] - Could not load shared library symbols for linux-vdso.so.1

Attached to Project: Arch Linux
Opened by noname (spec7r) - Thursday, 12 July 2012, 18:15 GMT
Last edited by Allan McRae (Allan) - Friday, 13 July 2012, 22:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:

GDB has started to print on each `run':
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?

gdb 7.4.1-1
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 13 July 2012, 22:57 GMT
Reason for closing:  Upstream
Comment by Allan McRae (Allan) - Thursday, 12 July 2012, 23:41 GMT
On i686: warning: Could not load shared library symbols for linux-gate.so.1.

I am sure I have seen this before...
Comment by Allan McRae (Allan) - Friday, 13 July 2012, 02:29 GMT
Of course I have seen this before... It has been around since glibc-2.15.

Here is a patch:
http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob;f=gdb-glibc-vdso-workaround.patch;h=48646d7f

Investigating upstream status before I apply it.
Comment by guardec (guardec) - Friday, 13 July 2012, 17:46 GMT
Here is a patch:
http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob;f=gdb-glibc-vdso-workaround.patch;h=48646d7f

Checked, this patch helped. The patch applied to ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-CVS-7.4.50.20120710.tar.bz2.

Release 4.7.1 didn't manage to be compiled because of an error - "gdb-7.4.1/gdb/linux-nat.h:79:18:
error: field 'siginfo' has incomplete type"

Comment by Allan McRae (Allan) - Friday, 13 July 2012, 22:56 GMT
It is a cosmetic error. Upstream are not fixing it so nor will I.

Loading...