Linux-sh Archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	Arnd Bergmann <arnd@arndb.de>,
	Naresh Kamboju <naresh.kamboju@linaro.org>,
	Linux-sh list <linux-sh@vger.kernel.org>
Cc: Rich Felker <dalias@libc.org>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: 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
Date: Mon, 11 Dec 2023 00:29:49 -0600	[thread overview]
Message-ID: <15441b8a-57fb-6212-9f99-3f3d6f75ac8f@landley.net> (raw)
In-Reply-To: <bca7f1cc90f20cfc8ad719a518cb1254582287f4.camel@physik.fu-berlin.de>

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

      reply	other threads:[~2023-12-11  6:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15441b8a-57fb-6212-9f99-3f3d6f75ac8f@landley.net \
    --to=rob@landley.net \
    --cc=arnd@arndb.de \
    --cc=dalias@libc.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-sh@vger.kernel.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).