notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
wasi-libcxx C++ standard library for WebAssembly System Interface
0 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This is expected early in the quarter (because the new packaage repo has not been built yet.). Otherwise, this missing version is most likely a FreshPorts error.
Ignore IGNORE: is a meta port; there is nothing to build
Maintainer: vishwin@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-11-02 15:58:36
Last Update: 2024-03-27 18:57:23
Commit Hash: c6c4482
People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
Also Listed In: lang
License: LLVM2
WWW:
https://llvm.org/
Description:
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This port includes Clang builting for WASI (WebAssembly System Interface).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/wasi-libcxx-master-0/catalog.mk
  2. /usr/local/share/licenses/wasi-libcxx-master-0/LICENSE
  3. /usr/local/share/licenses/wasi-libcxx-master-0/LLVM2
Collapse this list.
Dependency lines:
  • wasi-libcxx-master>0:devel/wasi-libcxx
To install the port:
cd /usr/ports/devel/wasi-libcxx/ && make install clean
We doubt a package is available for this port because we see it marked as as:
  • Ignore
Packages are normally not provided for ports that are marked as above.
To add the package, run one of these commands:
  • pkg install devel/wasi-libcxx
  • pkg install wasi-libcxx-master
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: wasi-libcxx-master
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1673554510 SHA256 (llvm-project-15.0.7.src.tar.xz) = 8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6 SIZE (llvm-project-15.0.7.src.tar.xz) = 110936452

Expand this list (4 items)

Collapse this list.

SHA256 (llvmorg-18-init-15199-gb9935bb02a50.patch) = b0805cba765084c7bef426fa1235dd887c61ae0c1fd5e3fad5c8742cdd6ee8b0 SIZE (llvmorg-18-init-15199-gb9935bb02a50.patch) = 1893 SHA256 (llvmorg-18-init-15680-g966d564e43e6.patch) = 3abf92d4a788ff2f74fa9fc627a113f04d9fb72cd7e47344a8c4dce06140a163 SIZE (llvmorg-18-init-15680-g966d564e43e6.patch) = 1297

Collapse this list.


Packages (timestamps in pop-ups are UTC):
wasi-libcxx
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--11.0.0---11.0.0-
FreeBSD:13:quarterly-----13.0.113.0.113.0.1
FreeBSD:14:latest-----13.0.1--
FreeBSD:14:quarterly-----13.0.113.0.113.0.1
FreeBSD:15:latest--n/a-n/a---
Slave ports:
  1. devel/wasi-libcxx12
  2. devel/wasi-libcxx13
  3. devel/wasi-libcxx14
  4. devel/wasi-libcxx15
  5. devel/wasi-libcxx16
  6. devel/wasi-libcxx17
  7. devel/wasi-libcxx18
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. stdarg.h : devel/wasi-libc
  2. wasi-compiler-rt15>0 : devel/wasi-compiler-rt15
  3. cmake : devel/cmake-core
  4. ninja : devel/ninja
  5. llvm-config15 : devel/llvm15
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_wasi-libcxx
USES:
cmake llvm:0 tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-0/
  2. https://releases.llvm.org/0//
Collapse this list.

Number of commits found: 13

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0
27 Mar 2024 18:57:23
commit hash: c6c4482d77ec63006b47ba286a103128c6b8b7f7commit hash: c6c4482d77ec63006b47ba286a103128c6b8b7f7commit hash: c6c4482d77ec63006b47ba286a103128c6b8b7f7commit hash: c6c4482d77ec63006b47ba286a103128c6b8b7f7 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/wasi-libcxx: explicitly disable LIBCXXABI_USE_LLVM_UNWINDER

LLVM 18 enables this by default, which is not wanted here. This is
effectively a no-op for other LLVM versions.

Context: https://github.com/WebAssembly/wasi-sdk/pull/377
0
21 Nov 2023 17:51:35
commit hash: 2a25004820ab428b5ba9d98b87fffb8ab288b546commit hash: 2a25004820ab428b5ba9d98b87fffb8ab288b546commit hash: 2a25004820ab428b5ba9d98b87fffb8ab288b546commit hash: 2a25004820ab428b5ba9d98b87fffb8ab288b546 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
devel/wasi-libcxx: fix PKGBASE collision
0
20 Nov 2023 21:32:36
commit hash: e38b3857f20acc9b1db1f0e2faf416c7b46e73a8commit hash: e38b3857f20acc9b1db1f0e2faf416c7b46e73a8commit hash: e38b3857f20acc9b1db1f0e2faf416c7b46e73a8commit hash: e38b3857f20acc9b1db1f0e2faf416c7b46e73a8 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
wasi: update libc to sdk-20 and modularise LLVM bits

wasi-libcxx and wasi-compiler-rt now meta ports (similar to u-boot);
the build process is the same for each LLVM version so child ports
are minimal. Minimum supported LLVM version is 12, thus its
corresponding child ports are resurrected and LLVM 11 child ports
are removed.

