Build failure with gcc 8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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.

-- 
Sincerely yours,
Mike.




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux