[Bug 285285] benchmarks/lzbench doesn't build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Mar 2025 15:20:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285285

            Bug ID: 285285
           Summary: benchmarks/lzbench doesn't build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://portsfallout.com/port/1333/
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: vsasjason@gmail.com
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

c++ -Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion -fomit-frame-pointer
-fstrict-aliasing -ffast-math -O3 -DNDEBUG -I./. -I./brotli/include -I./libcsc
-I./libdeflate -I./xpack/common   kanzi-cpp/src/io/CompressedOutputStream.cpp
-c -o kanzi-cpp/src/io/CompressedOutputStream.o
In file included from kanzi-cpp/src/io/CompressedOutputStream.cpp:17:
In file included from kanzi-cpp/src/io/CompressedOutputStream.hpp:29:
In file included from kanzi-cpp/src/io/../util/XXHash32.hpp:22:
kanzi-cpp/src/io/../util/../Memory.hpp:178:13: error: use of undeclared
identifier 'bswap64'
  178 |       val = bswap64(val);
      |             ^
kanzi-cpp/src/io/../util/../Memory.hpp:196:13: error: use of undeclared
identifier 'bswap32'
  196 |       val = bswap32(val);
      |             ^
kanzi-cpp/src/io/../util/../Memory.hpp:214:13: error: use of undeclared
identifier 'bswap16'
  214 |       val = bswap16(val);
      |             ^
kanzi-cpp/src/io/../util/../Memory.hpp:223:19: error: use of undeclared
identifier 'bswap64'
  223 |       val = int64(bswap64(uint64(val)));
      |                   ^
kanzi-cpp/src/io/../util/../Memory.hpp:238:19: error: use of undeclared
identifier 'bswap32'
  238 |       val = int32(bswap32(uint32(val)));
      |                   ^
kanzi-cpp/src/io/../util/../Memory.hpp:253:19: error: use of undeclared
identifier 'bswap16'
  253 |       val = int16(bswap16(uint16(val)));
      |                   ^
6 errors generated.
gmake: *** [Makefile:595: kanzi-cpp/src/io/CompressedOutputStream.o] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.