2 1:47 AM
> To: Chan Kim
> Cc: kernelnewbies
> Subject: Re: adding GCC optimze O0 to early_fixmap_init causes compiler
> error (BUILD_BUG failed)
>
> On Sun, Jan 23, 2022 at 4:23 AM Chan Kim wrote:
> >
> > Hello all,
> >
> > In linux 5.4.21, when tell
On Sun, Jan 23, 2022 at 4:23 AM Chan Kim wrote:
>
> Hello all,
>
> In linux 5.4.21, when tell the compiler to use no optimzation for function
> early_fixmap_init as below,
>
> (I need to compile with O0 to follow what’s happening here using gdb.)
>
> #pragma GCC push_options
>
> #pragma GCC
ewbies.org
Subject: adding GCC optimze O0 to early_fixmap_init causes compiler error
(BUILD_BUG failed)
Hello all,
In linux 5.4.21, when tell the compiler to use no optimzation for function
early_fixmap_init as below,
(I need to compile with O0 to follow what's happening here using gdb.)
#
Hello all,
In linux 5.4.21, when tell the compiler to use no optimzation for function
early_fixmap_init as below,
(I need to compile with O0 to follow what's happening here using gdb.)
#pragma GCC push_options
#pragma GCC optimze ("O0")
void __init early_fixmap_init(void)
{
...
}
#pragma