[coreboot - Bug #527] Can't compile coreboot on Arch Linux

naixin Lv <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <[email protected]>
Issue #527 has been updated by naixin Lv.

Assignee deleted (naixin Lv)

----------------------------------------
Bug #527: Can't compile coreboot on Arch Linux
https://ticket.coreboot.org/issues/527#change-1756

* Author: naixin Lv
* Status: New
* Priority: Normal
* Category: build system
* Target version: master
* Start date: 2024-02-23
* Affected versions: master
* Needs backport to: none
* Affected hardware: GIGABYTE GA-H61M-DS2
* Affected OS: none
----------------------------------------
I want to compile coreboot for my Gigabyte GA-H61M-DS2 mainboard, but I only found a short guide for this board at this site: https://www.iot-tech.dev/full.php?ar=166
After downloaded the coreboot git repository, It gave me this error:
``` shell
/home/zhongli/coreboot/util/crossgcc/xgcc/bin/x86_64-elf-ld.bfd: build/romstage/console/vtxprintf.o: in function `number':
/home/zhongli/coreboot/src/console/vtxprintf.c:63:(.text.number+0x12b): undefined reference to `__udivmoddi4'
/home/zhongli/coreboot/util/crossgcc/xgcc/bin/x86_64-elf-ld.bfd: build/romstage/lib/gcc.o: in function `__wrap___divdi3':
/home/zhongli/coreboot/src/lib/gcc.c:19:(.text.__wrap___divdi3+0x1): undefined reference to `__divdi3'
/home/zhongli/coreboot/util/crossgcc/xgcc/bin/x86_64-elf-ld.bfd: build/romstage/lib/gcc.o: in function `__wrap___udivdi3':
/home/zhongli/coreboot/src/lib/gcc.c:20:(.text.__wrap___udivdi3+0x1): undefined reference to `__udivdi3'
make: *** [src/arch/x86/Makefile.mk:191: build/cbfs/fallback/romstage.debug] Error 1

```
And I'll put my config file on here.
Any help ?

---Files--------------------------------
defconfig (726 Bytes)
ifd_shrinked.bin (4 KB)
me_shrinked.bin (96 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.