# git rev-parse -q --verify 143c97cc652949893c8056c679012f0aeccb80e5^{commit} 143c97cc652949893c8056c679012f0aeccb80e5 already have revision, skipping fetch # git checkout -q -f -B kisskb 143c97cc652949893c8056c679012f0aeccb80e5 # git clean -qxdf # git log -1 commit 143c97cc652949893c8056c679012f0aeccb80e5 Author: Linus Torvalds Date: Wed Aug 23 18:16:11 2017 -0700 Revert "pty: fix the cached path of the pty slave file descriptor in the master" This reverts commit c8c03f1858331e85d397bacccd34ef409aae993c. It turns out that while fixing the ptmx file descriptor to have the correct 'struct path' to the associated slave pty is a really good thing, it breaks some user space tools for a very annoying reason. The problem is that /dev/ptmx and its associated slave pty (/dev/pts/X) are on different mounts. That was what caused us to have the wrong path in the first place (we would mix up the vfsmount of the 'ptmx' node, with the dentry of the pty slave node), but it also means that now while we use the right vfsmount, having the pty master open also keeps the pts mount busy. And it turn sout that that makes 'pbuilder' very unhappy, as noted by Stefan Lippers-Hollmann: "This patch introduces a regression for me when using pbuilder 0.228.7[2] (a helper to build Debian packages in a chroot and to create and update its chroots) when trying to umount /dev/ptmx (inside the chroot) on Debian/ unstable (full log and pbuilder configuration file[3] attached). [...] Setting up build-essential (12.3) ... Processing triggers for libc-bin (2.24-15) ... I: unmounting dev/ptmx filesystem W: Could not unmount dev/ptmx: umount: /var/cache/pbuilder/build/1340/dev/ptmx: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).)" apparently pbuilder tries to unmount the /dev/pts filesystem while still holding at least one master node open, which is arguably not very nice, but we don't break user space even when fixing other bugs. So this commit has to be reverted. I'll try to figure out a way to avoid caching the path to the slave pty in the master pty. The only thing that actually wants that slave pty path is the "TIOCGPTPEER" ioctl, and I think we could just recreate the path at that time. Reported-by: Stefan Lippers-Hollmann Cc: Eric W Biederman Cc: Christian Brauner Cc: Al Viro Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 143c97cc652949893c8056c679012f0aeccb80e5 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # yes \n | make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_sh-allyesconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/uapi/asm/ipcbuf.h WRAP arch/sh/include/generated/uapi/asm/kvm_para.h WRAP arch/sh/include/generated/uapi/asm/msgbuf.h WRAP arch/sh/include/generated/uapi/asm/param.h WRAP arch/sh/include/generated/uapi/asm/mman.h WRAP arch/sh/include/generated/uapi/asm/errno.h WRAP arch/sh/include/generated/uapi/asm/bitsperlong.h WRAP arch/sh/include/generated/uapi/asm/fcntl.h WRAP arch/sh/include/generated/uapi/asm/poll.h WRAP arch/sh/include/generated/uapi/asm/ioctl.h WRAP arch/sh/include/generated/uapi/asm/resource.h WRAP arch/sh/include/generated/uapi/asm/sembuf.h WRAP arch/sh/include/generated/uapi/asm/shmbuf.h WRAP arch/sh/include/generated/uapi/asm/siginfo.h WRAP arch/sh/include/generated/uapi/asm/socket.h WRAP arch/sh/include/generated/uapi/asm/statfs.h WRAP arch/sh/include/generated/uapi/asm/termbits.h WRAP arch/sh/include/generated/uapi/asm/termios.h WRAP arch/sh/include/generated/uapi/asm/ucontext.h UPD include/config/kernel.release CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/xor.h HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/insert-sys-cert HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/mod/mk_elfconfig SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/srcpos.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/livetree.o CC scripts/mod/empty.o HOSTCC scripts/dtc/treesource.o SHIPPED scripts/dtc/dtc-parser.tab.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/genksyms/lex.lex.c HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp Generating include/generated/machtypes.h CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh :1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1326:2: warning: #warning syscall statx not implemented [-Wcpp] HOSTLD scripts/genksyms/genksyms HOSTLD scripts/dtc/dtc HOSTLD scripts/mod/modpost CHK include/generated/compile.h CC init/main.o CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/do_mounts_md.o CC init/do_mounts_rd.o CC init/initramfs.o CC init/init_task.o CC init/calibrate.o HOSTCC usr/gen_init_cpio UPD include/generated/compile.h CC init/version.o AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/io.o CC arch/sh/kernel/irq_32.o CC arch/sh/mm/cache.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/boards/of-generic.o CC arch/sh/kernel/idle.o CC arch/sh/mm/init.o CC arch/sh/mm/consistent.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh2.o CC arch/sh/mm/nommu.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/process.o CC arch/sh/kernel/machvec.o CC arch/sh/mm/extable_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/time.o CC arch/sh/kernel/sys_sh.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/sh_bios.o CC arch/sh/math-emu/math.o CC arch/sh/kernel/kgdb.o CC arch/sh/kernel/cpu/irq/imask.o GEN usr/initramfs_data.cpio AS arch/sh/kernel/cpu/sh2/ex.o CC arch/sh/kernel/cpu/sh2/probe.o AS arch/sh/kernel/cpu/sh2/entry.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:356: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:358: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/module.o AR arch/sh/boards/built-in.o CC arch/sh/kernel/cpu/sh2/setup-sh7619.o In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:23:0: /home/kisskb/slave/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:24:0: /home/kisskb/slave/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /home/kisskb/slave/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /home/kisskb/slave/src/include/linux/kernel.h:58:0: note: this is the location of the previous definition /home/kisskb/slave/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /home/kisskb/slave/src/include/linux/kernel.h:57:0: note: this is the location of the previous definition /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_gt': /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_eq': /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fadd': /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] CC arch/sh/kernel/cpu/sh2/clock-sh7619.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fsub': /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] CC arch/sh/kernel/crash_dump.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmul': /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] CC arch/sh/kernel/cpu/clock-cpg.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fdiv': /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmac': /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] AS usr/initramfs_data.o /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ffloat': /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ftrc': /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvsd': /home/kisskb/slave/src/arch/sh/math-emu/math.c:323:2: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] CC arch/sh/kernel/cpu/init.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvds': /home/kisskb/slave/src/arch/sh/math-emu/math.c:333:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: At top level: /home/kisskb/slave/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/kprobes.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/ftrace.o CC arch/sh/kernel/disassemble.o CC arch/sh/kernel/dwarf.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/perf_event.o AR usr/built-in.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/head_32.o make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'. Stop. CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7) [-Wdeprecated-declarations] /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated (declared at /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46) [-Wdeprecated-declarations] /home/kisskb/slave/src/Makefile:1019: recipe for target 'arch/sh/boot/dts' failed make[1]: *** [arch/sh/boot/dts] Error 2 make[1]: *** Waiting for unfinished jobs.... AR arch/sh/kernel/cpu/irq/built-in.o AR arch/sh/mm/built-in.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock.c: In function 'clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock.c:25:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] AR arch/sh/kernel/cpu/sh2/built-in.o AR arch/sh/kernel/cpu/built-in.o AR init/mounts.o AR init/built-in.o AR arch/sh/kernel/built-in.o AR arch/sh/math-emu/built-in.o make[1]: *** wait: No child processes. Stop. Makefile:145: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_sh-allyesconfig_sh4 # Build took: 0:00:10.453290