Buildresult: linus/m5272c3_defconfig/m68k-gcc8 built on Oct 3 2019, 11:54
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 3 2019, 11:54
Duration:
0:00:28.197487
Builder:
ka2
Revision:
timer-of: don't use conditional expression with mixed 'void' types (
0f1a7b3fac0583083ca19d4de47403511ced3521)
Target:
linus/m5272c3_defconfig/m68k-gcc8
Branch:
linus
Compiler:
m68k-gcc8
(m68k-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
m5272c3_defconfig
(
download
)
Log:
Download original
Possible errors
net/core/rtnetlink.c:5237:1: internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:845 make[3]: *** [scripts/Makefile.build:266: net/core/rtnetlink.o] Error 1 make[2]: *** [scripts/Makefile.build:509: net/core] Error 2 make[1]: *** [Makefile:1670: net] Error 2 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (5)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/freescale/fec_main.c:915:6: warning: unused variable 'val' [-Wunused-variable] drivers/net/ethernet/freescale/fec_main.c:1643:28: warning: unused variable 'pdata' [-Wunused-variable]
Full Log
# git rev-parse -q --verify 0f1a7b3fac0583083ca19d4de47403511ced3521^{commit} 0f1a7b3fac0583083ca19d4de47403511ced3521 already have revision, skipping fetch # git checkout -q -f -B kisskb 0f1a7b3fac0583083ca19d4de47403511ced3521 # git clean -qxdf # < git log -1 # commit 0f1a7b3fac0583083ca19d4de47403511ced3521 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Wed Oct 2 16:16:07 2019 -0700 # # timer-of: don't use conditional expression with mixed 'void' types # # Randy Dunlap reports on the sparse list that sparse warns about this # expression: # # of_irq->percpu ? free_percpu_irq(of_irq->irq, clkevt) : # free_irq(of_irq->irq, clkevt); # # and honestly, sparse is correct to warn. The return type of # free_percpu_irq() is 'void', while free_irq() returns a 'const void *' # that is the devname argument passed in to the request_irq(). # # You can't mix a void type with a non-void types in a conditional # expression according to the C standard. It so happens that gcc seems to # accept it - and the resulting type of the expression is void - but # there's really no reason for the kernel to have this kind of # non-standard expression with no real upside. # # The natural way to write that expression is with an if-statement: # # if (of_irq->percpu) # free_percpu_irq(of_irq->irq, clkevt); # else # free_irq(of_irq->irq, clkevt); # # which is more legible anyway. # # I'm not sure why that timer-of code seems to have this odd pattern. It # does the same at allocation time, but at least there the types match, # and it makes sense as an expression. # # Reported-by: Randy Dunlap <rdunlap@infradead.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 0f1a7b3fac0583083ca19d4de47403511ced3521 # < make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_restart': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:915:6: warning: unused variable 'val' [-Wunused-variable] /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_get_mac': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:1643:28: warning: unused variable 'pdata' [-Wunused-variable] /kisskb/src/net/core/rtnetlink.c: In function 'rtnetlink_rcv_msg': /kisskb/src/net/core/rtnetlink.c:5237:1: internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:845 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [/kisskb/src/scripts/Makefile.build:266: net/core/rtnetlink.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:509: net/core] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1670: net] Error 2 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_m5272c3_defconfig_m68k # Build took: 0:00:28.197487
© Michael Ellerman 2006-2018.