Giter Site home page Giter Site logo

Another build issue about vbh HOT 2 OPEN

intel avatar intel commented on September 14, 2024
Another build issue

from vbh.

Comments (2)

sainath14 avatar sainath14 commented on September 14, 2024

We just made it working with Linux kernel v5.4. Please give it a try.

from vbh.

lucabe72 avatar lucabe72 commented on September 14, 2024

Hi,

I pulled the new commit, and I tried recompiling. Indeed, the issue with "ASM_VMX_VMREAD_RDX_RAX" & friends (bug #14) is fixed. But this specific bug (#15: __stack_chk_fail undefined) is still present.

So, I investigated it a little bit, and it seems that this bug happens when the vbh module is built against a kernel that has "CONFIG_STACKPROTECTOR_STRONG" disabled.
I think the bug is your "ccflags-y += $(INCLUDES) -O2 -Wall -fstack-protector-strong ..." in the Makefile: "-fstack-protector-strong" requires the kernel to define "__stack_chk_fail", so it cannot be used if the kernel is not built with "CONFIG_STACKPROTECTOR_STRONG=y"... On the other hand, if the kernel is built with "CONFIG_STACKPROTECTOR_STRONG=y" then kbuild automatically adds "-fstack-protector-strong" to the modules' build options (so your "ccflags-y += ..." seems to be redundant).

Luca

from vbh.

Related Issues (5)

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.