Le Sun, 30 Oct 2022 06:58:04 +0100,
Sebastien Marie <semarie@online.fr> a écrit :
> On Sat, Oct 29, 2022 at 11:35:26PM +0200, Theo Buehler wrote:
> > > with ${COMPILER_LIBCXX}, make port-lib-depends-check complains about an
> > > extra "c++", another rust port I looked at have c++abi, adding it make
> > > port-lib-depends-check happy (in addition to other libs used)
> >
> > I guess that's fine then.
> >
>
> I should look at it to solve that in a sane way, and have it managed at cargo
> module level.
>
> From my current understanding of the code, on amd64, c++abi is required as it
> provides the LLVM "libunwind" part. It is the case for all RUST_ARCHS except
> sparc64 (where the unwinding code comes from libgcc which is static library).
>
> For now, I think that on sparc64 it doesn't hurt to have c++abi in WANTLIB, even
> if it isn't strictly required. I will try to look at it.
>
> Please note that if the rust port uses C++, it will need ${COMPILER_LIBCXX}.
new version, it compiled finein a clean chroot (1800 seconds on a i5-46xx)
- Git isn't required for building/running it
- no need to use --workspace
- there are no plugins / other binaries provided in the sources, the
things listed with --workspace are the builtins commands and shouldn't
exist as standalone binaries
- it doesn't seem to be using C++ (but WANTLIB requires c++abi ?)
- make port-lib-depends-check is happy on amd64
if you want to experiment with it, here are a few snippets to play with on OpenBSD
open /etc/fstab | from ssv -m 1 -n
open /etc/fstab | from ssv -m 1 -n | rename device mountpoint fs options freq passno
open /etc/fstab | from ssv -m 1 -n | rename device mountpoint fs options freq passno | where fs != "ffs"
open /etc/fstab | from ssv -m 1 -n | rename device mountpoint fs options freq passno | to yaml
pkg_info | str trim | parse -r "(?<package>.*?)-(?<version>[a-zA-Z0-9\\.]*?) (?<description>.*)" | str trim description
pkg_info | str trim | parse -r "(?<package>.*?)-(?<version>[a-zA-Z0-9\\.]*?) (?<description>.*)" | str trim description | to json
ls /usr/ports/**/Makefile | sort-by modified | last 10
help commands
help commands | find uniq
help commands | sort-by category
help commands | where category == network
help where
help sort-by
No comments:
Post a Comment