[Buildroot] BR2_ROOTFS_MERGED_USR and gdb

Pieterjan Camerlynck pieterjan.camerlynck at gmail.com
Wed Nov 25 13:53:36 UTC 2015


Hi,

Since the introduction of BR2_ROOTFS_MERGED_USR, /lib is now a symlink
to /usr/lib on the target. In the sysroot directory however, /lib and
/usr/lib are separate directories.

When remote debugging, this causes gdb to search only for libraries in
/lib under the sysroot directory.
Is there a way to fix this situation other than using "set solib-search-path"?

Thanks,
Pieterjan


More information about the buildroot mailing list