Index | Thread | Search

From:
Thomas Dreibholz <dreibh@simula.no>
Subject:
Re: devel/boost: boost/iostreams zstd linker error
To:
ports@openbsd.org, Brad Smith <brad@comstyle.com>
Date:
Tue, 21 Jul 2026 15:35:22 +0200

Download raw body.

Thread
Hi,

Den 15.06.2026 15:32, skrev Stuart Henderson:
> On 2026/06/15 14:58, Thomas Dreibholz wrote:
>> However, for the BOOST/zstd issue, it does not make a difference.
> correct.
>
> thinking... is zstd required for usage of HiPerConTracer? If not, I
> wonder if it might be better it to detect whether zstd is available in
> the installed copy of boost and #ifdef out use of those functions if
> unavailable.

HiPerConTracer uses it because zstd compression is fast and efficient. 
Since BOOST provides zstd support, it should be enabled. In its current 
state, a program source using BOOST and zstd successfully compiles (i.e. 
support seems to be there) but the linking fails. This seems to be a bug 
in the OpenBSD packaging, probably the same as in the FreeBSD package 
(which got fixed some time ago).

Currently, BOOST with zstd filter is working on Linux (Ubuntu/Debian, 
Fedora, OpenSUSE, Alpine), FreeBSD, NetBSD, and Solaris (OpenIndiana).

-- 
Best regards / Mit freundlichen Grüßen / Med vennlig hilsen

=======================================================================
  Thomas Dreibholz

  Simula Metropolitan Centre for Digital Engineering
  Centre for Resilient Networks and Applications
  Stensberggata 27
  0170 Oslo, Norway
-----------------------------------------------------------------------
  E-Mail:     dreibh@simula.no
  Homepage:   http://simula.no/people/dreibh
=======================================================================