* installing *source* package ‘luajr’ ...
** this is package ‘luajr’ version ‘0.2.2’
** package ‘luajr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c lua_api.cpp -o lua_api.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c lua_internal.cpp -o lua_internal.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c luajrstdr.cpp -o luajrstdr.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c module.cpp -o module.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c parallel.cpp -o parallel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c push_to.cpp -o push_to.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c registry_entry.cpp -o registry_entry.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c run_func.cpp -o run_func.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c setup.cpp -o setup.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c state.cpp -o state.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Iluajit/src -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tools.cpp -o tools.o
==== Building LuaJIT 2.1 (amalgamation) ====
make -C src amalg
make all "LJCORE_O=ljamalg.o"
HOSTCC host/minilua.o
HOSTCC host/buildvm_lib.o
HOSTCC host/buildvm_peobj.o
HOSTCC host/buildvm_asm.o
HOSTCC host/buildvm_fold.o
HOSTLINK host/minilua
VERSION luajit.h
DYNASM host/buildvm_arch.h
HOSTCC host/buildvm.o
host/buildvm.c:218:56: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
i == BC_IFORL || i == BC_IITERL || i == BC_ILOOP)) &&
^
host/buildvm.c:218:56: note: use '&' for a bitwise operation
i == BC_IFORL || i == BC_IITERL || i == BC_ILOOP)) &&
^~
&
host/buildvm.c:218:56: note: remove constant to silence this warning
i == BC_IFORL || i == BC_IITERL || i == BC_ILOOP)) &&
~^~
1 warning generated.
HOSTLINK host/buildvm
BUILDVM lj_vm.S
BUILDVM lj_ffdef.h
BUILDVM lj_bcdef.h
BUILDVM lj_folddef.h
BUILDVM lj_libdef.h
BUILDVM lj_recdef.h
ASM lj_vm.o
CC ljamalg.o
In file included from ljamalg.c:29:
./lj_tab.c:220:20: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (t->asize > 0 && LJ_MAX_COLOSIZE != 0 && t->colo <= 0)
^ ~~~~~~~~~~~~~~~~~~~~
./lj_tab.c:220:20: note: use '&' for a bitwise operation
if (t->asize > 0 && LJ_MAX_COLOSIZE != 0 && t->colo <= 0)
^~
&
./lj_tab.c:220:20: note: remove constant to silence this warning
if (t->asize > 0 && LJ_MAX_COLOSIZE != 0 && t->colo <= 0)
~^~~~~~~~~~~~~~~~~~~~~~~
In file included from ljamalg.c:46:
./lj_parse.c:1037:26: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (ls->tok != TK_name && (LJ_52 || ls->tok != TK_goto))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lj_parse.c:1037:26: note: use '&' for a bitwise operation
if (ls->tok != TK_name && (LJ_52 || ls->tok != TK_goto))
^~
&
./lj_parse.c:1037:26: note: remove constant to silence this warning
if (ls->tok != TK_name && (LJ_52 || ls->tok != TK_goto))
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lj_parse.c:1734:36: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
} else if ((ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) &&
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lj_parse.c:1734:36: note: use '|' for a bitwise operation
} else if ((ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) &&
^~
|
./lj_parse.c:1820:30: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
if (ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lj_parse.c:1820:30: note: use '|' for a bitwise operation
if (ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) {
^~
|
./lj_parse.c:1945:33: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
} else if (ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lj_parse.c:1945:33: note: use '|' for a bitwise operation
} else if (ls->tok == TK_name || (!LJ_52 && ls->tok == TK_goto)) {
^~
|
In file included from ljamalg.c:66:
./lj_opt_sink.c:106:36: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
(!sink_checkphi(J, ir, ir->op2) ||
^
./lj_opt_sink.c:106:36: note: use '|' for a bitwise operation
(!sink_checkphi(J, ir, ir->op2) ||
^~
|
In file included from ljamalg.c:68:
./lj_snap.c:579:30: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
else if ((LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)) &&
^ ~~~~~~~~~~~~~~~~~~~~
./lj_snap.c:579:30: note: use '|' for a bitwise operation
else if ((LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)) &&
^~
|
./lj_snap.c:659:32: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
} else if ((LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)) &&
^ ~~~~~~~~~~~~~~~~~~~~
./lj_snap.c:659:32: note: use '|' for a bitwise operation
} else if ((LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)) &&
^~
|
In file included from ljamalg.c:71:
./lj_ffrecord.c:226:18: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
else if (LJ_64 && !LJ_GC64 && tvislightud(&rd->argv[0]))
^ ~~~~~~~~
./lj_ffrecord.c:226:18: note: use '&' for a bitwise operation
else if (LJ_64 && !LJ_GC64 && tvislightud(&rd->argv[0]))
^~
&
./lj_ffrecord.c:226:18: note: remove constant to silence this warning
else if (LJ_64 && !LJ_GC64 && tvislightud(&rd->argv[0]))
~^~~~~~~~~~~
9 warnings generated.
AR libluajit.a
==== Successfully built LuaJIT 2.1 (amalgamation) ====
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o luajr.so lua_api.o lua_internal.o luajrstdr.o module.o parallel.o push_to.o registry_entry.o run_func.o setup.o state.o tools.o luajit/src/libluajit.a -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.5/luajr.Rcheck/00LOCK-luajr/00new/luajr/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (luajr)