Bump binutils from 2.36 to 2.37 and cherrypick commit
ac81d6e0 to make it compiles with MacOS M1.
- I can't compile with 2.36
- Another commit after 2.37 that fixes another bug on M1
- Not sure if this M1 specific but
arch -x86_64 time make allends with the same error.
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/prefix.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.