Closed baikaishiuc closed 4 months ago
Tagging subscribers to this area: @hoyosjs See info in area-owners.md if you want to be subscribed.
It looks like you have binutils / strip from Homebrew. I believe building on MacOS requires using the Xcode toolchain, or strip from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
.
Can you modify your build environment so that the Xcode toolchain is preferred to the ones you acquired from Homebrew?
It looks like you have binutils / strip from Homebrew. I believe building on MacOS requires using the Xcode toolchain, or strip from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
.Can you modify your build environment so that the Xcode toolchain is preferred to the ones you acquired from Homebrew?
Hi, I uninstall binutils, and check xcode strip be access in zsh:
Arm runtime [main] % strip
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: no files specified
but still continue report error:
[ 27%] Built target mdruntimerw_ppdb
ld: warning: ignoring file unix/libgc_pal.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
/bin/sh: /opt/homebrew/opt/binutils/bin/strip: No such file or directory
make[2]: *** [tools/aot/jitinterface/libjitinterface_arm64.dylib] Error 127
make[2]: *** Deleting file `tools/aot/jitinterface/libjitinterface_arm64.dylib'
how can i change the default strip program in dotnet build script?
This should be fixed
according the help page:
build coreclr, but not success, error info show my strip program not support -n option, and I dont know how to fix it