Commit graph

9 commits

Author SHA1 Message Date
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
wiz
e98ead683f wasi-libc: update to 0.0.0pre20220311.
Disable symbol comparison, since it fails for a couple of people
and mef's bulk build.

Changes:

Enable support for utimes and futimesat.
more graphical code
chdir: fixing a malloc'ed buffer that was not large enough
2022-03-15 14:33:22 +00:00
tnn
8609d8db4b wasi-libc: fix build on SunOS 2022-01-10 00:00:05 +00:00
tnn
4c00f1860d Fix packages that use GITSUB_MODULES on SunOS and possibly others
This is annoying, but for now we must always explicitly combine
GITHUB_SUBMODULES with EXTRACT_USING+=bsdtar.

This is because mk/fetch/github.mk uses OPTS_TAR=--strip-components=1
and that is not supported by nbtar(pax), which is the default pkgsrc
tar on some platforms. We cannot override EXTRACT_USING in github.mk
because that is too late.

We should switch all platforms to bsdtar and retire pax.
2022-01-09 23:42:02 +00:00
tnn
8415597986 wasi-*: eliminate -march and/or -mcpu CFLAGS user might have set
Random CFLAGS from mk.conf are not a good idea in a cross compile scenario.
Also reset ABI to empty string since -m32 can break some native CMake tests.
2022-01-07 15:49:53 +00:00
tnn
db185ea8be wasi-*: force ABI=32
These packages were failing when ABI=64 in mk.conf, because then -m64 is
passed down to clang and WebAssembly currently only supports -m32.
2022-01-07 13:32:47 +00:00
ryoon
ed9b401029 wasi-libc: Disable SSP explicitly and disable stack check too
Fix build when PKGSRC_USE_SSP=all and PKGSRC_USE_STACK_CHECK=yes
are defined. Reported by wiz@.
2021-12-22 16:09:45 +00:00
tnn
4f5378ef52 wasi-libc: set CLANGBASE instead of PKG_CC/CXX
Otherwise it breaks when user has CLANGBASE=/usr in mk.conf.
Also set PKG_FAIL_REASON when llvm doesn't have llvm-target-webassembly.
2021-12-22 12:47:20 +00:00
ryoon
095a21bf33 lang/wasi-libc: import wasi-libc-0.0.0pre20210923
WASI Libc is a libc for WebAssembly programs built on top of WASI
system calls. It provides a wide array of POSIX-compatible C APIs,
including support for standard I/O, file I/O, filesystem manipulation,
memory management, time, string, environment variables, program
startup, and many other APIs.

WASI Libc is sufficiently stable and usable for many purposes, as
most of the POSIX-compatible APIs are stable, though it is continuing
to evolve to better align with wasm and WASI.
2021-12-19 13:38:56 +00:00