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

Regression in 1.2: relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol .L.str.2`` #1314

Open
kylebarron opened this issue Dec 5, 2024 · 4 comments · May be fixed by #1315
Open

Comments

@kylebarron
Copy link

kylebarron commented Dec 5, 2024

I started to get errors when building my crate for target wasm32-unknown-emscripten after a standard cargo update:

error: linking with `emcc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/home/runner/work/_temp/8f9e0187-61f5-4fcb-ab6d-913fdad119e8:/home/runner/work/_temp/4bed0d11-e519-43ad-a621-9f1e03055cab:/opt/hostedtoolcache/Python/3.11.10/x64/bin:/opt/hostedtoolcache/Python/3.11.10/x64:/home/runner/work/geoarrow-rs/geoarrow-rs/emsdk-cache/emsdk-main/upstream/emscripten:/home/runner/work/geoarrow-rs/geoarrow-rs/emsdk-cache/emsdk-main:/home/runner/work/geoarrow-rs/geoarrow-rs/emsdk-cache/emsdk-main:/home/runner/work/geoarrow-rs/geoarrow-rs/emsdk-cache/emsdk-main/upstream/emscripten:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" VSLANG="1033" "emcc" "-s" "EXPORTED_FUNCTIONS=[\"_PyInit__io\",\"_rust_zstd_wasm_shim_calloc\",\"_rust_zstd_wasm_shim_free\",\"_rust_zstd_wasm_shim_malloc\",\"_rust_zstd_wasm_shim_memcmp\",\"_rust_zstd_wasm_shim_memcpy\",\"_rust_zstd_wasm_shim_memmove\",\"_rust_zstd_wasm_shim_memset\",\"_rust_zstd_wasm_shim_qsort\"]" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.00.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.01.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.02.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.03.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.04.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.05.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.06.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.07.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.08.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.09.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.10.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.11.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.12.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.13.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.14.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io._io.b8d96fe10cad720a-cgu.15.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io.eda2q08oq5nwk11yogz0r9apj.rcgu.o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpythonize-66c4e54e9b7bf324.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liburl-21aaebbd271c99dc.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libidna-ce08753a3f4dc4c9.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libidna_adapter-a4c9bc9d89991f44.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_normalizer-d894e66dbd11f3be.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_normalizer_data-47a08c1039705934.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libwrite16-675d4690f4a2abce.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libutf8_iter-94caf09a7f534003.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libutf16_iter-2215995ca027c8c1.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_properties-181e7e91fab7770d.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_properties_data-19dfa4f9e8331022.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_locid_transform-90bf533c7ecf6792.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_locid_transform_data-1b9c3dcdf6a7d2dd.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_collections-e28c4d4ee214bd0e.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_provider-7e8a74f7a9de7c52.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libicu_locid-ae11e1882ad346a3.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblitemap-978575320fc21da4.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtinystr-a80de5990a0e2f22.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzerovec-4a3dc11a2113f67a.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libwriteable-e1953fd02f23d9be.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libyoke-a387145543f7e29f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzerofrom-7895d773a49db5d9.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libstable_deref_trait-ddbe8680d221c5fe.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libform_urlencoded-70973a76bb12d703.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpercent_encoding-b1fd64de251c0212.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpyo3_arrow-e619b2d789132968.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnumpy-4138c02bfc0e03e3.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/librustc_hash-ce75986ebbcc5c82.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libndarray-5006410e02da676c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libmatrixmultiply-df7fcbef9c4293fb.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/librawpointer-0631f9a9a113705c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeoarrow-973a72917715ad9f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libwkt-4a46042f1e33b24f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libshapefile-50f4b51b94b893c5.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libdbase-d30c7f14fd0e9e65.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtime-d1bb4905bc608f70.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtime_core-70d366953e1e59f8.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_conv-2b994d202f202756.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libderanged-cba3b08d89d3bc28.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpowerfmt-f74f8466890809d1.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libparquet-231203692946f7dd.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbrotli-3ec81f947cb19e2c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbrotli_decompressor-4d304431bbcc4116.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liballoc_stdlib-d0e8ee021cb94c60.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liballoc_no_stdlib-21c302042c0bda06.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libflate2-3d47b3c1af2a5237.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libminiz_oxide-61312a708e45a1fa.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libadler2-11a03afc42d25b22.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libcrc32fast-0a30e6f022f83193.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libsnap-6ba99cf685479a46.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libthrift-806832c2174ee985.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libordered_float-7c33a30daf58318a.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libinteger_encoding-21e6c4de520931ff.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_core-e8bdfe4a53dc5502.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_write_float-62d9c521a185b2a9.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_write_integer-1e3201895428c3ff.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_parse_float-ef29885d7f3c8210.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_parse_integer-04f0a72573c67ac4.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_util-367e19196c491884.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libflatgeobuf-49ff67734c54882a.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtempfile-348ac7e7d72942ce.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libfastrand-631aa1890a80880a.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/librustix-95eeb08dd7e78624.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liberrno-dbd46ff9a53df3f9.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libfallible_streaming_iterator-2b6522407d79d13a.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeozero-a73c22a6942254b1.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libwkt-af53b9ca8e67b047.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libscroll-3d646a9061fd34ed.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeojson-d0624f05f1c51d82.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libwkb-e8ff775032088087.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_enum-ca65aabb2766b326.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow-066fdb340a3c3572.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_row-fc45b920ea5b9079.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_json-66a50f712e8c49fc.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_ipc-87f6a741153d4b47.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd-1f38d263a97aa527.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_safe-8e50f641ccb1be83.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblz4_flex-22f19499c0b24f99.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtwox_hash-44f3d58a87016184.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libflatbuffers-a3215b25dd064561.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbitflags-470885f3ee518a9b.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_csv-e5f74d3d252d9003.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblazy_static-5d9a5627dfa3bc1f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libcsv-7f28586c220625bf.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libcsv_core-88a629be7a6fbe3c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_string-bf67ec1a5a51e924.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libregex-7fb05031259cd4ea.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libregex_automata-bf1ac87cced77574.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libaho_corasick-dfac57c0d35e63ac.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libregex_syntax-459e9189dcb70b74.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_cast-f37127878abb57be.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libatoi-ea974e3b413d57cb.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbase64-609c28006aaf8b3d.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_core-309df26ff64dbf42.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_write_float-8892202021ff4872.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_write_integer-e19212c86196ce91.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_parse_float-4d03a9a6fc2fe502.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_parse_integer-86db921346b1c70d.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblexical_util-c099ea93f10ab272.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libstatic_assertions-b245696d88c65607.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_arith-a38de60919bc3080.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_ord-a22c827d51180877.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_select-3d0c726aae64aae6.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeo_index-8dd0c26fe1baa3fc.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtinyvec-711cece3989967ad.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libtinyvec_macros-86f20dae7b2787e5.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbytemuck-0ad7ba25f5599c80.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libthiserror-b8dbad1e3cd22924.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeo_traits-e7225f0a5ba25414.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeo-86383acf08aee651.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libfloat_next_after-d95b07f4974d6882.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libearcutr-551c28035f3ce22f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libitertools-beaceeb44a8c77b8.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libeither-467f114016b61c07.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libspade-828a2d276458c7a4.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeographiclib_rs-85c2a28fe71609c7.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblibm-92a88f7f6cf270f5.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/librobust-391a24fd2777e3db.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libgeo_types-529c1210b1151b98.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/librstar-0daa1a596b6273ef.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libheapless-e6a9843b162fc1c4.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libhash32-edd4133dd2394761.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbyteorder-b7113792110804b4.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libsmallvec-079b3658bc847573.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libapprox-5daa2238be6a60ad.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblog-77cb2c38971b59ba.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_array-6a5889e5e4a9a564.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libchrono_tz-d5ec483ab06c0ba2.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libphf-ee23dc263007b50b.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libphf_shared-6629c2ad99b95967.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libsiphasher-4c5f12ed6f14cdf5.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_data-0a5e1789e493f99e.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_schema-5411787f5ad3974f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbitflags-0798c4a82d52724c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libarrow_buffer-064e6ebe73a3ace9.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libbytes-a7a490cc3d87e870.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libhalf-804fcd4a149ed7eb.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum-e992aeea7fecafea.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_iter-f94433ebbae9466e.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_rational-fa9b16e1bd77ca21.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_complex-6cb7cc57eaa2928c.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_bigint-47778efa16dc6921.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_integer-5280ba04079c4be1.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libserde_json-f87b98d127c1bd67.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libmemchr-4e15b4c6aef9c799.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libitoa-d1c7801c1174f98f.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libryu-6a3e5c103eb6126b.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpyo3-35ded2c225a31a01.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libindexmap-bf8d651c1d0efb9d.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libequivalent-1e0910b6f2601e3d.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libhashbrown-7c715fdf02559957.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libhashbrown-5d34e03c69f1734e.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libahash-2ca89974d44cc8f7.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libconst_random-75b673ad24fe8a3e.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzerocopy-b8d0bd450a6dc848.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liballocator_api2-ecfbed3b10f90a63.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libanyhow-7352479ec5cbe190.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libcfg_if-51f29bf84becf9e5.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libmemoffset-837cecce78a67cf8.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libonce_cell-d83a41522e6c90ac.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libpyo3_ffi-f91b45f89b7358b1.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/liblibc-20e70de4e7018589.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libserde-fcc9429c3b04be67.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libchrono-c02a02998c8bcfc3.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libnum_traits-739d3b7fa783edf0.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libiana_time_zone-747159273a950bc6.rlib" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libunindent-09181e65935dd79f.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-916fba4add84feff.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_unwind-49bb75f65d371779.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_demangle-afb52bf063a77f6b.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libstd_detect-f06a27f04da2d549.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libhashbrown-4102eabe0462760f.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_alloc-0604e96c9486021e.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libminiz_oxide-76e206ee1cb3173f.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libadler-dd127b6698bad2d3.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-61afbb21a622605f.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libcfg_if-f17b82a061555b64.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-374fc6e6a4c70041.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-ec1fd9e663079b09.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/librustc_std_workspace_core-0cd14f51a1ead17a.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-d474966f72a3fd37.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-c8a53666d2fde30a.rlib" "-B/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "--target=wasm32-unknown-emscripten" "-s" "DISABLE_EXCEPTION_CATCHING=0" "-o" "/home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/_io.wasm" "-O0" "-g" "-sSIDE_MODULE=2" "-sWASM_BIGINT" "-sABORTING_MALLOC=0"
  = note: wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.1`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.2`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.3`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.4`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.5`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.6`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.7`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.8`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.9`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.10`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.11`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.12`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.13`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.14`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.15`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.16`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.17`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.18`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.19`; recompile with -fPIC
          wasm-ld: error: /home/runner/work/geoarrow-rs/geoarrow-rs/python/target/wasm32-unknown-emscripten/debug/deps/libzstd_sys-8134217a0988a2b2.rlib(8957a4c8b028b07b-error_private.o): relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol `.L.str.20`; recompile with -fPIC
          wasm-ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
          emcc: error: '/home/runner/work/geoarrow-rs/geoarrow-rs/emsdk-cache/emsdk-main/upstream/bin/wasm-ld @/tmp/emscripten__sfaszpi.rsp.utf-8' failed (returned 1)
          

