Subject: [linux-next] kernel build on powerpc is broken

From: Abdul Haleem <[email-masked]>
Date: Mon, 16 Oct 2017 20:28:38 +0530

Hi,

next-20171012 build is broken on powerpc systems.

last successful build was on next-20171009.

Machine Type : PowerPC
gcc version: 4.8.5

'make modules_install' command fails with these errors:

depmod: ERROR: Found 7 modules in dependency cycles!
depmod: ERROR: Cycle detected: drm_kms_helper -> syscopyarea
*** Error in `/sbin/depmod': free(): invalid next size (fast): 0x000001003736ccc0 ***
======= Backtrace: =========
/lib64/libc.so.6(cfree+0x4ac)[0x7fff910d69fc]
/sbin/depmod[0x1000c268]
/sbin/depmod[0x1000279c]
/lib64/libc.so.6(+0x24980)[0x7fff91064980]
/lib64/libc.so.6(__libc_start_main+0xc4)[0x7fff91064b74]
======= Memory map: ========
10000000-10030000 r-xp 00000000 fd:00 661204                             /usr/bin/kmod
10030000-10040000 r--p 00020000 fd:00 661204                             /usr/bin/kmod
10040000-10050000 rw-p 00030000 fd:00 661204                             /usr/bin/kmod
10036fb0000-10037c80000 rw-p 00000000 00:00 0                            [heap]
7fff91000000-7fff91020000 r-xp 00000000 fd:00 656016                     /usr/lib64/libpthread-2.17.so
7fff91020000-7fff91030000 r--p 00010000 fd:00 656016                     /usr/lib64/libpthread-2.17.so
7fff91030000-7fff91040000 rw-p 00020000 fd:00 656016                     /usr/lib64/libpthread-2.17.so
7fff91040000-7fff91210000 r-xp 00000000 fd:00 655990                     /usr/lib64/libc-2.17.so
7fff91210000-7fff91220000 r--p 001c0000 fd:00 655990                     /usr/lib64/libc-2.17.so
7fff91220000-7fff91230000 rw-p 001d0000 fd:00 655990                     /usr/lib64/libc-2.17.so
7fff91230000-7fff91250000 r-xp 00000000 fd:00 656148                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fff91250000-7fff91260000 r--p 00010000 fd:00 656148                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fff91260000-7fff91270000 rw-p 00020000 fd:00 656148                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fff91270000-7fff91290000 r-xp 00000000 fd:00 656163                     /usr/lib64/libz.so.1.2.7
7fff91290000-7fff912a0000 r--p 00010000 fd:00 656163                     /usr/lib64/libz.so.1.2.7
7fff912a0000-7fff912b0000 rw-p 00020000 fd:00 656163                     /usr/lib64/libz.so.1.2.7
7fff912b0000-7fff912f0000 r-xp 00000000 fd:00 656220                     /usr/lib64/liblzma.so.5.2.2
7fff912f0000-7fff91300000 r--p 00030000 fd:00 656220                     /usr/lib64/liblzma.so.5.2.2
7fff91300000-7fff91310000 rw-p 00040000 fd:00 656220                     /usr/lib64/liblzma.so.5.2.2
7fff91320000-7fff91330000 rw-p 00000000 00:00 0 
7fff91330000-7fff91350000 r-xp 00000000 00:00 0                          [vdso]
7fff91350000-7fff91380000 r-xp 00000000 fd:00 655983                     /usr/lib64/ld-2.17.so
7fff91380000-7fff91390000 r--p 00020000 fd:00 655983                     /usr/lib64/ld-2.17.so
7fff91390000-7fff913a0000 rw-p 00030000 fd:00 655983                     /usr/lib64/ld-2.17.so
7fffecb30000-7fffecb60000 rw-p 00000000 00:00 0                          [stack]
./scripts/depmod.sh: line 57: 156063 Aborted                 "$DEPMOD" "$@" "$KERNELRELEASE" $SYMBOL_PREFIX
make: *** [_modinst_post] Error 134

-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre