Dear friends, I just encountered a menuconfig problem on a fresh coreboot. Steps to reproduce: 1) Testing environment - fully updated Artix Linux (arch w/o systemd): 6.5.11 linux kernel etc. 2) At the freshly cloned coreboot directory (+ submodules checkout'ed), git reset --hard 7eab8ef and then make menuconfig - will cause these errors:
/usr/bin/ld: build/util/kconfig/lxdialog/yesno.o: warning: relocation against `acs_map' in read-only section `.text' /usr/bin/ld: build/util/kconfig/mconf.o: in function `show_help': mconf.c:(.text+0x1770): undefined reference to `stdscr' /usr/bin/ld: mconf.c:(.text+0x177c): undefined reference to `stdscr' /usr/bin/ld: build/util/kconfig/lxdialog/checklist.o: in function `print_item': checklist.c:(.text+0x82): undefined reference to `wattrset' /usr/bin/ld: checklist.c:(.text+0x98): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xb2): undefined reference to `waddch' /usr/bin/ld: checklist.c:(.text+0xd8): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xfe): undefined reference to `wattrset'
3) One commit before - 7f93aa4 - the things worked OK
Curious, if anyone else has the same error? Please take a look at this
On 2023-11-26 10:15, Mike Banon wrote:
Dear friends, I just encountered a menuconfig problem on a fresh coreboot. Steps to reproduce:
- Testing environment - fully updated Artix Linux (arch w/o systemd):
6.5.11 linux kernel etc. 2) At the freshly cloned coreboot directory (+ submodules checkout'ed), git reset --hard 7eab8ef and then make menuconfig - will cause these errors:
/usr/bin/ld: build/util/kconfig/lxdialog/yesno.o: warning: relocation against `acs_map' in read-only section `.text' /usr/bin/ld: build/util/kconfig/mconf.o: in function `show_help': mconf.c:(.text+0x1770): undefined reference to `stdscr' /usr/bin/ld: mconf.c:(.text+0x177c): undefined reference to `stdscr' /usr/bin/ld: build/util/kconfig/lxdialog/checklist.o: in function `print_item': checklist.c:(.text+0x82): undefined reference to `wattrset' /usr/bin/ld: checklist.c:(.text+0x98): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xb2): undefined reference to `waddch' /usr/bin/ld: checklist.c:(.text+0xd8): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xfe): undefined reference to `wattrset'
- One commit before - 7f93aa4 - the things worked OK
Curious, if anyone else has the same error? Please take a look at this
I'm getting the same issue with the commits you mentioned. Seems like things broke during the update to upstream Kconfig.
Nicholas
Am 26.11.2023 um 18:15 schrieb Mike Banon:
/usr/bin/ld: build/util/kconfig/lxdialog/yesno.o: warning: relocation against `acs_map' in read-only section `.text' /usr/bin/ld: build/util/kconfig/mconf.o: in function `show_help': mconf.c:(.text+0x1770): undefined reference to `stdscr' /usr/bin/ld: mconf.c:(.text+0x177c): undefined reference to `stdscr' /usr/bin/ld: build/util/kconfig/lxdialog/checklist.o: in function `print_item': checklist.c:(.text+0x82): undefined reference to `wattrset' /usr/bin/ld: checklist.c:(.text+0x98): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xb2): undefined reference to `waddch' /usr/bin/ld: checklist.c:(.text+0xd8): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xfe): undefined reference to `wattrset'
Curious, if anyone else has the same error? Please take a look at this
Oops! https://review.coreboot.org/c/coreboot/+/79264 fixes it for me.
Patrick
Patrick, thank you so much for such a quick & working fix, it is really appreciated ;-)
On Sun, Nov 26, 2023 at 9:20 PM Patrick Georgi patrick@coreboot.org wrote:
Am 26.11.2023 um 18:15 schrieb Mike Banon:
/usr/bin/ld: build/util/kconfig/lxdialog/yesno.o: warning: relocation against `acs_map' in read-only section `.text' /usr/bin/ld: build/util/kconfig/mconf.o: in function `show_help': mconf.c:(.text+0x1770): undefined reference to `stdscr' /usr/bin/ld: mconf.c:(.text+0x177c): undefined reference to `stdscr' /usr/bin/ld: build/util/kconfig/lxdialog/checklist.o: in function `print_item': checklist.c:(.text+0x82): undefined reference to `wattrset' /usr/bin/ld: checklist.c:(.text+0x98): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xb2): undefined reference to `waddch' /usr/bin/ld: checklist.c:(.text+0xd8): undefined reference to `wmove' /usr/bin/ld: checklist.c:(.text+0xfe): undefined reference to `wattrset'
Curious, if anyone else has the same error? Please take a look at this
Oops! https://review.coreboot.org/c/coreboot/+/79264 fixes it for me.
Patrick
-- Best regards, Mike Banon Open Source Community Manager of 3mdeb - https://3mdeb.com/