[Bug 277154] luajit-openresty fails to compile on ppc64el

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Feb 2024 03:15:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277154

            Bug ID: 277154
           Summary: luajit-openresty fails to compile on ppc64el
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mm@FreeBSD.org
          Reporter: tpearson@raptorengineering.com
                CC: powerpc@FreeBSD.org
             Flags: maintainer-feedback?(mm@FreeBSD.org)
          Assignee: mm@FreeBSD.org
                CC: powerpc@FreeBSD.org

luajit-openresty fails to compile on ppc64el after updating to FreeBSD 13.2:

cc -g  -Wall  -O2 -pipe  -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
lj_cdata.o lj_cdata.c
lj_ccall.c:1192:5: error: use of undeclared identifier 'CCALL_MAXSTACK'
    CCALL_HANDLE_REGARG  /* Handle register arguments. */
    ^
lj_ccall.c:441:16: note: expanded from macro 'CCALL_HANDLE_REGARG'
     if (nsp > CCALL_MAXSTACK) { \
               ^
1 error generated.
gmake[3]: *** [Makefile:721: lj_ccall.o] Error 1

Stop.
make[1]: stopped in /usr/ports/lang/luajit-openresty
*** Error code 1

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