x86: multiple definition of `_X86EMU_env'

Simon Glass sjg at chromium.org
Sat Sep 5 21:15:33 CEST 2020


Hi Heinrich,

On Tue, 1 Sep 2020 at 00:41, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> 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.

OK I will send a patch.

Regards,
Simon


More information about the U-Boot mailing list