FiloSottile / homebrew-musl-cross

Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers

Home Page:https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Error] brew install filosottile/musl-cross/musl-cross --without-x86_64 --with-mips

feliciss opened this issue · comments

Environment: Apple Silicon

Logs:

==> /opt/homebrew/opt/make/bin/gmake install TARGET=mips-linux-musl
Last 15 lines from /Users/system/Library/Logs/Homebrew/musl-cross/01.gmake:
      ___cxx_global_var_init in gencondmd.o
  "_mips_isa_rev", referenced from:
      ___cxx_global_var_init in gencondmd.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:2865: build/gencondmd] Error 1
gmake[3]: *** Waiting for unfinished jobs....
19 warnings generated.
rm gcc.pod
gmake[3]: Leaving directory '/private/tmp/musl-cross-20230615-80648-ak9kbk/musl-cross-make-0.9.9/build/local/mips-linux-musl/obj_gcc/gcc'
gmake[2]: *** [Makefile:4360: all-gcc] Error 2
gmake[2]: Leaving directory '/private/tmp/musl-cross-20230615-80648-ak9kbk/musl-cross-make-0.9.9/build/local/mips-linux-musl/obj_gcc'
gmake[1]: *** [Makefile:222: obj_gcc/gcc/.lc_built] Error 2
gmake[1]: Leaving directory '/private/tmp/musl-cross-20230615-80648-ak9kbk/musl-cross-make-0.9.9/build/local/mips-linux-musl'
gmake: *** [Makefile:183: install] Error 2

I'd welcome a PR fixing this, but I'm afraid I can't debug build issues for all the non-default targets, sorry!