Re: Toybox make root no longer works as expected

"D. Jeff Dionne" <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <[email protected]>
On May 1, 2026, at 07:46, John Paul Adrian Glaubitz <[email protected]> wrote:

> Could you maybe build an updated toolchain for sh2eb which is based on a more recent GCC version?

The main problem here, I think if it’s a version issue, is there is breakage in the GCC optimiser when used against the SH backend.  But it could also be the J-Core instruction set variant of SH2.

GCC 9.4 is probably what you need, we don’t actually use GCC 11… Rob uses a different work flow methodology, with the goal of self contained builds.  Most of us benefit from 'golden compilers' on the path, and for J-Core that been GCC 9.4 series because of similar problems.  This choice came about after some testing, so it’s what Rich Felker’s musl cross make still does.  The results of that build script are used in every day work.

Yeah.  There is a need to properly fund work on the embedded compilers, and I don’t mean LLVM, which again has different goals.  I see a lot of folks and project suffering from the limitations that come from using ‘Linux’ compilers as if they were a generic cross compiler.  Retro BSD comes to mind.

Let me pull a kernel and see if I can reproduce your build failure.  I’ll try and do that over the weekend, or at least over Golden Week.

Cheers,
J.

> 
> Thanks,
> Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.