When encountering this issue while compiling the kernel, should I choose 1, 2, or 3?

Moderator: Forum moderators

Post Reply
debianfan
Posts: 60
Joined: Wed Dec 01, 2021 4:44 am
Has thanked: 9 times
Been thanked: 2 times

When encountering this issue while compiling the kernel, should I choose 1, 2, or 3?

Post by debianfan »

* Restart config...
*
*
* Memory initialization
*
Initialize kernel stack variables at function entry
> 1. no automatic stack variable initialization (weakest) (INIT_STACK_NONE)
2. pattern-init everything (strongest) (INIT_STACK_ALL_PATTERN) (NEW)
3. zero-init everything (strongest and safest) (INIT_STACK_ALL_ZERO) (NEW)

User avatar
rockedge
Site Admin
Posts: 6636
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2828 times
Been thanked: 2693 times
Contact:

Re: When encountering this issue while compiling the kernel, should you choose 1, 2, or 3?

Post by rockedge »

It depends on what this kernel will be for. I would go with #3 and make a note that it was chosen so if the kernel fails that choice is in account when tracking down a reason.

Sometimes there can be a cascading effect when certain options are combined that could prevent the kernel from compiling. Though this is all part of the process of compiling a useful kernel.

debianfan
Posts: 60
Joined: Wed Dec 01, 2021 4:44 am
Has thanked: 9 times
Been thanked: 2 times

Re: When encountering this issue while compiling the kernel, should you choose 1, 2, or 3?

Post by debianfan »

I just want to know which compatibility is used by default.
I used to compile directly without popping up this prompt. But now it pops up and I want to know the difference between these three options. You must select a number to continue.
Thank you for your reply!

jamesbond
Posts: 720
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 403 times

Re: When encountering this issue while compiling the kernel, should I choose 1, 2, or 3?

Post by jamesbond »

The default in previous kernels is (1).

Post Reply

Return to “Compile”