* SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275
@ 2023-11-21 14:25 Naresh Kamboju
2023-11-21 15:05 ` Arnd Bergmann
0 siblings, 1 reply; 4+ messages in thread
From: Naresh Kamboju @ 2023-11-21 14:25 UTC (permalink / raw)
To: linux-fsdevel, open list, regressions, lkft-triage, Linux-sh list
Cc: Miklos Szeredi, Ian Kent, Christian Brauner, Al Viro,
Arnd Bergmann, Dan Carpenter, John Paul Adrian Glaubitz, dalias,
Yoshinori Sato
The SuperH tinyconfig and allnoconfig builds started failing from 20231120 tag
Please find the following builds warnings / errors.
sh:
build:
* gcc-11-tinyconfig
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Build errors:
----------
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=sh
CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc'
'HOSTCC=sccache gcc'
Generating include/generated/machtypes.h
<stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp]
during RTL pass: final
In file included from /builds/linux/fs/namespace.c:11:
/builds/linux/fs/namespace.c: In function '__se_sys_listmount':
/builds/linux/include/linux/syscalls.h:258:9: internal compiler error:
in change_address_1, at emit-rtl.c:2275
258 | }
\
| ^
/builds/linux/include/linux/syscalls.h:233:9: note: in expansion of
macro '__SYSCALL_DEFINEx'
233 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
/builds/linux/include/linux/syscalls.h:225:36: note: in expansion of
macro 'SYSCALL_DEFINEx'
225 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,
__VA_ARGS__)
| ^~~~~~~~~~~~~~~
/builds/linux/fs/namespace.c:5019:1: note: in expansion of macro
'SYSCALL_DEFINE4'
5019 | SYSCALL_DEFINE4(listmount, const struct mnt_id_req __user *, req,
| ^~~~~~~~~~~~~~~
0x129d9d7 internal_error(char const*, ...)
???:0
0x5dbc4d fancy_abort(char const*, int, char const*)
???:0
0x7ddd3e adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>,
int, int, int, poly_int<1u, long>)
???:0
0x81dd91 output_operand(rtx_def*, int)
???:0
0x81e5a4 output_asm_insn(char const*, rtx_def**)
???:0
0x8226a8 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
{standard input}: Assembler messages:
{standard input}:11800: Warning: end of file not at end of a line;
newline inserted
{standard input}:11856: Error: missing operand
{standard input}:11856: Error: invalid operands for opcode
{standard input}:11837: Error: displacement to undefined symbol .L2699
overflows 8-bit field
{standard input}:11690: Error: pcrel too far
{standard input}:11705: Error: pcrel too far
{standard input}:11707: Error: pcrel too far
{standard input}:11712: Error: pcrel too far
{standard input}:11719: Error: pcrel too far
{standard input}:11732: Error: pcrel too far
{standard input}:11737: Error: pcrel too far
{standard input}:11760: Error: pcrel too far
{standard input}:11772: Error: pcrel too far
{standard input}:11777: Error: pcrel too far
{standard input}:11778: Error: pcrel too far
{standard input}:11788: Error: pcrel too far
{standard input}:11791: Error: pcrel too far
{standard input}:11807: Error: pcrel too far
{standard input}:11809: Error: pcrel too far
{standard input}:11844: Error: pcrel too far
make[4]: *** [/builds/linux/scripts/Makefile.build:243: fs/namespace.o] Error 1
kernel: 6.7.0-rc2
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_ref: master
git_sha: 07b677953b9dca02928be323e2db853511305fa9
git_describe: next-20231121
Test details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231121
Regressions (compared to build next-20231117)
------------------------------------------------------------------------
sh:
build:
* gcc-8-allnoconfig
* gcc-11-tinyconfig
* gcc-11-allnoconfig
* gcc-8-tinyconfig
Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231121/testrun/21199202/suite/build/test/gcc-11-tinyconfig/history/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231121/testrun/21199202/suite/build/test/gcc-11-tinyconfig/log
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275
2023-11-21 14:25 SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275 Naresh Kamboju
@ 2023-11-21 15:05 ` Arnd Bergmann
2023-11-21 15:09 ` John Paul Adrian Glaubitz
0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2023-11-21 15:05 UTC (permalink / raw)
To: Naresh Kamboju, linux-fsdevel, open list, regressions,
lkft-triage, Linux-sh list
Cc: Miklos Szeredi, Ian Kent, Christian Brauner, Alexander Viro,
Dan Carpenter, John Paul Adrian Glaubitz, Rich Felker,
Yoshinori Sato
On Tue, Nov 21, 2023, at 15:25, Naresh Kamboju wrote:
> The SuperH tinyconfig and allnoconfig builds started failing from 20231120 tag
> Please find the following builds warnings / errors.
>
> /builds/linux/include/linux/syscalls.h:233:9: note: in expansion of
> macro '__SYSCALL_DEFINEx'
> 233 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
> | ^~~~~~~~~~~~~~~~~
> /builds/linux/include/linux/syscalls.h:225:36: note: in expansion of
> macro 'SYSCALL_DEFINEx'
> 225 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,
> __VA_ARGS__)
> | ^~~~~~~~~~~~~~~
> /builds/linux/fs/namespace.c:5019:1: note: in expansion of macro
> 'SYSCALL_DEFINE4'
> 5019 | SYSCALL_DEFINE4(listmount, const struct mnt_id_req __user *, req,
> | ^~~~~~~~~~~~~~~
> 0x129d9d7 internal_error(char const*, ...)
> ???:0
> 0x5dbc4d fancy_abort(char const*, int, char const*)
> ???:0
> 0x7ddd3e adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>,
> int, int, int, poly_int<1u, long>)
> ???:0
> 0x81dd91 output_operand(rtx_def*, int)
> ???:0
> 0x81e5a4 output_asm_insn(char const*, rtx_def**)
> ???:0
> 0x8226a8 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
> ???:0
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
It's clearly a compiler bug, and I get the same thing with
all sh4 compilers I have on my machine, I tried with gcc-7.5
through gcc-13.
I also see that the defconfigs work fine, so it's probably
just hitting some weird corner case. You could try opening
a bug report against gcc, but I'm not sure it's worth it.
Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275
2023-11-21 15:05 ` Arnd Bergmann
@ 2023-11-21 15:09 ` John Paul Adrian Glaubitz
2023-12-11 6:29 ` Rob Landley
0 siblings, 1 reply; 4+ messages in thread
From: John Paul Adrian Glaubitz @ 2023-11-21 15:09 UTC (permalink / raw)
To: Arnd Bergmann, Naresh Kamboju, linux-fsdevel, open list,
regressions, lkft-triage, Linux-sh list
Cc: Miklos Szeredi, Ian Kent, Christian Brauner, Alexander Viro,
Dan Carpenter, Rich Felker, Yoshinori Sato
On Tue, 2023-11-21 at 16:05 +0100, Arnd Bergmann wrote:
> I also see that the defconfigs work fine, so it's probably
> just hitting some weird corner case. You could try opening
> a bug report against gcc, but I'm not sure it's worth it.
Please do and CC me and Oleg Endo who is still taking care of the backend.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275
2023-11-21 15:09 ` John Paul Adrian Glaubitz
@ 2023-12-11 6:29 ` Rob Landley
0 siblings, 0 replies; 4+ messages in thread
From: Rob Landley @ 2023-12-11 6:29 UTC (permalink / raw)
To: John Paul Adrian Glaubitz, Arnd Bergmann, Naresh Kamboju,
Linux-sh list
Cc: Rich Felker, Yoshinori Sato
On 11/21/23 09:09, John Paul Adrian Glaubitz wrote:
> On Tue, 2023-11-21 at 16:05 +0100, Arnd Bergmann wrote:
>> I also see that the defconfigs work fine, so it's probably
>> just hitting some weird corner case. You could try opening
>> a bug report against gcc, but I'm not sure it's worth it.
>
> Please do and CC me and Oleg Endo who is still taking care of the backend.
Speaking of which, has anybody tracked down why building the sh2 big endian
compiler breaks?
make OUTPUT=/home/landley/mcm/musl-cross-make/ccc/sh2eb-linux-muslfdpic-cross
TARGET=sh2eb-linux-muslfdpic 'GCC_CONFIG=--disable-nls --disable-libquadmath
--disable-decimal-float --disable-multilib --enable-languages=c,c++
--with-cpu=mj2' 'COMMON_CONFIG=CFLAGS=" -g0 -O2" CXXFLAGS=" -g0 -O2"
LDFLAGS=" -s" CC="i686-linux-musl-gcc -static --static" CXX="i686-linux-musl-g++
-static --static"' install -j2
...
"TARGET = sh2eb-linux-muslfdpic" \
"HOST = " \
"MUSL_SRCDIR = ../../../musl-1.2.4" \
"GCC_SRCDIR = ../../../gcc-11.2.0" \
"BINUTILS_SRCDIR = ../../../binutils-2.33.1" \
"GMP_SRCDIR = ../../../gmp-6.1.2" \
"MPC_SRCDIR = ../../../mpc-1.1.0" \
"MPFR_SRCDIR = ../../../mpfr-4.0.2" \
\
"LINUX_SRCDIR = ../../../linux-6.6" \
...
/home/landley/mcm/musl-cross-make/build/local/sh2eb-linux-muslfdpic/src_gcc/libstdc++-v3/../libgcc/unwind-pe.h:
In function 'const unsigned char* read_encoded_value_with_base(unsigned char,
_Unwind_Ptr, const unsigned char*, _Unwind_Ptr*)':
/home/landley/mcm/musl-cross-make/build/local/sh2eb-linux-muslfdpic/src_gcc/libstdc++-v3/../libgcc/unwind-pe.h:270:25:
error: '_Unwind_gnu_Find_got' was not declared in this scope
270 | result += _Unwind_gnu_Find_got ((_Unwind_Ptr) u);
| ^~~~~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:769: eh_call.lo] Error 1
That's the newest versions in musl-cross-make. It worked with earlier package
versions...
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-11 6:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 14:25 SuperH: fs/namespace.c: In function '__se_sys_listmount': syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275 Naresh Kamboju
2023-11-21 15:05 ` Arnd Bergmann
2023-11-21 15:09 ` John Paul Adrian Glaubitz
2023-12-11 6:29 ` Rob Landley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).