Build errors in v3.16.y-stable-queue
Build results:
total: 139 pass: 8 fail: 131
include/asm-generic/preempt.h: In function ‘preempt_count’:include/asm-generic/preempt.h:10:2: error: implicit declaration of function ‘READ_ONCE’
Guenter
Quoted 5 lines · Guenter Roeck
Build results:
total: 139 pass: 8 fail: 131
include/asm-generic/preempt.h: In function ‘preempt_count’:include/asm-generic/preempt.h:10:2: error: implicit declaration of function ‘READ_ONCE’
Easily fixed, thanks.
Ben.
Signature · 5 lines
Ben Hutchings Experience is directly proportional to the value of equipment destroyed. - Carolyn Scheppner
Quoted 9 lines · Ben Hutchings
Quoted 5 lines · Guenter Roeck
Build results:
total: 139 pass: 8 fail: 131
include/asm-generic/preempt.h: In function ‘preempt_count’:include/asm-generic/preempt.h:10:2: error: implicit declaration of function ‘READ_ONCE’Easily fixed, thanks.
Building arm64:allmodconfig (and defconfig) ... failed
--------------
Error log:/opt/buildbot/slave/stable-queue-3.16/build/arch/arm64/kernel/setup.c: In function ‘c_show’:/opt/buildbot/slave/stable-queue-3.16/build/arch/arm64/kernel/setup.c:508:8: error: implicit declaration of function ‘MIDR_REVISION’ [-Werror=implicit-function-declaration]
MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
Building m68k:sun3_defconfig ... failed
--------------
Error log:
Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaround
No idea if that is compiler related.
Building mips:defconfig ... failed
--------------
Error log:
In file included from /opt/buildbot/slave/stable-queue-3.16/build/arch/mips/kernel/cpu-probe.c:27:0:/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h: In function 'read_msa_ir':/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h:140:1: error: expected ':' or ')' before '_ASM_INSN_IF_MIPS'
Lots of those, all mips builds affected.
Guenter
Quoted 1 line · Guenter Roeck
[...]
Quoted 7 lines
Quoted 2 lines
Current failure:
Building mips:nlm_xlp_defconfig ... failed
Building mips:cavium_octeon_defconfig ... failed
Building mips:malta_defconfig ... failed
Quoted 9 lines
--------------
Error log:
In file included from/opt/buildbot/slave/stable-queue-3.16/build/include/linux/mm.h:51:0,
from/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/kernel/asm-offsets.c:14:/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/pgtable.h: In function 'set_pte':/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/pgtable.h:192:12: error: expected ':' or ')' before 'MIPS_ISA_ARCH_LEVEL' " .set "MIPS_ISA_ARCH_LEVEL" \n"
^
make[2]: *** [arch/mips/kernel/asm-offsets.s] Error 1
Looks like "MIPS: Adjust set_pte() SMP fix to handle R10000_LLSC_WAR" needs all the same changes for 3.16 as it does for 3.2.
Ben.
Signature · 3 lines
Ben Hutchings Beware of bugs in the above code; I have only proved it correct, not tried it. - Donald Knuth
Quoted 13 lines · Guenter Roeck
Quoted 11 lines · Ben Hutchings
Quoted 6 lines · Guenter Roeck
Build results:
total: 139 pass: 8 fail: 131
include/asm-generic/preempt.h: In function ‘preempt_count’:include/asm-generic/preempt.h:10:2: error: implicit declaration of function ‘READ_ONCE’Easily fixed, thanks.
Quoted 6 lines
Building arm64:allmodconfig (and defconfig) ... failed
--------------
Error log:/opt/buildbot/slave/stable-queue-3.16/build/arch/arm64/kernel/setup.c: In function ‘c_show’:/opt/buildbot/slave/stable-queue-3.16/build/arch/arm64/kernel/setup.c:508:8: error: implicit declaration of function ‘MIDR_REVISION’ [-Werror=implicit-function-declaration]MIDR_REVISION(midr),COMPAT_ELF_PLATFORM);
I've changed the relevant patch ("arm64: Provide "model name" in /proc/cpuinfo for PER_LINUX32 tasks") to open-code that macro.
Quoted 9 lines
Building m68k:sun3_defconfig ... failed
--------------
Error log:Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaroundNo idea if that is compiler related.
I don't know, but there are no patches to arch/m68k.
Quoted 9 lines
Building mips:defconfig ... failed
--------------
Error log:
In file included from/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/kernel/cpu-probe.c:27:0:/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h: In function 'read_msa_ir':/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h:140:1: error: expected ':' or ')' before '_ASM_INSN_IF_MIPS'Lots of those, all mips builds affected.
Seems to be caused by "MIPS: Fix little endian microMIPS MSA encodings" which I've now dropped.
Ben.
Signature · 3 lines
Ben Hutchings Beware of bugs in the above code; I have only proved it correct, not tried it. - Donald Knuth
Hi Ben,
On 08/05/2016 04:36 PM, Ben Hutchings wrote:
[ ... ]
Quoted 5 lines
Quoted 5 lines
Building m68k:sun3_defconfig ... failed
--------------
Error log:
Quoted 7 lines
Quoted 4 lines
Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaroundNo idea if that is compiler related.
I don't know, but there are no patches to
arch/m68k.
Still seen. I'll try to find a more recent toolchain.
Quoted 8 lines
Quoted 8 lines
Building mips:defconfig ... failed
--------------
Error log:
In file included from/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/kernel/cpu-probe.c:27:0:/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h: In function 'read_msa_ir':/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/msa.h:140:1: error: expected ':' or ')' before '_ASM_INSN_IF_MIPS'
Quoted 5 lines
Quoted 1 line
Lots of those, all mips builds affected.
Seems to be caused by "MIPS: Fix little endian microMIPS MSA encodings" which I've now dropped.
Current failure:
Building mips:nlm_xlp_defconfig ... failed
Building mips:cavium_octeon_defconfig ... failed
Building mips:malta_defconfig ... failed
--------------
Error log:
In file included from /opt/buildbot/slave/stable-queue-3.16/build/include/linux/mm.h:51:0,
from /opt/buildbot/slave/stable-queue-3.16/build/arch/mips/kernel/asm-offsets.c:14:
/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/pgtable.h: In function 'set_pte':
/opt/buildbot/slave/stable-queue-3.16/build/arch/mips/include/asm/pgtable.h:192:12: error: expected ':' or ')' before 'MIPS_ISA_ARCH_LEVEL'
" .set "MIPS_ISA_ARCH_LEVEL" \n"
^make[2]: *** [arch/mips/kernel/asm-offsets.s] Error 1
Guenter