From: "Thomas Weißschuh" <linux@weissschuh.net>
To: Rob Landley <rob@landley.net>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>,
Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
Willy Tarreau <w@1wt.eu>, Shuah Khan <shuah@kernel.org>,
linux-sh@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] tools/nolibc: add support for SuperH
Date: Wed, 25 Jun 2025 16:13:26 +0200 [thread overview]
Message-ID: <ffeea73d-35e1-44b7-b90d-c1b45f85376b@t-8ch.de> (raw)
In-Reply-To: <16f63653-c5c9-4b32-8e0c-0a4910a9fdb9@landley.net>
Hi Rob,
On 2025-06-24 21:41:14-0500, Rob Landley wrote:
> On 6/9/25 04:28, Thomas Weißschuh wrote:
> > Add support for SuperH/"sh" to nolibc.
> > Only sh4 is tested for now.
> >
> > This is only tested on QEMU so far.
> > Additional testing would be very welcome.
>
> I ran this by Jeff Dionne (the j-core architect) who said:
>
> > Looks correct to me. There are no endian assumptions that I can see.
>
> So you can put
>
> Acked-by: Rob Landley <rob@landley.net>
> Acked-by: D. Jeff Dionne <jeff@coresemi.io>
Thanks!
> But neither of us really have a build environment set up to do much with it.
> Is there a howto for this, or is just to run the kernel tests?
v2 of the series [0] has some test instructions.
These should also work with v1, except that "-f Makefile.nolibc" needs
to be removed.
$ cd tools/testings/selftests/nolibc/
$ make -f Makefile.nolibc ARCH=sh CROSS_COMPILE=sh4-linux- nolibc-test
$ file nolibc-test
nolibc-test: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), statically linked, not stripped
$ ./nolibc-test
Running test 'startup'
0 argc = 1 [OK]
...
Total number of errors: 0
Exiting with status 0
[0] https://lore.kernel.org/lkml/20250623-nolibc-sh-v2-0-0f5b4b303025@weissschuh.net/
next prev parent reply other threads:[~2025-06-25 14:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 9:28 [PATCH 0/3] tools/nolibc: add support for SuperH Thomas Weißschuh
2025-06-09 9:28 ` [PATCH 1/3] selftests/nolibc: fix EXTRACONFIG variables ordering Thomas Weißschuh
2025-06-09 9:28 ` [PATCH 2/3] selftests/nolibc: use file driver for QEMU serial Thomas Weißschuh
2025-06-20 7:51 ` Willy Tarreau
2025-06-09 9:28 ` [PATCH 3/3] tools/nolibc: add support for SuperH Thomas Weißschuh
2025-06-09 9:53 ` [PATCH 0/3] " John Paul Adrian Glaubitz
2025-06-09 10:05 ` Thomas Weißschuh
2025-06-25 2:41 ` Rob Landley
2025-06-25 14:13 ` Thomas Weißschuh [this message]
2025-06-25 15:52 ` John Paul Adrian Glaubitz
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=ffeea73d-35e1-44b7-b90d-c1b45f85376b@t-8ch.de \
--to=linux@weissschuh.net \
--cc=dalias@libc.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=rob@landley.net \
--cc=shuah@kernel.org \
--cc=w@1wt.eu \
--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).