To repro:

Clone my repo:

git clone https://github.com/geoarrow/geoarrow-rs
cd geoarrow-rs
git checkout cd7a238c69b11c9b43e6cc10fa28c97ae9cb1e99

Install rust nightly and add wasm toolchain

rustup toolchain install nightly
rustup target add --toolchain nightly wasm32-unknown-emscripten

Install maturin and pyodide-build

pip install -U maturin
pip install pyodide-build

Clone emsdk. I clone this into a specific path at ~/github/emscripten-core/emsdk so that it can be shared across projects.

mkdir -p ~/github/emscripten-core/
git clone https://github.com/emscripten-core/emsdk.git ~/github/emscripten-core/emsdk
~/github/emscripten-core/emsdk/emsdk install 3.1.46
~/github/emscripten-core/emsdk/emsdk activate 3.1.46
source ~/github/emscripten-core/emsdk/emsdk_env.sh

Build geoarrow-rust-io:

RUSTFLAGS="-Zinline-mir=no" RUSTUP_TOOLCHAIN=nightly \
    maturin build \
    --release \
    --no-default-features \
    -o dist \
    -m geoarrow-io/Cargo.toml \
    --target wasm32-unknown-emscripten \
    -i python3.11

Note that the addition of RUSTFLAGS="-Zinline-mir=no" is temporary due to rust-lang/rust#128887.


