In Emscripten 3.1.64, we start getting errors in building several libraries like follows:
wasm-ld: error: symbol type mismatch: crc32_z
>>> defined as WASM_SYMBOL_TYPE_SECTION in
/root/repo/packages/.libs/lib/libnetcdf.a(libdispatch_la-dcrc32.o)
>>> defined as WASM_SYMBOL_TYPE_FUNCTION in
/root/repo/packages/.libs/lib/libhdf5.so
Here's what wasm-ld outputs as the --repro:
a.tar.gz
wasm-ld @response.txt works fine with wasm-ld 3.1.63 but breaks on 3.1.64.
Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.64 (a1fe390)