Hi Greet,

On Wed, Sep 12, 2018 at 09:22:50AM +0200, Geert Uytterhoeven wrote:
> Hi Mike,
> 
> On Wed, Sep 12, 2018 at 9:13 AM Mike Rapoport <[email protected]> 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/[email protected]/
> 
> Does that help? Thanks!

Yes, this explains what went wrong, thanks!
 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> -- 
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- 
> [email protected]
> 
> 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
> 

-- 
Sincerely yours,
Mike.

Reply via email to