[OE-core] [PATCH] elfutils: 0.166->0.168
Zheng, Ruoqin
zhengrq.fnst at cn.fujitsu.com
Wed Feb 8 08:26:17 UTC 2017
ping
From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of Zheng, Ruoqin
Sent: Wednesday, January 25, 2017 9:52 AM
To: Jussi Kukkonen <jussi.kukkonen at intel.com>
Cc: Patches and discussions about the oe-core layer <openembedded-core at lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] elfutils: 0.166->0.168
Hi Jussi
I really used git rename to produce 0.166 to 0.168 patch, but it did not work on last patch 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch.
I guess it’s because I used a different way from the original author. I used git format-patch, maybe he used patch -Naur?
The original patch fixed 73 files, and the index of each file is:
Index: elfutils-0.166/libelf/elf_getarsym.c
===================================================================
--- elfutils-0.166.orig/libelf/elf_getarsym.c
+++ elfutils-0.166/libelf/elf_getarsym.c
And my new patch here is like
diff --git a/libelf/elf_getarsym.c b/libelf/elf_getarsym.c
index 42ed0d1..6e7a3d5 100644
--- a/libelf/elf_getarsym.c
+++ b/libelf/elf_getarsym.c
@@ -303,7 +303,7 @@ elf_getarsym (Elf *elf, size_t *ptr)
arsym[cnt].as_hash = _dl_elf_hash (str_data);
I also found that the order of fixed files is different from original patch. So git check these changes and consider the difference is big enough to produce a new file?
Zheng
From: Jussi Kukkonen [mailto:jussi.kukkonen at intel.com]
Sent: Tuesday, January 24, 2017 4:50 PM
To: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst at cn.fujitsu.com<mailto:zhengrq.fnst at cn.fujitsu.com>>
Cc: Patches and discussions about the oe-core layer <openembedded-core at lists.openembedded.org<mailto:openembedded-core at lists.openembedded.org>>
Subject: Re: [OE-core] [PATCH] elfutils: 0.166->0.168
On 24 January 2017 at 09:13, Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com<mailto:zhengrq.fnst at cn.fujitsu.com>> wrote:
1) Upgrade elfutils from 0.166 to 0.168
2) Delete 1 patch below to make it compatible with new version
elfcmp-fix-self-comparision.patch
3) Modify 4 patches below to make it compatible with new version
elfutils-0.166/hppa_backend.diff -> elfutils-0.168/hppa_backend.diff
elfutils-0.166/mips_backend.diff -> elfutils-0.168/mips_backend.diff
elfutils-0.166/m68k_backend.diff -> elfutils-0.168/m68k_backend.diff
elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch -> elfutils-0.168/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch
The last one is now showing as one removed and one added patch. Please use git rename detection to make it more readable:
$ git config diff.renames copies
Thanks,
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170208/6e2a47a0/attachment-0002.html>
More information about the Openembedded-core
mailing list