Re: Toybox make root no longer works as expected

Rob Landley <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <[email protected]>
On 5/1/26 13:32, John Paul Adrian Glaubitz wrote:
> On Fri, 2026-05-01 at 13:20 -0500, Rob Landley wrote:
>> On 4/30/26 02:17, John Paul Adrian Glaubitz wrote:
>>> I can give it a try. Would be good if Rob could publish a recent version of the toolchain.
>>
>> It's just
>> https://codeberg.org/landley/toybox/src/branch/master/scripts/mcm-buildall.sh
>> invoking https://github.com/richfelker/musl-cross-make as described in
>> https://landley.net/toybox/faq.html#cross2
> 
> What about the patches for J2 support? And can it work with a GCC git tree like [1]?

They're in musl-cross-make.

https://github.com/richfelker/musl-cross-make/tree/master/patches/binutils-2.44

https://github.com/richfelker/musl-cross-make/tree/master/patches/gcc-9.4.0

Two in each, I think. (Base support and then a later fdpic bugfix.)

Alas, due to the way Rich maintains musl-cross-make (which is INSANE) if 
you want to know WHY any of the patches was added (relevant gcc bugzilla 
entry and so on) you have to find the first release it was added to and 
log THAT patch to find the commit message, because he never puts helpful 
comments at the start of the actual files and the commit where the issue 
was first dealt with is sometimes quite the hunt.

Another reason I wanted to migrate off mcm...

Lemme know if you need me to dig for the source of the fdpic bugfix 
thingies, I knew once but don't have it lying around. (Jeff might?)

Oh, right also invented his own patch applying infrastructure (cowpatch) 
which is like fuzz support but worse: silently eats failures of patches 
to apply. I don't understand why it exists...

Rob
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.