# git rev-parse -q --verify 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e^{commit} 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e already have revision, skipping fetch # git checkout -q -f -B kisskb 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e # git clean -qxdf # git log -1 commit 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e Author: Ville Syrjälä Date: Mon Aug 8 20:35:29 2016 +0300 x86/hweight: Don't clobber %rdi The caller expects %rdi to remain intact, push+pop it make that happen. Fixes the following kind of explosions on my core2duo machine when trying to reboot or shut down: general protection fault: 0000 [#1] PREEMPT SMP Modules linked in: i915 i2c_algo_bit drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm netconsole configfs binfmt_misc iTCO_wdt psmouse pcspkr snd_hda_codec_idt e100 coretemp hwmon snd_hda_codec_generic i2c_i801 mii i2c_smbus lpc_ich mfd_core snd_hda_intel uhci_hcd snd_hda_codec snd_hwdep snd_hda_core ehci_pci 8250 ehci_hcd snd_pcm 8250_base usbcore evdev serial_core usb_common parport_pc parport snd_timer snd soundcore CPU: 0 PID: 3070 Comm: reboot Not tainted 4.8.0-rc1-perf-dirty #69 Hardware name: /D946GZIS, BIOS TS94610J.86A.0087.2007.1107.1049 11/07/2007 task: ffff88012a0b4080 task.stack: ffff880123850000 RIP: 0010:[] [] x86_perf_event_update+0x52/0xc0 RSP: 0018:ffff880123853b60 EFLAGS: 00010087 RAX: 0000000000000001 RBX: ffff88012fc0a3c0 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000040000000 RDI: ffff88012b014800 RBP: ffff880123853b88 R08: ffffffffffffffff R09: 0000000000000000 R10: ffffea0004a012c0 R11: ffffea0004acedc0 R12: ffffffff80000001 R13: ffff88012b0149c0 R14: ffff88012b014800 R15: 0000000000000018 FS: 00007f8b155cd700(0000) GS:ffff88012fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8b155f5000 CR3: 000000012a2d7000 CR4: 00000000000006f0 Stack: ffff88012fc0a3c0 ffff88012b014800 0000000000000004 0000000000000001 ffff88012fc1b750 ffff880123853bb0 ffffffff81003d59 ffff88012b014800 ffff88012fc0a3c0 ffff88012b014800 ffff880123853bd8 ffffffff81003e13 Call Trace: [] x86_pmu_stop+0x59/0xd0 [] x86_pmu_del+0x43/0x140 [] event_sched_out.isra.105+0xbd/0x260 [] __perf_remove_from_context+0x2d/0xb0 [] __perf_event_exit_context+0x4d/0x70 [] generic_exec_single+0xb6/0x140 [] ? __perf_remove_from_context+0xb0/0xb0 [] ? __perf_remove_from_context+0xb0/0xb0 [] smp_call_function_single+0xdf/0x140 [] perf_event_exit_cpu_context+0x87/0xc0 [] perf_reboot+0x13/0x40 [] notifier_call_chain+0x4a/0x70 [] __blocking_notifier_call_chain+0x47/0x60 [] blocking_notifier_call_chain+0x16/0x20 [] kernel_restart_prepare+0x1d/0x40 [] kernel_restart+0x12/0x60 [] SYSC_reboot+0xf6/0x1b0 [] ? mntput_no_expire+0x2c/0x1b0 [] ? mntput+0x24/0x40 [] ? __fput+0x16c/0x1e0 [] ? ____fput+0xe/0x10 [] ? task_work_run+0x83/0xa0 [] ? exit_to_usermode_loop+0x53/0xc0 [] ? trace_hardirqs_on_thunk+0x1a/0x1c [] SyS_reboot+0xe/0x10 [] entry_SYSCALL_64_fastpath+0x18/0xa3 Code: 7c 4c 8d af c0 01 00 00 49 89 fe eb 10 48 09 c2 4c 89 e0 49 0f b1 55 00 4c 39 e0 74 35 4d 8b a6 c0 01 00 00 41 8b 8e 60 01 00 00 <0f> 33 8b 35 6e 02 8c 00 48 c1 e2 20 85 f6 7e d2 48 89 d3 89 cf RIP [] x86_perf_event_update+0x52/0xc0 RSP ---[ end trace 7ec95181faf211be ]--- note: reboot[3070] exited with preempt_count 2 Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Andy Lutomirski Cc: Brian Gerst Cc: Denys Vlasenko Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Fixes: f5967101e9de ("x86/hweight: Get rid of the special calling convention") Signed-off-by: Ville Syrjälä 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 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e # < make -j 240 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allmodconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -j 240 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allmodconfig_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 240 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allmodconfig_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-allmodconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/home/kisskb/slave/build/linus_sh-allmodconfig_sh4' make[1]: Entering directory `/home/kisskb/slave/build/linus_sh-allmodconfig_sh4' CHK include/config/kernel.release GEN ./Makefile UPD include/config/kernel.release WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.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/kvm_para.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/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.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 HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/dtc/dtc.o SHIPPED scripts/genksyms/lex.lex.c HOSTCC scripts/insert-sys-cert HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o CC scripts/mod/empty.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c HOSTCC scripts/selinux/genheaders/genheaders SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/genksyms/parse.tab.o GEN 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 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 HOSTLD scripts/genksyms/genksyms CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTLD scripts/dtc/dtc HOSTLD scripts/mod/modpost CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/init_task.o UPD include/generated/compile.h HOSTCC usr/gen_init_cpio 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/kernel/io.o CC arch/sh/kernel/irq.o CC arch/sh/mm/alignment.o CC arch/sh/mm/cache.o CC arch/sh/mm/init.o CC arch/sh/kernel/irq_32.o CC arch/sh/mm/consistent.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh2.o CC arch/sh/mm/nommu.o CC arch/sh/kernel/machvec.o CC arch/sh/mm/extable_32.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/process.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/boards/of-generic.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/ptrace_32.o GEN usr/initramfs_data.cpio.gz CC arch/sh/kernel/reboot.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/sys_sh.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/time.o CC arch/sh/math-emu/math.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/sh_bios.o CC arch/sh/kernel/kgdb.o CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/crash_dump.o CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/module.o CC arch/sh/kernel/kprobes.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/ftrace.o CC arch/sh/kernel/disassemble.o CC arch/sh/kernel/dwarf.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/cpu/irq/imask.o AS arch/sh/kernel/cpu/sh2/ex.o AS usr/initramfs_data.o CC arch/sh/kernel/hw_breakpoint.o CC arch/sh/kernel/cpu/sh2/probe.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/cpu/pfc.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/sh2/setup-sh7619.o AS arch/sh/kernel/cpu/sh2/entry.o CC arch/sh/kernel/cpu/sh2/clock-sh7619.o make[2]: *** No rule to make target `arch/sh/boot/dts/.dtb.o', needed by `arch/sh/boot/dts/built-in.o'. Stop. LD usr/built-in.o make[1]: *** [arch/sh/boot/dts] Error 2 make[1]: *** Waiting for unfinished jobs.... /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 LD arch/sh/boards/built-in.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/fs.h:197: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/fs.h:196: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] /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/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] /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] /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] /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] /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] /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] LD arch/sh/kernel/cpu/irq/built-in.o LD arch/sh/kernel/cpu/sh2/built-in.o LD arch/sh/kernel/cpu/built-in.o LD arch/sh/mm/built-in.o LD init/mounts.o LD init/built-in.o LD arch/sh/kernel/built-in.o LD arch/sh/math-emu/built-in.o make[1]: *** wait: No child processes. Stop. make: *** [sub-make] Error 2 Command 'make -j 240 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allmodconfig_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-allmodconfig_sh4 # Build took: 0:00:09.462626