Skip to content

Draft: Bump binutils upstream to 2.37 and fix building on MacOS M1

Wildan Mubarok requested to merge willnode/binutils-gdb:redox into redox

Bump binutils from 2.36 to 2.37 and cherrypick commit ac81d6e0 to make it compiles with MacOS M1.


I don't think bumping further would be a good idea but let me know.


I got this:

checking for libgmp... no
configure: error: GMP is missing or unusable

The solution is change mk/ and add your GMP path:

	"$(ROOT)/$</configure" \
		--target="$(TARGET)" \
		--program-prefix="$(TARGET)-" \
		--prefix="" \
		--disable-werror \
		--with-libgmp-prefix=/opt/homebrew/Cellar/gmp/6.2.1_1 \

I don't know how to automate that unfortunately.

Edited by Wildan Mubarok

Merge request reports