I was able to fix this in geoarrow/geoarrow-rs#906 by pinning

cc = "1.1, <1.2"
@madsmtm
Copy link
Collaborator

madsmtm commented Dec 5, 2024

Is it possible for you to narrow it down to the specific cc version? E.g. using cargo update cc --precise 1.x.y?

@madsmtm
Copy link
Collaborator

madsmtm commented Dec 5, 2024

Also, would be cool if you could try with both CFLAGS=-fno-PIC and CFLAGS=-fPIC?

Likely culprit right now is #1284

@kylebarron
Copy link
Author

It compiles fine in 1.2.0; fails with 1.2.1.

@kylebarron
Copy link
Author

kylebarron commented Dec 6, 2024

RUSTFLAGS="-Zinline-mir=no" CFLAGS=-fno-PIC RUSTUP_TOOLCHAIN=nightly \
    maturin build \
    --release \
    --no-default-features \
    -o dist \
    -m geoarrow-io/Cargo.toml \
    --target wasm32-unknown-emscripten \
    -i python3.11

this still fails with 1.2.1.

RUSTFLAGS="-Zinline-mir=no" CFLAGS=-fPIC RUSTUP_TOOLCHAIN=nightly \
    maturin build \
    --release \
    --no-default-features \
    -o dist \
    -m geoarrow-io/Cargo.toml \
    --target wasm32-unknown-emscripten \
    -i python3.11

this successfully compiles with 1.2.1. (I didn't know you could pass CFLAGS like that)

@madsmtm madsmtm linked a pull request Dec 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants