mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 14:49:50 +00:00
build-compare: update to latest revision
Drop the patch as upstream has refactored the code, and recent reproducible builds work has likely rendered it unnecessary. (From OE-Core rev: fb26d418fdf556dc28df8304d9856fedcb586041) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3e4dd4c8fd
commit
622b3f851e
@@ -5,15 +5,13 @@ HOMEPAGE = "https://github.com/openSUSE/build-compare"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
SRC_URI = "git://github.com/openSUSE/build-compare.git \
|
||||
file://Ignore-DWARF-sections.patch;striplevel=1 \
|
||||
"
|
||||
SRC_URI = "git://github.com/openSUSE/build-compare.git"
|
||||
|
||||
# Date matches entry in build-compare.changes and date of SRCREV.
|
||||
#
|
||||
SRCREV = "4dfa207660776cae120afa4353aec7f1f2a998d2"
|
||||
SRCREV = "28bf642fcfdab94adb9b847329338005be6f73c7"
|
||||
PE = "1"
|
||||
PV = "2019.08.14+git${SRCPV}"
|
||||
PV = "2020.03.31+git${SRCPV}"
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
From 015715694eadd714b903f30ade876e0738d44974 Mon Sep 17 00:00:00 2001
|
||||
From: Randy Witt <randy.e.witt@linux.intel.com>
|
||||
Date: Mon, 5 Jan 2015 15:09:20 -0800
|
||||
Subject: [PATCH] Ignore DWARF sections.
|
||||
|
||||
Assume for now that we don't care about the DWARF sections due to path
|
||||
differences. However, in the case the tool is ran on a "debug" package
|
||||
it will most likely falsely say the packages have no differences.
|
||||
|
||||
Upstream-Status: Inappropriate [other]
|
||||
|
||||
The package difference tool is correctly labelling the packages as different
|
||||
when the DWARF sections don't match due to paths. The paths in the debug info
|
||||
should actually be made to be the same using compile flags or some other
|
||||
mechanism.
|
||||
|
||||
However, to make the tool more useful to Yocto until the work can be done
|
||||
to ensure identical paths in debug sections, this patch is being applied.
|
||||
|
||||
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
|
||||
---
|
||||
pkg-diff.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pkg-diff.sh b/pkg-diff.sh
|
||||
index 9c2125e..b0d77c8 100755
|
||||
--- a/pkg-diff.sh
|
||||
+++ b/pkg-diff.sh
|
||||
@@ -851,7 +851,7 @@ check_single_file()
|
||||
echo "" >$file1
|
||||
echo "" >$file2
|
||||
# Don't compare .build-id, .gnu_debuglink and .gnu_debugdata sections
|
||||
- sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e "\.gnu_debugdata" | tr "\n" " ")"
|
||||
+ sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e "\.gnu_debugdata" -e "\.debug_abbrev" -e "\.debug_aranges" -e "\.debug_frame" -e "\.debug_info" -e "\.debug_line" -e "\.debug_loc" -e "\.debug_macinfo" -e "\.debug_pubnames" -e "\.debug_pubtypes" -e "\.debug_ranges" -e "\.debug_str" | tr "\n" " ")"
|
||||
for section in $sections; do
|
||||
$OBJDUMP -s -j $section old/$file | sed "s,^old/,," > $file1
|
||||
$OBJDUMP -s -j $section new/$file | sed "s,^new/,," > $file2
|
||||
Reference in New Issue
Block a user