Re: [PATCH v2] x86: Discard .note.gnu.property sections

2021-06-20 Thread Bin Meng
On Fri, Jun 18, 2021 at 3:09 PM Bin Meng wrote: > > When switching to kernel.org x86_64 gcc 11.1.0 toolchain, u-boot.rom > built from qemu-x86_defconfig no longer boots anymore. Investigation > shows that U-Boot fails at a very early stage during the boot process, > in fdtdec_prepare_fdt() where f

[PATCH v2] x86: Discard .note.gnu.property sections

2021-06-18 Thread Bin Meng
When switching to kernel.org x86_64 gcc 11.1.0 toolchain, u-boot.rom built from qemu-x86_defconfig no longer boots anymore. Investigation shows that U-Boot fails at a very early stage during the boot process, in fdtdec_prepare_fdt() where fdt_check_header() complains that there is not a valid devic