Closed maia-s closed 5 months ago
building on an mbp M2 (aarch64)
% cargo build-docker-image aarch64-apple-darwin-cross --build-arg 'MACOS_SDK_FILE=MacOSX11.1.sdk.tar.xz' ... 402.5 clang++ -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"973.0.1\" -DPACKAGE_STRING=\"cctools\ 973.0.1\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -DSTDC_LIMIT_MACROS=1 -DSTDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -isystem /opt/osxcross/include -DDARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -DTAPI_SUPPORT -DLITTLE_ENDIAN__=1 -I../../../include -I../../../include/foreign -I../../../ld64/src -I../../../ld64/src/abstraction -I../../../ld64/src/3rd -I../../../ld64/src/3rd/BlocksRuntime -I../../../ld64/src/3rd/include -I../../../ld64/src/ld -I../../../ld64/src/ld/parsers -I../../../ld64/src/ld/passes -DPROGRAM_PREFIX="\"x86_64-apple-darwin20.2-\"" -O3 -std=c++1z -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=609 -fblocks -isystem /opt/osxcross/include -c -o ld-SymbolTable.o test -f 'SymbolTable.cpp' || echo './'SymbolTable.cpp ... 402.6 make[4]: [Makefile:632: ld-SymbolTable.o] Illegal instruction 402.6 make[4]: Waiting for unfinished jobs.... 418.8 make[4]: Leaving directory '/tmp/tmp.GHpTQdYf0G/osxcross/build/cctools-port/cctools/ld64/src/ld' 418.8 make[3]: [Makefile:668: all-recursive] Error 1 418.8 make[3]: Leaving directory '/tmp/tmp.GHpTQdYf0G/osxcross/build/cctools-port/cctools/ld64/src/ld' 418.8 make[2]: [Makefile:385: all-recursive] Error 1 418.8 make[2]: Leaving directory '/tmp/tmp.GHpTQdYf0G/osxcross/build/cctools-port/cctools/ld64/src' 418.8 make[1]: [Makefile:386: all-recursive] Error 1 418.8 make[1]: Leaving directory '/tmp/tmp.GHpTQdYf0G/osxcross/build/cctools-port/cctools/ld64' 418.8 make: [Makefile:421: all-recursive] Error 1 418.8 418.8 exiting with abnormal exit code (2) 418.8 run 'OCDEBUG=1 ./build.sh' to enable debug messages
test -f 'SymbolTable.cpp' || echo './'
This fixed itself when I updated the subrepo to latest
building on an mbp M2 (aarch64)