GDB can't find libgcc_s.so.1

Bug #1003700 reported by Michael Hope
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Toolchain Binaries
Triaged
Low
Unassigned

Bug Description

When debugging a program built with -shard-libgcc, arm-linux-gnueabihf-gdb can't find the library itself:

(gdb) b main
Breakpoint 1 at 0x8390: file hello.c, line 4.
(gdb) c
Continuing.
warning: Could not load shared library symbols for /lib/arm-linux-gnueabihf/libgcc_s.so.1.
Do you need "set solib-search-path" or "set sysroot"?

This is probably due to libgcc_s being in $tuple/lib instead of $tuple/libc/lib/$tuple.

Not so important as -shared-libgcc is rare as is debugging functions inside or across libgcc.

Revision history for this message
Michael Hope (michaelh1) wrote :

Ah, but it also applies to libstdc++ which is a problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.