Code Monkey home page Code Monkey logo

Comments (4)

jpoimboe avatar jpoimboe commented on August 19, 2024

This was fixed by #114, but an outstanding question remains. Why did we have to hard code the edge case checking, instead of it getting caught by the inclusion checking logic?

from kpatch.

sjenning avatar sjenning commented on August 19, 2024

@jpoimboe this is on my list to check out.

from kpatch.

sjenning avatar sjenning commented on August 19, 2024

Coming back to this, I reverted 7b15e23 and tried to recreate this issue but couldn't. I get the expected result:

$ kpatch-build patch
Using cache at /home/sjennings/.kpatch/3.13.10-200.fc20.x86_64/src
Testing patch file
patching file fs/proc/meminfo.c
Building original kernel
Building patched kernel
Detecting changed objects
Rebuilding changed objects
Extracting new and modified ELF sections
meminfo.o: changed function: meminfo_proc_show
meminfo.o: changed section .init.text not selected for inclusion
/usr/local/libexec/kpatch/create-diff-object: unreconcilable difference
ERROR: kpatch build failed. Check /tmp/kpatch-build-1398711757.log for more details.

I'm not sure if I tried to recreate this issue before "fixing" it. @jpoimboe can you recreate after reverting the fix?

from kpatch.

jpoimboe avatar jpoimboe commented on August 19, 2024

Yeah, that's really weird, I'm not able to recreate either. I guess it must have been user error somehow. So we can revert that commit.

from kpatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.