Bug#1010932: wasm-ld-13: unable to find library -lgcc

Jérémy Lal kapouer at melix.org
Sat May 14 13:44:25 BST 2022


Le ven. 13 mai 2022 à 15:08, Jérémy Lal <kapouer at melix.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20220514/9bedeb86/attachment.htm>


More information about the Pkg-llvm-team mailing list