Since all supported LLVM versions are made available at once, remove
restriction in bsd.gecko.mk and switch to USES=llvm throughout. LTO
on gecko ports should now work with later LLVM versions so long as
${DEFAULT_VERSIONS} is set properly and matches the LLVM used in
rust (if not using the PORT_LLVM option).

Reviewed by: brooks (LLVM ports interactions)
Tested by: Eric Camachat <eric[at]camachat[dot]org>
Approved by: maintainer timeout (gecko@ portion, 2+ weeks)
PR: 274896
Differential Revision: https://reviews.freebsd.org/D40098
13.0.1
09 Oct 2022 14:19:04
commit hash: 6ad958dd4e8d3d0579d1fad78dd12fbd19f9c705commit hash: 6ad958dd4e8d3d0579d1fad78dd12fbd19f9c705commit hash: 6ad958dd4e8d3d0579d1fad78dd12fbd19f9c705commit hash: 6ad958dd4e8d3d0579d1fad78dd12fbd19f9c705 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/wasi-*: take maintainership

These have to be coordinated with gecko@.

Approved by: mentors (implicit)
13.0.1
09 Oct 2022 11:56:28
commit hash: f57221afde929c42521a9325c8e6416e2e400178commit hash: f57221afde929c42521a9325c8e6416e2e400178commit hash: f57221afde929c42521a9325c8e6416e2e400178commit hash: f57221afde929c42521a9325c8e6416e2e400178 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
*/*: Release ports from maintainership

Maintainer releases all his ports.

PR:		266871
Reported by:	unrelentingtech <greg@unrelenting.technology>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
13.0.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.0.1
08 Feb 2022 19:26:13
commit hash: 51e8257584202f96099f31adf71577099fbb12cecommit hash: 51e8257584202f96099f31adf71577099fbb12cecommit hash: 51e8257584202f96099f31adf71577099fbb12cecommit hash: 51e8257584202f96099f31adf71577099fbb12ce files touched by this commit
Christoph Moench-Tegeder (cmt) search for other commits by this committer
www/firefox: unbreak after b00578b9b208

the webasm components must follow llvm (the llvm we use for building
firefox), and wasi-compiler-rt and wasi-libcxx are really just
llvm components and should be at the same version as the llvm we need.
13.0.0_1
24 Nov 2021 20:58:57
commit hash: bf143897d312fc861061eeca33d4cf3e777b6728commit hash: bf143897d312fc861061eeca33d4cf3e777b6728commit hash: bf143897d312fc861061eeca33d4cf3e777b6728commit hash: bf143897d312fc861061eeca33d4cf3e777b6728 files touched by this commit
Christoph Moench-Tegeder (cmt) search for other commits by this committer
devel/wasi-libcxx: actually disable exceptions

This port was accidentially using the base system compiler for some
parts of the configure stages - which gives wrong results in the
compiler feature tests, as base clang on FreeBSD 13.0 (llvm 11) does
not know about the wasm32 target.
Worse, even with the correct compiler some of the feature tests depend
on a present and usable libc++ for the wasi target, which we don't
have yet (this port will build one, but before...).
The end result was that the build system failed to figure out the
compiler flags for disabling exceptions (-fno-exceptions in clang's
case) and built the wasm libc++ with exceptions enabled. But exceptions
are not (yet) supported in wasi-sdk, so trying to build any code against
this wasm libc++ failed with linker errors like
  wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc++.a(string.cpp.o): undefined
symbol: __cxa_allocate_exception
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.0.0
21 Oct 2021 15:46:47
commit hash: 1b1f3cd39d99dd0e0d72471bc5de24b9ffd3b1f9commit hash: 1b1f3cd39d99dd0e0d72471bc5de24b9ffd3b1f9commit hash: 1b1f3cd39d99dd0e0d72471bc5de24b9ffd3b1f9commit hash: 1b1f3cd39d99dd0e0d72471bc5de24b9ffd3b1f9 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
Author: Greg V
devel/wasi-libcxx: Update to 13.0.0.

Differential Revision:	https://reviews.freebsd.org/D32441
11.0.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
11.0.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
11.0.0
02 Nov 2020 15:58:28
Revision:553915Original commit files touched by this commit
mikael search for other commits by this committer
devel/wasi-compiler-rt11, wasi-libc, wasi-libcxx: New ports for WebAssembly
System Interface (WASI) libc, clang builtins (compiler-rt), libc++, libcxxabi

WASI is a "syscall" interface for WebAssembly, significantly inspired by
CloudABI.
It is supported in clang 8 and up, but to actually build C programs,
it needs clang builtins and the libc/sysroot. And for C++, also libc++ and
libcxxabi.

Submitted by:		Greg V <greg%unrelenting.technology>
Differential Revision:	https://reviews.freebsd.org/D22960

Number of commits found: 13