[Bug 265679] lang/luajit-openresty: fails to build on fresh 13.1-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Aug 2022 22:45:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265679

            Bug ID: 265679
           Summary: lang/luajit-openresty: fails to build on fresh
                    13.1-STABLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mm@FreeBSD.org
          Reporter: arcade@b1t.name
             Flags: maintainer-feedback?(mm@FreeBSD.org)
          Assignee: mm@FreeBSD.org

Hello.

When building port this happens:

cc -g  -Wall  -O2 -pipe -march=native  -fstack-protector-strong
-fno-strict-aliasing  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-U_FORTIFY_SOURCE  -DLUA_MULTILIB=\"lib\" -fno-stack-protector
-DLUAJIT_UNWIND_EXTERNAL   -c -o luajit.o luajit.c 
HOSTLINK  host/minilua
cc -g  -fstack-protector-strong    -o host/minilua host/minilua.o -lm
DYNASM    host/buildvm_arch.h
host/minilua ../dynasm/dynasm.lua  -D ENDIAN_LE -D P64 -D JIT -D FFI -D FPU -D
HFABI -D VER= -o host/buildvm_arch.h vm_x64.dasc
lj_str_hash.c:121:8: error: always_inline function '_mm_crc32_u32' requires
target feature 'crc32', but would be inlined into function 'hash_16_128' that
is compiled without support for 'crc32'
  h1 = lj_crc32_u32(0, len ^ seed);
       ^                                                                       
                                                                               
                                                    lj_str_hash.c:43:22: note:
expanded from macro 'lj_crc32_u32'
#define lj_crc32_u32 _mm_crc32_u32
                     ^

# uname -a 
FreeBSD limbo.b1t.name 13.1-STABLE FreeBSD 13.1-STABLE #18
stable/13-n252046-a2acdcb602d: Fri Aug  5 12:49:18 EEST 2022    
arcade@limbo.b1t.name:/usr/obj/usr/src/amd64.amd64/sys/MIN amd64

# cc -v
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c)
Target: x86_64-unknown-freebsd13.1
Thread model: posix
InstalledDir: /usr/bin

Thanks in advance.

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