chromebook_coral: build failure

Wolfgang Wallner wolfgang.wallner at br-automation.com
Fri Jul 31 13:43:57 CEST 2020


Hi Simon,

while trying out your ACPI patches I tried to compile chromebook_coral_defconfig
as a reference. Building this defconfig fails for multiple definitions
of "_X86EMU_env":

$ git checkout v2020.07
$ make distclean
$ make chromebook_coral_defconfig
$ make

[...]
  LDS     u-boot.lds
  LD      u-boot
ld.bfd: drivers/built-in.o:(.bss._X86EMU_env+0x0): multiple definition of `_X86EMU_env'; arch/x86/lib/built-in.o:(.bss._X86EMU_env+0x0): first defined here
make: *** [Makefile:1755: u-boot] Error 1

A quick and dirty workaround was to drop "#define CONFIG_BIOSEMU" from
include/configs/x86-chromebook.h. With this change chromebook_coral_defconfig
compiles fine.

Do you know what is going on here, and what might be a proper fix?

regards, Wolfgang


More information about the U-Boot mailing list