Re: Toybox make root no longer works as expected

John Paul Adrian Glaubitz <[email protected]> Fri, 10 Jul 2026 15:32:40 +0200
Newsgroups org.kernel.vger.linux-sh
Message-ID <6beae3c6561a7155ee04ea432df85725078aec1d.camel@physik.fu-berlin.de>
Hi,

On Sat, 2026-05-02 at 08:55 +0200, John Paul Adrian Glaubitz wrote:
> On Fri, 2026-05-01 at 16:27 -0500, Rob Landley wrote:
> > > What about the patches for J2 support? And can it work with a GCC git=
 tree like [1]?
> >=20
> > They're in musl-cross-make.
> >=20
> > https://github.com/richfelker/musl-cross-make/tree/master/patches/binut=
ils-2.44
> >=20
> > https://github.com/richfelker/musl-cross-make/tree/master/patches/gcc-9=
.4.0
> >=20
> > Two in each, I think. (Base support and then a later fdpic bugfix.)
> >=20
> > Alas, due to the way Rich maintains musl-cross-make (which is INSANE) i=
f=20
> > you want to know WHY any of the patches was added (relevant gcc bugzill=
a=20
> > entry and so on) you have to find the first release it was added to and=
=20
> > log THAT patch to find the commit message, because he never puts helpfu=
l=20
> > comments at the start of the actual files and the commit where the issu=
e=20
> > was first dealt with is sometimes quite the hunt.
> >=20
> > Another reason I wanted to migrate off mcm...
> >=20
> > Lemme know if you need me to dig for the source of the fdpic bugfix=20
> > thingies, I knew once but don't have it lying around. (Jeff might?)
> >=20
> > Oh, right also invented his own patch applying infrastructure (cowpatch=
)=20
> > which is like fuzz support but worse: silently eats failures of patches=
=20
> > to apply. I don't understand why it exists...
>=20
> Hmm, sounds like a bit too much to be able to do that in a short time now
> in order to be able to test the kernel patch. I guess I will merge the pa=
tch
> now anyways and send it to Linus unless someone else has done that alread=
y
> anyway.

Coming back to this. After recent changes to GCC [1], I would expect the ch=
ances
to be higher that a J2 toolchain build with GCC 17 would work better when b=
uilding
a current kernel tree.

Would you be able to help me build a fresh J2 toolchain from the GCC 17 tre=
e?

Thanks,
Adrian

> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55212

--=20
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913