Regarding the issue of compiling Linux 4.9.3 kernel

51 views
Skip to first unread message

Jay Ironman

unread,
Jul 20, 2024, 12:10:24 PM7/20/24
to S2E Developer Forum
Hello, I noticed that S2E has been updated to support a new kernel, so I have rebuilt S2E. However, I still use the Linux 4.9.3 kernel to build the Guest OS (for experimental purposes). Before the update, there were no issues with using the Linux 4.9.3 kernel to build the Guest OS with the S2E. But when I used the updated S2E to build the Guest OS with the Linux 4.9.3 kernel, the following error occurred. I don't quite understand why this happened, and the file is not included in the Linux 4.9.3 kernel. Why is it referenced? How to solve it? thank!

Snipaste_2024-07-20_21-02-58.png

Vitaly Chipounov

unread,
Jul 20, 2024, 12:54:29 PM7/20/24
to s2e...@googlegroups.com
Hi,

I dropped support for the old Linux and CGC kernels.
You will need to fix s2e.h to support older kernels if you need them. The change is pretty limited [1].

Vitaly


On Sat, Jul 20, 2024 at 6:10 PM Jay Ironman <ironman...@gmail.com> wrote:
Hello, I noticed that S2E has been updated to support a new kernel, so I have rebuilt S2E. However, I still use the Linux 4.9.3 kernel to build the Guest OS (for experimental purposes). Before the update, there were no issues with using the Linux 4.9.3 kernel to build the Guest OS with the S2E. But when I used the updated S2E to build the Guest OS with the Linux 4.9.3 kernel, the following error occurred. I don't quite understand why this happened, and the file is not included in the Linux 4.9.3 kernel. Why is it referenced? How to solve it? thank!

Snipaste_2024-07-20_21-02-58.png

--
You received this message because you are subscribed to the Google Groups "S2E Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s2e-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/s2e-dev/774bbc04-6f3c-4fee-addb-97a2bbd2599cn%40googlegroups.com.

Jay Ironman

unread,
Jul 20, 2024, 1:06:24 PM7/20/24
to S2E Developer Forum
Yes, I have noticed that I am currently rebuilding Guest OS using the Linux 6. x version kernel and have found that it can compile normally. I mainly want to enable the KASan feature, but I don't care what version of the kernel it is. Thank you for your reply.
Reply all
Reply to author
Forward
0 new messages