[PATCH kernel-tests] ignore compiler errors

From: Fengguang Wu
Date: Mon Dec 25 2017 - 06:53:40 EST


This looks more like some odd compiler regression than a kernel one.

Linus

The original report is:

To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>
Subject: [linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
branch HEAD: d1f854ac240ea3928a99294390048e9b2aa6fa0e Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm

Regressions in current branch:

arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration]
drivers/tty/serial/8250/8250_core.c:1094:1: error: unrecognizable insn:
drivers/tty/serial/8250/8250_core.c:1094:1: internal compiler error: in extract_insn, at recog.c:2311
fs//xfs/xfs_ioctl.c:1624:1: internal compiler error: in change_address_1, at emit-rtl.c:2150
fs/xfs/xfs_ioctl.c:1629:1: internal compiler error: in change_address_1, at emit-rtl.c:2150
Please submit a full bug report,
{standard input}:1226: Error: displacement to undefined symbol .L329 overflows 12-bit field
{standard input}:1233: Error: displacement to undefined symbol .L331 overflows 12-bit field
{standard input}:1253: Error: displacement to undefined symbol .L359 overflows 12-bit field
{standard input}:1278: Error: displacement to undefined symbol .L360 overflows 12-bit field
{standard input}:1405: Error: displacement to undefined symbol .L255 overflows 12-bit field
{standard input}:1408: Error: invalid operands for opcode
{standard input}:1408: Error: missing operand
{standard input}:1453: Error: displacement to undefined symbol .L285 overflows 12-bit field
{standard input}:1457: Error: displacement to undefined symbol .L286 overflows 12-bit field
{standard input}:1467: Error: displacement to undefined symbol .L257 overflows 12-bit field
{standard input}:1893: Error: displacement to undefined symbol .L229 overflows 12-bit field
{standard input}:199: Error: unknown opcode
{standard input}:2013: Error: displacement to undefined symbol .L235 overflows 12-bit field
{standard input}:9613: Error: invalid operands for opcode
{standard input}:9613: Error: missing operand
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
verifier.c:(.text+0x31ec): undefined reference to `__multi3'

Error ids grouped by kconfigs:

recent_errors
âââ c6x-evmc6472_defconfig
â âââ arch-c6x-platforms-plldata.c:error:implicit-declaration-of-function-get_coreid-did-you-mean-get_order
âââ cris-allyesconfig
â âââ drivers-tty-serial-8250_core.c:error:unrecognizable-insn:
â âââ drivers-tty-serial-8250_core.c:internal-compiler-error:in-extract_insn-at-recog.c
âââ mips-64r6el_defconfig
â âââ verifier.c:(.text):undefined-reference-to-__multi3
âââ sh-allyesconfig
â âââ fs-xfs-xfs_ioctl.c:internal-compiler-error:in-change_address_1-at-emit-rtl.c
â âââ Please-submit-a-full-bug-report
â âââ standard-input:Error:displacement-to-undefined-symbol-.L229-overflows-bit-field
â âââ standard-input:Error:displacement-to-undefined-symbol-.L235-overflows-bit-field
â âââ standard-input:Error:invalid-operands-for-opcode
â âââ standard-input:Error:missing-operand
â âââ standard-input:Error:open-CFI-at-the-end-of-file-missing-.cfi_endproc-directive
âââ sh-j2_defconfig
â âââ standard-input:Error:unknown-opcode
âââ sh-sdk7786_defconfig
â âââ standard-input:Error:displacement-to-undefined-symbol-.L255-overflows-bit-field
â âââ standard-input:Error:displacement-to-undefined-symbol-.L257-overflows-bit-field
â âââ standard-input:Error:displacement-to-undefined-symbol-.L285-overflows-bit-field
â âââ standard-input:Error:displacement-to-undefined-symbol-.L286-overflows-bit-field
âââ sh-titan_defconfig
âââ fs-xfs-xfs_ioctl.c:internal-compiler-error:in-change_address_1-at-emit-rtl.c
âââ Please-submit-a-full-bug-report
âââ standard-input:Error:displacement-to-undefined-symbol-.L329-overflows-bit-field
âââ standard-input:Error:displacement-to-undefined-symbol-.L331-overflows-bit-field
âââ standard-input:Error:displacement-to-undefined-symbol-.L359-overflows-bit-field
âââ standard-input:Error:displacement-to-undefined-symbol-.L360-overflows-bit-field
âââ standard-input:Error:invalid-operands-for-opcode
âââ standard-input:Error:missing-operand

Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
ignore-errors | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/ignore-errors b/ignore-errors
index 02e0163..c56e228 100755
--- a/ignore-errors
+++ b/ignore-errors
@@ -1,7 +1,9 @@
\[-Werror\]
\[-Werror=return-type\]
-gcc: internal compiler error:
+: internal compiler error:
+Please submit a full bug report,
error: insn does not satisfy its constraints:
+error: unrecognizable insn:
relocation truncated to fit:
dangerous relocation:
additional relocation overflows omitted from the output
@@ -23,4 +25,9 @@ undefined reference to `_GLOBAL_OFFSET_TABLE_'
# _____kernel-doc errors______
error: Cannot parse struct or union
error: Cannot parse enum
-error: Cannot parse typedef
\ No newline at end of file
+error: Cannot parse typedef
+Error: displacement to undefined symbol
+Error: unknown opcode
+Error: invalid operands for opcode
+Error: missing operand
+Error: open CFI at the end of file
--
2.15.0