Hi Mike, On Wed, Sep 12, 2018 at 9:13 AM Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx> wrote:
I'm having troubles with building the current -mm tree for m68k with gcc-8.1.0. $ export ARCH=m68k $ export CROSS_COMPILE=/opt/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- $ make O=/home/rppt/build/cross/m68k/defconfig defconfig all ... GEN .version CHK include/generated/compile.h AR built-in.a LD vmlinux.o MODPOST vmlinux.o drivers/rtc/rtc-proc.o: In function `is_rtc_hctosys.isra.0': rtc-proc.c:(.text+0x2a0): undefined reference to `strcmp' /home/rppt/git/linux/Makefile:1040: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1 make[1]: Leaving directory '/home/rppt/build/cross/m68k/defconfig' Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 I've checked with several other configs and it seems that CONFIG_MMU=y and CONFIG_MMU_MOTOROLA=y are causing the trouble. The same configs are buildable with gcc-4.9.0.
Please check https://lore.kernel.org/lkml/28ebe45d-3dbd-2a82-f537-b0725f7a2bcf@xxxxxxxxxxxxx/ Does that help? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds