Buildresult: linus/sh-randconfig/sh4-gcc4.6 built on Aug 25 2017, 09:32
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 25 2017, 09:32
Duration:
0:00:09.019507
Builder:
ka2
Revision:
pty: Repair TIOCGPTPEER (
311fc65c9fb9c966bca8e6f3ff8132ce57344ab9)
Target:
linus/sh-randconfig/sh4-gcc4.6
Branch:
linus
Compiler:
sh4-gcc4.6
(sh4-linux-gcc (GCC) 4.6.3)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'. Stop. make[1]: *** [arch/sh/boot/dts] Error 2 make: *** [sub-make] Error 2
Possible warnings (13)
<stdin>:1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] <stdin>:1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] <stdin>:1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] <stdin>:1326:2: warning: #warning syscall statx not implemented [-Wcpp] /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: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/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../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/sh4/../sh3/../../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/sh4/../sh3/../../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/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/clock.c:25:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
Full Log
# git rev-parse -q --verify 311fc65c9fb9c966bca8e6f3ff8132ce57344ab9^{commit} 311fc65c9fb9c966bca8e6f3ff8132ce57344ab9 already have revision, skipping fetch # git checkout -q -f -B kisskb 311fc65c9fb9c966bca8e6f3ff8132ce57344ab9 # git clean -qxdf # git log -1 commit 311fc65c9fb9c966bca8e6f3ff8132ce57344ab9 Author: Eric W. Biederman <ebiederm@xmission.com> Date: Thu Aug 24 15:13:29 2017 -0500 pty: Repair TIOCGPTPEER The implementation of TIOCGPTPEER has two issues. When /dev/ptmx (as opposed to /dev/pts/ptmx) is opened the wrong vfsmount is passed to dentry_open. Which results in the kernel displaying the wrong pathname for the peer. The second is simply by caching the vfsmount and dentry of the peer it leaves them open, in a way they were not previously Which because of the inreased reference counts can cause unnecessary behaviour differences resulting in regressions. To fix these move the ioctl into tty_io.c at a generic level allowing the ioctl to have access to the struct file on which the ioctl is being called. This allows the path of the slave to be derived when opening the slave through TIOCGPTPEER instead of requiring the path to the slave be cached. Thus removing the need for caching the path. A new function devpts_ptmx_path is factored out of devpts_acquire and used to implement a function devpts_mntget. The new function devpts_mntget takes a filp to perform the lookup on and fsi so that it can confirm that the superblock that is found by devpts_ptmx_path is the proper superblock. v2: Lots of fixes to make the code actually work v3: Suggestions by Linus - Removed the unnecessary initialization of filp in ptm_open_peer - Simplified devpts_ptmx_path as gotos are no longer required [ This is the fix for the issue that was reverted in commit 143c97cc6529, but this time without breaking 'pbuilder' due to increased reference counts - Linus ] Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") Reported-by: Christian Brauner <christian.brauner@canonical.com> Reported-and-tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 311fc65c9fb9c966bca8e6f3ff8132ce57344ab9 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- randconfig KCONFIG_SEED=0x5F7C2968 # Added to kconfig CONFIG_STANDALONE=y # yes \n | make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_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-randconfig_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-randconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/uapi/asm/bitsperlong.h WRAP arch/sh/include/generated/uapi/asm/errno.h WRAP arch/sh/include/generated/uapi/asm/fcntl.h WRAP arch/sh/include/generated/uapi/asm/ioctl.h WRAP arch/sh/include/generated/uapi/asm/param.h WRAP arch/sh/include/generated/uapi/asm/poll.h WRAP arch/sh/include/generated/uapi/asm/ipcbuf.h WRAP arch/sh/include/generated/uapi/asm/resource.h WRAP arch/sh/include/generated/uapi/asm/shmbuf.h WRAP arch/sh/include/generated/uapi/asm/kvm_para.h WRAP arch/sh/include/generated/uapi/asm/sembuf.h WRAP arch/sh/include/generated/uapi/asm/mman.h WRAP arch/sh/include/generated/uapi/asm/msgbuf.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/termbits.h WRAP arch/sh/include/generated/uapi/asm/termios.h WRAP arch/sh/include/generated/uapi/asm/statfs.h WRAP arch/sh/include/generated/uapi/asm/ucontext.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h 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/asn1_compiler HOSTCC scripts/sign-file HOSTCC scripts/extract-cert HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c HOSTCC scripts/dtc/livetree.o SHIPPED scripts/dtc/dtc-parser.tab.c CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig SHIPPED scripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/dtc/dtc-lexer.lex.o CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/dtc/dtc HOSTLD scripts/mod/modpost Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h 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 <stdin>:1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] <stdin>:1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] <stdin>:1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] <stdin>:1326:2: warning: #warning syscall statx not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/init_task.o CC init/noinitramfs.o CC init/calibrate.o AR usr/built-in.o 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/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/mm/cache.o CC arch/sh/kernel/irq.o CC arch/sh/mm/gup.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/mm/cache-sh4.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/mm/mmap.o CC arch/sh/mm/init.o CC arch/sh/mm/fault.o CC arch/sh/mm/consistent.o CC arch/sh/mm/flush-sh4.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/io.o CC arch/sh/mm/alignment.o CC arch/sh/mm/extable_32.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/process.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/mm/kmap.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/mm/pgtable.o CC arch/sh/mm/tlbex_32.o CC arch/sh/kernel/setup.o CC arch/sh/mm/ioremap.o CC arch/sh/mm/tlb-urb.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/time.o CC arch/sh/kernel/reboot.o CC arch/sh/mm/tlb-sh4.o CC arch/sh/boards/of-generic.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/sys_sh.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/mm/cache-debugfs.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_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/mm/tlb-debugfs.o CC arch/sh/mm/hugetlbpage.o /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.... CC arch/sh/kernel/iomap.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/unwinder.o CC arch/sh/mm/uncached.o CC arch/sh/kernel/kgdb.o CC arch/sh/kernel/module.o CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/vsyscall/vsyscall.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/perf_callchain.o LDS arch/sh/kernel/vsyscall/vsyscall.lds CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/vsyscall/vsyscall-note.o AS arch/sh/kernel/vsyscall/vsyscall-trapa.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/irq/imask.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/cpu/proc.o AR init/mounts.o AR arch/sh/boards/built-in.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] CC arch/sh/kernel/cpu/sh4/probe.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o CC arch/sh/kernel/cpu/sh4/sq.o CC arch/sh/kernel/cpu/sh4/clock-sh4.o CC arch/sh/kernel/cpu/sh4/setup-sh7750.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../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/sh4/../sh3/../../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/sh4/../sh3/../../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/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence AR arch/sh/kernel/cpu/sh4/common.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] SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so SYSCALL arch/sh/kernel/vsyscall/vsyscall-dummy.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o LD arch/sh/kernel/vsyscall/vsyscall-syms.o AR arch/sh/kernel/vsyscall/built-in.o AR arch/sh/mm/built-in.o AR arch/sh/kernel/cpu/irq/built-in.o AR init/built-in.o AR arch/sh/kernel/cpu/sh4/built-in.o AR arch/sh/kernel/cpu/built-in.o AR arch/sh/kernel/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-randconfig_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-randconfig_sh4 # Build took: 0:00:09.019507
© Michael Ellerman 2006-2018.