2017-12-25 11:53:37

by Fengguang Wu

[permalink] [raw]
Subject: [PATCH kernel-tests] ignore compiler errors

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

Linus

The original report is:

To: Linus Torvalds <[email protected]>
Cc: LKML <[email protected]>
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 <[email protected]>
---
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


2017-12-26 00:42:22

by Philip Li

[permalink] [raw]
Subject: Re: [PATCH kernel-tests] ignore compiler errors

applied
On Mon, Dec 25, 2017 at 07:53:32PM +0800, Fengguang Wu wrote:
> This looks more like some odd compiler regression than a kernel one.
>
> Linus
>
> The original report is:
>
> To: Linus Torvalds <[email protected]>
> Cc: LKML <[email protected]>
> 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 <[email protected]>
> ---
> 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
>