In package.bbclass, the split_and_strip_files processes debug splitting,
if two hardlinks locate in different dirs, one of them could not
find separated debug info file
[snip]
$ readelf --debug-dump /usr/libexec/git-core/git-add
Contents of the .gnu_debuglink section:

  Separate debug info file: git

$ gdb --quiet /usr/libexec/git-core/git-add
Reading symbols from /usr/libexec/git-core/git-add...(no debugging symbols 
found)...done.
[snip]

Define INSTALL_SYMLINKS to have everything that can be symlinked between
bin/ and libexec/ to use relative symlinks between the two. It workarounds
the issue.

Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
---
 meta/recipes-devtools/git/git_2.18.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/git/git_2.18.0.bb 
b/meta/recipes-devtools/git/git_2.18.0.bb
index 72b43a7..e95097e 100644
--- a/meta/recipes-devtools/git/git_2.18.0.bb
+++ b/meta/recipes-devtools/git/git_2.18.0.bb
@@ -3,7 +3,7 @@ require git.inc
 EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
                  
ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
                  "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
+EXTRA_OEMAKE += "NO_GETTEXT=1 INSTALL_SYMLINKS=1"
 
 SRC_URI[tarball.md5sum] = "3f210b2dd1613d90ded3b8732b052025"
 SRC_URI[tarball.sha256sum] = 
"94faf2c0b02a7920b0b46f4961d8e9cad08e81418614102898a55f980fa3e7e4"
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to