Le ven. 13 mai 2022 à 15:08, Jérémy Lal <[email protected]> a écrit :
> Package: lld-13 > Version: 1:13.0.1-4 > Followup-For: Bug #1010932 > > Addendum: > "/usr/bin/wasm-ld-13" -m wasm32 -L/usr/lib/wasm32-wasi > /usr/lib/wasm32-wasi/crt1-reactor.o --entry _initialize -error-limit=0 -O3 > --lto-O3 --strip-all --allow-undefined --export-dynamic --export-table > --export=malloc --export=free /tmp/api-1a4e87.o /tmp/http-f5ff3b.o > /tmp/llhttp-f86505.o -lc -lgcc -o > /home/dev/Software/debian/node-undici/js-team/lib/llhttp/llhttp.wasm > wasm-ld-13: error: unable to find library -lgcc > > does not fail if I just remove the "-lgcc" flag. > However, that line is generated by clang. To workaround that issue, I found out that a combination of -nodefaultlibs -Wl,-lc flags work. Still, something's wrong. Jérémy

