Skip to contentSkip to conversation

Compile with CONSOLE_NONE

DISCUSSION Steffen Hemer 2 participants 2 messages Nov 16, 2023 – Nov 20, 2023

lore
Share & tools
lore
#0 lore raw

Hey everyone,

did somebody recently compile with CONFIG_CONSOLE_NONE set?? For an am335x build (so with omap_defconfig), I get a linker error for both v2022.09.0 and recent:

arm-linux-gnueabihf-ld: common/bootm.o: in function `bootm_boot':
barebox/common/bootm.c:584: undefined reference to `console_list'

I found that this config was rotten already once:

https://lore.barebox.org/barebox/CANvTkNYwuCuGQMY40VC=dJxzW8rhBjDA_HE_Mb8AuV9iep7sYw@mail.gmail.com/t/

May that be the case again?

Regards

Steffen

Signature · 8 lines
M.Sc. Steffen Hemer
-Software Developer/FAE-

PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany

Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber, 
Dipl.-Ing. (FH) Marcus Lickes | Handelsregister Mainz HRB 4656 | 
Finanzamt Mainz | St.Nr. 266500608, DE 149059855
#1 lore raw

Hello Steffen,

Quoted 6 lines · Steffen Hemer

Hey everyone,

did somebody recently compile with CONFIG_CONSOLE_NONE set?? For an am335x build (so with omap_defconfig), I get a linker error for both v2022.09.0 and recent:

Quoted 8 lines

arm-linux-gnueabihf-ld: common/bootm.o: in function `bootm_boot':
barebox/common/bootm.c:584: undefined reference to `console_list'

I found that this config was rotten already once:

https://lore.barebox.org/barebox/CANvTkNYwuCuGQMY40VC=dJxzW8rhBjDA_HE_Mb8AuV9iep7sYw@mail.gmail.com/t/

May that be the case again?

Thanks for the report. I indeed broke CONFIG_CONSOLE_NONE a while back. Please see the series I just sent out that should fix that.

To avoid future regressions, we should add a defconfig with CONFIG_CONSOLE_NONE, so they get regular testing by Github CI.

Could you submit a patch with one such config? Optimally, it would have other less used size-conscious options enabled as well to get more coverage.

Cheers,
Ahmad

Quoted 5 lines

Regards

Steffen

Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |