m68k allmodconfig build errors
From: Randy Dunlap
Date: Thu Jul 19 2018 - 18:39:54 EST
Hi Geert,
I am seeing a few errors when cross-building m68k on x86_64, using the
toolchain at https://mirrors.edge.kernel.org/pub/tools/crosstool/ (thanks, Arnd).
(so this is gcc 8.1.0)
block/partitions/ldm.o: In function `ldm_partition':
ldm.c:(.text+0x1900): undefined reference to `strcmp'
ldm.c:(.text+0x1964): undefined reference to `strcmp'
drivers/rtc/rtc-proc.o: In function `is_rtc_hctosys':
rtc-proc.c:(.text+0x290): undefined reference to `strcmp'
drivers/watchdog/watchdog_pretimeout.o: In function `watchdog_register_governor':
(.text+0x142): undefined reference to `strcmp'
Adding #include <linux/string.h> does not help.
Is this a toolchain problem or drivers or something else?
help?
thanks,
--
~Randy