Buildresult: linux-next/sh-allyesconfig/sh4-gcc10 built on Jun 18 2020, 17:08
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jun 18 2020, 17:08
Duration:
0:12:14.725644
Builder:
blade4b
Revision:
Add linux-next specific files for 20200618 (
ce2cc8efd7a40cbd17841add878cb691d0ce0bba)
Target:
linux-next/sh-allyesconfig/sh4-gcc10
Branch:
linux-next
Compiler:
sh4-gcc10
(sh4-linux-gcc (GCC) 10.1.0 / GNU ld (GNU Binutils) 2.34)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
include/linux/export.h:67:36: error: redefinition of '__ksymtab___delay' make[2]: *** [scripts/Makefile.build:280: arch/sh/lib/delay.o] Error 1 make[1]: *** [Makefile:1773: arch/sh/lib] Error 2 sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 make[4]: *** [scripts/Makefile.build:280: drivers/net/phy/mdio-xpcs.o] Error 4 make[3]: *** [scripts/Makefile.build:497: drivers/net/phy] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/net] Error 2 make[1]: *** [Makefile:1773: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2
Possible warnings (34)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] arch/sh/math-emu/math.c:54: warning: "WRITE" redefined arch/sh/math-emu/math.c:55: warning: "READ" redefined arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] {standard input}: Warning: end of file not at end of a line; newline inserted drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture.
Full Log
# git rev-parse -q --verify ce2cc8efd7a40cbd17841add878cb691d0ce0bba^{commit} ce2cc8efd7a40cbd17841add878cb691d0ce0bba already have revision, skipping fetch # git checkout -q -f -B kisskb ce2cc8efd7a40cbd17841add878cb691d0ce0bba # git clean -qxdf # < git log -1 # commit ce2cc8efd7a40cbd17841add878cb691d0ce0bba # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Thu Jun 18 14:11:24 2020 +1000 # # Add linux-next specific files for 20200618 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 ce2cc8efd7a40cbd17841add878cb691d0ce0bba # < make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 50 | #if __BYTE_ORDER == __BIG_ENDIAN | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/math-emu/math.c:24: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 59 | #if __BYTE_ORDER == __BIG_ENDIAN | ^~~~~~~~~~~~ /kisskb/src/arch/sh/math-emu/math.c:54: warning: "WRITE" redefined 54 | #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) | In file included from /kisskb/src/arch/sh/math-emu/math.c:10: /kisskb/src/include/linux/kernel.h:41: note: this is the location of the previous definition 41 | #define WRITE 1 | /kisskb/src/arch/sh/math-emu/math.c:55: warning: "READ" redefined 55 | #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) | In file included from /kisskb/src/arch/sh/math-emu/math.c:10: /kisskb/src/include/linux/kernel.h:40: note: this is the location of the previous definition 40 | #define READ 0 | /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] 505 | static int ieee_fpe_handler(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:563, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:14, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:11: /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:105:24: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:106:2: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:2: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:27: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:8: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/atomic.h:19, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/sh/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] 49 | ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' 2419 | xchg(&iocb->ki_complete, saved_ki_complete); | ^~~~ In file included from /kisskb/src/include/linux/linkage.h:7, from /kisskb/src/arch/sh/include/asm/bug.h:5, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:12, from /kisskb/src/include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/sh/lib/delay.c:8: /kisskb/src/include/linux/export.h:67:36: error: redefinition of '__ksymtab___delay' 67 | static const struct kernel_symbol __ksymtab_##sym \ | ^~~~~~~~~~ /kisskb/src/include/linux/export.h:108:2: note: in expansion of macro '__KSYMTAB_ENTRY' 108 | __KSYMTAB_ENTRY(sym, sec) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:147:39: note: in expansion of macro '___EXPORT_SYMBOL' 147 | #define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:155:34: note: in expansion of macro '__EXPORT_SYMBOL' 155 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "") | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:158:29: note: in expansion of macro '_EXPORT_SYMBOL' 158 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "") | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/lib/delay.c:45:1: note: in expansion of macro 'EXPORT_SYMBOL' 45 | EXPORT_SYMBOL(__delay); | ^~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:67:36: note: previous definition of '__ksymtab___delay' was here 67 | static const struct kernel_symbol __ksymtab_##sym \ | ^~~~~~~~~~ /kisskb/src/include/linux/export.h:108:2: note: in expansion of macro '__KSYMTAB_ENTRY' 108 | __KSYMTAB_ENTRY(sym, sec) | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:147:39: note: in expansion of macro '___EXPORT_SYMBOL' 147 | #define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:155:34: note: in expansion of macro '__EXPORT_SYMBOL' 155 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "") | ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/export.h:158:29: note: in expansion of macro '_EXPORT_SYMBOL' 158 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "") | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/lib/delay.c:32:1: note: in expansion of macro 'EXPORT_SYMBOL' 32 | EXPORT_SYMBOL(__delay); | ^~~~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:280: arch/sh/lib/delay.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1773: arch/sh/lib] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_set_mode': /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:21:16: note: in expansion of macro 'oct_mdio_readq' 21 | smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:24:2: note: in expansion of macro 'oct_mdio_writeq' 24 | oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_c45_addr': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:39:2: note: in expansion of macro 'oct_mdio_writeq' 39 | oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:47:2: note: in expansion of macro 'oct_mdio_writeq' 47 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:54:16: note: in expansion of macro 'oct_mdio_readq' 54 | smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_read': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:86:2: note: in expansion of macro 'oct_mdio_writeq' 86 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:93:16: note: in expansion of macro 'oct_mdio_readq' 93 | smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_write': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:125:2: note: in expansion of macro 'oct_mdio_writeq' 125 | oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:131:2: note: in expansion of macro 'oct_mdio_writeq' 131 | oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/io.h:28, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' 41 | # define ioswabq(x) (x) | ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' 43 | #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) | ^~~~~~~~~~~ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' 53 | #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' 114 | #define oct_mdio_readq(addr) readq((void *)addr) | ^~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.c:138:16: note: in expansion of macro 'oct_mdio_readq' 138 | smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_probe': /kisskb/src/drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 48 | (u64)devm_ioremap(&pdev->dev, mdio_phys, regsize); | ^ In file included from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/net/phy/mdio-octeon.c:7: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:56:2: note: in expansion of macro 'oct_mdio_writeq' 56 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:77:2: note: in expansion of macro 'oct_mdio_writeq' 77 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_remove': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' 33 | #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) | ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' 58 | #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' 113 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) | ^~~~~~ /kisskb/src/drivers/net/phy/mdio-octeon.c:91:2: note: in expansion of macro 'oct_mdio_writeq' 91 | oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[4]: *** [/kisskb/src/scripts/Makefile.build:280: drivers/net/phy/mdio-xpcs.o] Error 4 make[4]: *** Deleting file 'drivers/net/phy/mdio-xpcs.o' make[3]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/net/phy] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture. | ^~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1773: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_sh-allyesconfig_sh4-gcc10 # Build took: 0:12:14.725644
© Michael Ellerman 2006-2018.