Hi Tim, On 11.09.21 22:15, tcullen2018 via coreboot wrote: > ... > LPGCC coreinfo.bin > /home/tcullen/src/coreboot/util/crossgcc/xgcc/lib/gcc/x86_64-elf/8.3.0/../../../../x86_64-elf/bin/ld.bfd: > build/cpuinfo_module.o: in function `cpuinfo_module_init': > cpuinfo_module.c:(.text+0x45e): undefined reference to `__udivdi3'
most of coreboot and its payloads are compiled for protected mode (32 bits), so you need the i386-elf toolchain. Earlier versions of the x86_64 toolchain supported multilib (to build for 32-bit targets as well), but currently it doesn't. Maybe it's time to make xgcc aware of that. Nico _______________________________________________ coreboot mailing list -- [email protected] To unsubscribe send an email to [email protected]

