chromebook_coral: build failure

Simon Glass sjg at chromium.org
Mon Aug 3 20:09:35 CEST 2020


Hi Wolfgang,

On Fri, 31 Jul 2020 at 05:44, Wolfgang Wallner
<wolfgang.wallner at br-automation.com> wrote:
>
> 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?

I don't see that problem myself, but I do see an ACPI compile problem
now. that I rebase. I have added a patch for that and pushed the tree
to u-boot-dm/coral-working

Regards,
SImon


More information about the U-Boot mailing list