musl-cross-make icon indicating copy to clipboard operation
musl-cross-make copied to clipboard

Add the binutils-2.44 sha1 and bump the default gcc to 14.2, binutils to 2.44.

Open zflcs opened this issue 5 months ago • 2 comments

The latest binutils in the repository is not compatiable with gcc-14.2 which will report the imcompatiable extension Z on riscv64.

zflcs avatar Jun 11 '25 07:06 zflcs

I use this config and build riscv64-linux-musl toolchain successfully on my Macbook Air M3.

zflcs avatar Jun 11 '25 07:06 zflcs

When building on Mac M3, must remove the binutils which is installed by homebrew.

zflcs avatar Jun 11 '25 07:06 zflcs

To be able to merge this, it needs to not be dropping all the patches. If some of them have been applied upstream, that should be mentioned; the others need forward-porting/carry-over.

I'll take a look and see if this can be trivially fixed.

richfelker avatar Jul 17 '25 18:07 richfelker

OK, it wasn't trivial but I think I've translated it ok. I'll follow up when I confirm it works.

richfelker avatar Jul 17 '25 19:07 richfelker

OK, my porting of the patches seems good.

richfelker avatar Jul 18 '25 20:07 richfelker

Patches and hash added in 83b033668e4952b9ccce4fd9a850385769e0ebd8. Should be good now.

richfelker avatar Jul 20 '25 21:07 richfelker