Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors in MacOS #63

Open
sgzwiz opened this issue Mar 1, 2022 · 1 comment
Open

errors in MacOS #63

sgzwiz opened this issue Mar 1, 2022 · 1 comment

Comments

@sgzwiz
Copy link

sgzwiz commented Mar 1, 2022

$ ./build.js
Default net: nn-13406b1dcbe0.nnue
Already available.

Config:
debug: 'no'
sanitize: 'none'
optimize: 'yes'
arch: 'wasm'
bits: '64'
kernel: 'Darwin'
os: ''
prefetch: 'no'
popcnt: 'no'
pext: 'no'
sse: 'yes'
mmx: 'no'
sse2: 'yes'
ssse3: 'yes'
sse41: 'yes'
avx2: 'no'
avx512: 'no'
vnni256: 'no'
vnni512: 'no'
neon: 'no'

Flags:
CXX: em++
CXXFLAGS: -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto
LDFLAGS: --pre-js emscripten/pre.js --extern-pre-js emscripten/extern-pre.js --extern-post-js emscripten/extern-post.js -s MODULARIZE=1 -s EXPORT_NAME=Stockfish -s ENVIRONMENT=web,worker,node -s STRICT=1 -s ASYNCIFY=1 -s 'ASYNCIFY_IMPORTS=[emscripten_utils_getline_impl]' -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -s ALLOW_MEMORY_GROWTH=0 -s INITIAL_MEMORY=1073741824 -s FILESYSTEM=0 -s EXPORTED_RUNTIME_METHODS=[] -s FETCH=1 --closure 1 -s ASSERTIONS=0 -mmacosx-version-min=10.14 -arch wasm -lpthread -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto

Testing config sanity. If this fails, try 'make help' ...

/Applications/Xcode.app/Contents/Developer/usr/bin/make ARCH=wasm COMP=em++ all
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o benchmark.o benchmark.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitbase.o bitbase.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitboard.o bitboard.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o endgame.o endgame.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o evaluate.o evaluate.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o main.o main.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o material.o material.cpp
em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o misc.o misc.cpp
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [benchmark.o] Error 1
make[1]: *** [bitbase.o] Error 1
make[1]: *** [endgame.o] Error 1
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [evaluate.o] Error 1
make[1]: *** [material.o] Error 1
make[1]: *** [bitboard.o] Error 1
em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

@israsanjose
Copy link

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@sgzwiz @israsanjose and others