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
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
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-10-18 12:38:20
Commit Hash: 84b600f
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:
There is no distinfo for this port.

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-libcxx17
  2. devel/wasi-libcxx18
  3. devel/wasi-libcxx19
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_wasi-libcxx
USES:
cmake 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: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0
18 Oct 2024 12:38:20
commit hash: 84b600fb9f63e0961632dae0d90186b1586fd901commit hash: 84b600fb9f63e0961632dae0d90186b1586fd901commit hash: 84b600fb9f63e0961632dae0d90186b1586fd901commit hash: 84b600fb9f63e0961632dae0d90186b1586fd901 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
wasi: update to latest commit past sdk-22

devel/wasi-libc is now flavourised per supported LLVM version. Each
flavour includes/copies the corresponding clang's stdarg.h and
stddef.h instead of simply using the latest clang release.

Technically upstream dropped support for LLVM < 18, but the commit
doing so admittedly operated under an uncertain assumption. LLVM
17 is still supported in these ports for the benefit of Rust and
gecko@ ports, which specify LLVM 17 minimum, and to facilitate LTO
with that version. LLVM 19 is also supported in this version, with
the corresponding ports to be committed separately.

Bump PORTREVISION of consumers
0
18 Oct 2024 12:01:51
commit hash: cc2efaed00e35ece830aa68e3298d865513de061commit hash: cc2efaed00e35ece830aa68e3298d865513de061commit hash: cc2efaed00e35ece830aa68e3298d865513de061commit hash: cc2efaed00e35ece830aa68e3298d865513de061 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/wasi-{compiler-rt,libcxx}: attempt to unbreak the tree

In the meta-ports, USES=llvm is defined before IGNORE, so when
DISTVERSION=0, they are marked BROKEN because LLVM version 0 is
invalid. However, the USES=llvm alone will permeate ${LLVM_DEFAULT}
unless a valid specific LLVM version/range is specified, so anything
that references the USES=llvm variables will defer to ${LLVM_DEFAULT}.
In these cases, the children of these meta-ports are split by
individual LLVM version, referencing them specifically.

Each devel/wasi-libcxx depends on the corresponding devel/wasi-compiler-rt
using ${LLVM_VERSION} through the respective meta-ports. However,
since the meta-port is not IGNOREd until after the invalid USES=llvm,
${LLVM_VERSION} is ${LLVM_DEFAULT}, which is still as of this commit
15, one of the dropped versions in WASI. BUILD_DEPENDS in the
meta-port as a result refers to a removed port, breaking the tree.

Conditionalise USES=llvm until after the proper IGNORE to avoid
this kind of situation now and into the future.

Reported by: antoine
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: 15