x86: multiple definition of `_X86EMU_env'

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 1 08:41:09 CEST 2020


Dear Simon,

make chromebook_coral_defconfig
make

using gcc (Debian 10.2.0-5) 10.2.0 and GNU ld (GNU Binutils for Debian)
2.35 results in:

ld.bfd: drivers/built-in.o:drivers/bios_emulator/x86emu/sys.c:47:
multiple definition of `_X86EMU_env';
arch/x86/lib/built-in.o:arch/x86/lib/bios.c:25: first defined here

ld.bfd: arch/x86/cpu/built-in.o: warning:
relocation in read-only section `.text'
ld.bfd: warning: creating DT_TEXTREL in a PIE
make: *** [Makefile:1753: u-boot] Error 1

My git head is at current origin/master: 23e333a5c083a000d0.

Using

Best regards

Heinrich


More information about the U-Boot mailing list