RE: adding GCC optimze O0 to early_fixmap_init causes compiler error (BUILD_BUG failed)

2022-01-23 Thread Chan Kim
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

Re: adding GCC optimze O0 to early_fixmap_init causes compiler error (BUILD_BUG failed)

2022-01-23 Thread jim . cromie
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

RE: adding GCC optimze O0 to early_fixmap_init causes compiler error (BUILD_BUG failed)

2022-01-23 Thread Chan Kim
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.) #

adding GCC optimze O0 to early_fixmap_init causes compiler error (BUILD_BUG failed)

2022-01-23 Thread Chan Kim
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