https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to rudi from comment #5) > Compiling atf with gcc-12.1.0 for the NXP iMX8 target results in the same > error. > > CFLAGS=+“ --param=min-pagesize=0” allows the build to complete. Yes ATF needs to have that addded to their makefile as it is a firmware which has memory at 0. Note this PR is about AVR only as that target always have memory at 0. Most other targets should not set --param=min-pagesize=0 by default (there are a few others); it is up to the firmware software to get set this option to tell GCC there is memory at location 0; because we want to warn about the normal user case. Firmware is a special case and all.