Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Build failed in step 'Installing m4 for build' #1097
I got this error when building:
Crosstool-NG version crosstool-ng-1.23.0
All I can say from the build.log is that apparently, the
As I mentioned elsewhere, macOS is now officially unsupported. I'll review/pick up the patch if one posts a PR for this issue but won't attempt to guess the root cause myself. Closing this issue.
This appears to be caused by invalid binutils binaries. I had the same issue but was able to isolate it to the binutils package installed through homebrew. The fix is to uninstall and reinstall binutils via brew (you may have to use the --ignore-dependencies flag) or recompile binutils if you built them from source.
I can't test this now since I've already reinstalled my binutils, but my best guess is that Homebrew didn't automatically update the binutils to the Mojave bottle when we upgraded from High Sierra to Mojave (because there haven't been any actual binutils version changes since then), and there was an ABI difference that affected binutils.