Skip to contentSkip to conversation

mainline build: 207 builds: 2 failed, 205 passed, 4 errors, 58 warnings (v4.10-rc2-207-g88ba6cae15e3)

DISCUSSION Kevin Hilman 1 participant 2 messages Jan 6, 2017 1 message not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

+ Ralf, linux-mips

Quoted 18 lines · kernelci.org bot

mainline build: 207 builds: 2 failed, 205 passed, 4 errors, 58 warnings (v4.10-rc2-207-g88ba6cae15e3)

Full Build Summary: https://kernelci.org/build/mainline/kernel/v4.10-rc2-207-g88ba6cae15e3/

Tree: mainline
Branch: local/master
Git Describe: v4.10-rc2-207-g88ba6cae15e3
Git Commit: 88ba6cae15e38f609aba4f3881e1c404c432596c
Git URL: http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Built: 4 unique architectures

Build Failures Detected:

mips: gcc version 6.3.0 (GCC)

ip27_defconfig: FAIL
ip28_defconfig: FAIL

[...]

Quoted 5 lines

Errors summary:

      2  arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror]
      1  drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190
      1  drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:

[...]

Quoted 3 lines

================================================================================

Detailed per-defconfig build reports:

[...]

Quoted 9 lines

--------------------------------------------------------------------------------
ip27_defconfig (mips) — FAIL, 4 errors, 1 warning, 0 section mismatches

Errors:
arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror] arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror] drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:
drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

Quoted 6 lines

Warnings:
arch/mips/configs/ip27_defconfig:136:warning: symbol value 'm' invalid for SCSI_DH

--------------------------------------------------------------------------------
ip28_defconfig (mips) — FAIL, 0 errors, 0 warnings, 0 section mismatches

We finally updated the MIPS toolchain to gcc-6.3, which got rid of the other errors, but is now finding a few new ones, including an internal
compiler error. :) Arnd also mentioned that it's unlikely that the
qlge driver should be enabled for these defconfigs, so that's probably an easy one.

Since it sounds so fun, I'll leave it with you MIPS folks to take care of. ;)

Note that the same failures are happening in stable/linux-4.8.y and stable/linux-4.9.y, so fixes should likely be CC'd to stable.

Thanks,

Kevin

[1] https://kernelci.org/build/stable-rc/kernel/v4.8.16/
[2] https://kernelci.org/build/stable-rc/kernel/v4.9.1/

#2 lore raw
Quoted 31 lines · Kevin Hilman

+ Ralf, linux-mips

Quoted 18 lines · kernelci.org bot

mainline build: 207 builds: 2 failed, 205 passed, 4 errors, 58 warnings (v4.10-rc2-207-g88ba6cae15e3)

Full Build Summary: https://kernelci.org/build/mainline/kernel/v4.10-rc2-207-g88ba6cae15e3/

Tree: mainline
Branch: local/master
Git Describe: v4.10-rc2-207-g88ba6cae15e3
Git Commit: 88ba6cae15e38f609aba4f3881e1c404c432596c
Git URL: http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Built: 4 unique architectures

Build Failures Detected:

mips: gcc version 6.3.0 (GCC)

ip27_defconfig: FAIL
ip28_defconfig: FAIL

[...]

Quoted 5 lines

Errors summary:

      2  arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror]
      1  drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190
      1  drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:
Quoted 22 lines

[...]

Quoted 3 lines

================================================================================

Detailed per-defconfig build reports:

[...]

Quoted 14 lines

--------------------------------------------------------------------------------
ip27_defconfig (mips) — FAIL, 4 errors, 1 warning, 0 section mismatches

Errors:
arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror] arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror] drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: error: insn does not satisfy its constraints:
drivers/net/ethernet/qlogic/qlge/qlge_main.c:4819:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

Warnings:
arch/mips/configs/ip27_defconfig:136:warning: symbol value 'm' invalid for SCSI_DH

--------------------------------------------------------------------------------
ip28_defconfig (mips) — FAIL, 0 errors, 0 warnings, 0 section mismatches

The "0 errors" count is confusing here, I know. Our error count detection is not catching "gcc does not support" errors, so we need to fix that. The actual error message here is:

../arch/mips/sgi-ip22/Platform:29: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop.

Kevin