Le lun. 20 mars 2023 à 12:00, Genes Lists <lists@sapience.com> a écrit :
On 3/20/23 06:44, lacsaP Patatetom wrote:

Please don't top post on mailing lists.

I use GMail and just click on "Respond to all" : is this the "top post" ?
should I only answer you or not put you individually in the answer since you are in the list ?
 

I don't understand what 'problem' you are speaking of. All you've asked
is if you can install a kernel headers from a different build - the
general answer is "no" - don't ever do that.

I don't understand either : it makes me think of a dialogue of the deaf :-)
 

I already explained if you want to compile kernel package that you hav
emodified, bump pkgrel and compile it - it will create both kernel and
kernel headers package - install and use them both.

if I understand correctly, I can install my package linux-lts-perso-6.1.15-2-x86_64.pkg.tar.zst, boot on it (eg. "my" kernel) and continue to use the binaries present on my system while they have not been compiled with its (new) headers and especially for the binaries that call the functions present in the blk-core.c file ?
 

Cross compile?? Unless you're compiling on one architecture for another
I don't understand the question. Since you're compiling a kernel for a
VM your host and VM are presumably both x86-64.

I put cross in quotes to mean some analogy with this one (eg. cross-compilation: x86 > arm / me: 6.1.20 > 6.1.15)
 

Honestly, my best advice to you is stop trying to build kernels.