=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for yap-6.3.3nb5
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./console/yap.c -o yap.o
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/agc.c -o agc.o
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/absmi.c -o absmi.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
In file included from C/absmi.c:3397:
./OPTYap/tab.insts.i:532:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
      int leader_dep_on_stack;
          ^
./OPTYap/tab.insts.i:672:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
      int leader_dep_on_stack;
          ^
./OPTYap/tab.insts.i:812:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
      int leader_dep_on_stack;
          ^
C/absmi.c:13101:19: warning: expression result unused [-Wunused-value]
        FETCH_Y_FROM_ENV(YREG);
                         ^~~~
./H/absmi.h:636:25: note: expanded from macro 'YREG'
#define YREG            YENV
                        ^~~~
./H/Regs.h:595:29: note: expanded from macro 'YENV'
#define YENV       Yap_REGS.YENV_ /* current environment (may differ from ENV) */
                   ~~~~~~~~ ^~~~~
./H/absmi.h:289:30: note: expanded from macro 'FETCH_Y_FROM_ENV'
#define FETCH_Y_FROM_ENV(A) (A)
                             ^
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/adtdefs.c -o adtdefs.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/alloc.c -o alloc.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/amasm.c -o amasm.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
C/amasm.c:332:1: warning: unused function 'fill_small' [-Wunused-function]
fill_small(CELL w, yamop *code_p, int pass_no)
^
C/amasm.c:594:1: warning: unused function 'a_fi' [-Wunused-function]
a_fi(op_numbers opcodex, op_numbers opcodey, yamop *code_p, int pass_no, struct PSEUDO *cpc, UInt lab, struct intermediates *cip)
^
C/amasm.c:623:1: warning: unused function 'a_fil' [-Wunused-function]
a_fil(op_numbers opcodex, op_numbers opcodey, yamop *code_p, int pass_no, struct PSEUDO *cpc, UInt lab1, UInt lab2, struct intermediates *cip)
^
C/amasm.c:1401:1: warning: unused function 'a_rli' [-Wunused-function]
a_rli(op_numbers opcode, int *clause_has_blobsp, yamop *code_p, int pass_no, struct intermediates *cip)
^
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/analyst.c -o analyst.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arrays.c -o arrays.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
4 warnings generated.
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith0.c -o arith0.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith1.c -o arith1.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith2.c -o arith2.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/attvar.c -o attvar.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/bignum.c -o bignum.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/bb.c -o bb.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cdmgr.c -o cdmgr.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cmppreds.c -o cmppreds.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/compiler.c -o compiler.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/computils.c -o computils.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/corout.c -o corout.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cut_c.c -o cut_c.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/dbase.c -o dbase.o
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/dlmalloc.c -o dlmalloc.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
C/dbase.c:368:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int Yap_DBTrailOverflow()
                       ^
                        void
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/errors.c -o errors.o
C/dbase.c:3723:10: warning: variable 'count' set but not used [-Wunused-but-set-variable]
    UInt count = 0, dead=0;
         ^
C/dbase.c:3723:21: warning: variable 'dead' set but not used [-Wunused-but-set-variable]
    UInt count = 0, dead=0;
                    ^
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
C/errors.c:416:7: warning: variable 'psize' set but not used [-Wunused-but-set-variable]
  int psize = YAP_BUF_SIZE;
      ^
1 warning generated.
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/eval.c -o eval.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/exec.c -o exec.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
4 warnings generated.
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/exo.c -o exo.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
3 warnings generated.
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/globals.c -o globals.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/gmp_support.c -o gmp_support.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
clang -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/gprof.c -o gprof.o
clang: warning: optimization flag '-freorder-blocks' is not supported [-Wignored-optimization-argument]
C/gprof.c:723:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void del_profile_files() {
                      ^
                       void
C/gprof.c:856:7: warning: cast to smaller integer type 'prolog_exec_mode' from 'void *' [-Wvoid-pointer-to-enum-cast]
        md = (prolog_exec_mode)buf.ptr;
             ^~~~~~~~~~~~~~~~~~~~~~~~~
C/gprof.c:926:30: error: called object type 'void *' is not a function or function pointer
  oldpc = (void *) CONTEXT_PC(scv);
                   ~~~~~~~~~~^
2 warnings and 1 error generated.
gmake: *** [Makefile:670: gprof.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/yap
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/yap