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
Rob Landley <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <[email protected]> |
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