All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL][PATCH 0/1] package.bbclass: fix image_debugfs symlinks
@ 2020-10-08 16:59 William Hauser
  2020-10-08 16:59 ` [PULL][PATCH 1/1] " William Hauser
  0 siblings, 1 reply; 4+ messages in thread
From: William Hauser @ 2020-10-08 16:59 UTC (permalink / raw)
  To: poky; +Cc: William Hauser

The debugfs does not contain any symlinks, causing gdb to be unable to locate
libraries whose minor versions are abstracted out by using symlinks.
i.e. executables link against libpcap.so/libpcap.so.1, not libpcap.so.1.9.1

This is a result a flawed fstat meant to stop broken symlinks from being copied
to the debugfs. My suggested change removes this fstat in favor of an earlier
check for broken symlinks that is already performed. More details in the commit
message.

This change was tested by examining libpcap's build artifacts.

debugfs/usr/lib/.debug/ contents before:
libpcap.so.1.9.1

debugfs/usr/lib/.debug/ contents after:
libpcap.so -> libpcap.so.1
libpcap.so.1 -> libpcap.so.1.9.1
libpcap.so.1.9.1

William Hauser (1):
  package.bbclass: fix image_debugfs symlinks

 meta/classes/package.bbclass | 8 --------
 1 file changed, 8 deletions(-)

-- 
2.15.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-04 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08 16:59 [PULL][PATCH 0/1] package.bbclass: fix image_debugfs symlinks William Hauser
2020-10-08 16:59 ` [PULL][PATCH 1/1] " William Hauser
2020-11-04 22:18   ` [poky] " Randy MacLeod
2020-11-04 22:32     ` William Hauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.