From: "William Hauser" <william.hauser@meraki.net>
To: poky@lists.yoctoproject.org
Cc: William Hauser <william.hauser@meraki.com>
Subject: [PULL][PATCH 0/1] package.bbclass: fix image_debugfs symlinks
Date: Thu, 8 Oct 2020 09:59:25 -0700 [thread overview]
Message-ID: <cover.1602083275.git.whauser@meraki.com> (raw)
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
next reply other threads:[~2020-10-08 16:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 16:59 William Hauser [this message]
2020-10-08 16:59 ` [PULL][PATCH 1/1] package.bbclass: fix image_debugfs symlinks William Hauser
2020-11-04 22:18 ` [poky] " Randy MacLeod
2020-11-04 22:32 ` William Hauser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1602083275.git.whauser@meraki.com \
--to=william.hauser@meraki.net \
--cc=poky@lists.yoctoproject.org \
--cc=william.hauser@meraki.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.