[kpatch] [BUG] Build failed on fedora 20 with 3.14.3-200.fc20.x86_64 (create-diff-object issue?)

Josh Poimboeuf jpoimboe at redhat.com
Tue May 13 12:30:07 UTC 2014


On Tue, May 13, 2014 at 07:53:08AM +0200, Robin Hack wrote:
> Hi all.
> 
> I downloaded, compiled and installed kpatch from github (last commit
> 5ea376a47a8c1e4cfad755a42dc35b458bd38fa5) and I ran into troubles.
> 
> It looks like create-diff-object have troubles with some ELF sections
> after compilation.
> 
> I attached my nasty patch (I don't know if patch works. It was just my
> first time ;) and logfile with debug information from
> create-diff-object.
> ...
> readdir.o: readdir.o: changed section .rela.altinstructions not selected for inclusion
> readdir.o: readdir.o: changed section .fixup not selected for inclusion
> readdir.o: readdir.o: changed section .rela.fixup not selected for inclusion
> readdir.o: readdir.o: changed section .rela__ex_table not selected for inclusion
> readdir.o: 4 unsupported section change(s)
> /usr/local/libexec/kpatch/create-diff-object: unreconcilable difference

Hi Robin,

Thanks for trying out kpatch.  We're still working out the kinks with
kpatch-build's ability to deal with kernel special sections.  You
managed to find a good patch. ;-)

To fix this we need to add support for 3 special sections:
.altinstructions, .fixup, __ex_table.

Can you open a github issue?


-- 
Josh




More information about the kpatch mailing list