On 11/30/23 04:23, Jan Horak wrote:
Hi,
I'm trying to make the sandboxing using the wasi available for the Firefox and 
for that I need the wasi-sdk [1] in the build root.

Currently there's wasi-libc [2] available which is fine and it almost contains 
all the headers and libraries needed by the wasi-sdk, but there's libc++ stuff 
missing, namely:
wasi-sysroot/include/c++/v1/*
wasi-sysroot/lib/wasm32-wasi/libc++.a
wasi-sysroot/lib/wasm32-wasi/libc++abi.a

The Arch distro is dealing with that by having extra packages:
wasi-libc++ and wasi-libc++abi:

https://archlinux.org/packages/extra/any/wasi-libc++/
https://archlinux.org/packages/extra/any/wasi-libc++abi/

They use the llvm sources to build the c++ wasi package [3].

Could you help me out with that?


Would it be possible to re-use the existing libcxx package and
just build it twice, once for the host and once for wasm?  Kind
of like what some packages do for mingw?

-Tom

[1] https://github.com/WebAssembly/wasi-sdk
[2] https://koji.fedoraproject.org/koji/buildinfo?buildID=2288202
[3] 
https://gitlab.archlinux.org/archlinux/packaging/packages/wasi-libcplusplus/-/blob/main/PKGBUILD?ref_type=heads

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to