Skip to contentSkip to conversation

ignore compiler errors

PATCH Applied Fengguang Wu 2 participants 2 messages Dec 25, 2017 – Dec 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
---
 ignore-errors | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
ignore-errors +9 -2
index 02e0163..c56e228 100755
@@ -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
Signature · 1 line
2.15.0
Applied
#1 lore raw

applied

Quoted 109 lines · Fengguang Wu

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
---
 ignore-errors | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
ignore-errors +9 -2
index 02e0163..c56e228 100755
@@ -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
Signature · 1 line
2.15.0