You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fixed this issue, there is a problem with my download package. and my colleague uses luarocks to install lanes, this problem is not occur. I copied his installed version lane.lua and lanes/ core.so, this problem is solved. thanks
Unfortunately I have no access to macos, so I can't help you. Not sure if it worth keeping that issue open, so I'll close it until someone wants to reopen along with a pull request that fixes it.
I have fixed this issue, there is a problem with my download package. and my colleague uses luarocks to install lanes, this problem is not occur. I copied his installed version lane.lua and lanes/ core.so, this problem is solved. thanks
Originally posted by @TT-SW in #193 (comment)
This issue can be reappeared by this way,
Enviroment: Lua5.1 Mac os 10.14.5
It will report the error as follow:
➜ lanes-3.11 make test
/Library/Developer/CommandLineTools/usr/bin/make errhangtest
cd src && /Library/Developer/CommandLineTools/usr/bin/make LUA=/usr/local/bin/lua5.1
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o lanes.o lanes.c
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o compat.o compat.c
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o threading.o threading.c
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o tools.o tools.c
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o deep.o deep.c
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -Wall -Werror -O2 -I/usr/local/include/luajit-2.0 -c -o keeper.o keeper.c
mkdir -p lanes
MACOSX_DEPLOYMENT_TARGET=10.3 gcc -bundle -undefined dynamic_lookup lanes.o compat.o threading.o tools.o deep.o keeper.o -L/usr/local/lib -lluajit-5.1 -L/usr/local/lib -lluajit-5.1 -o lanes/core.so
ld: warning: object file (/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/bundle1.o) was built for newer OSX version (10.4) than being linked (10.3)
LUA_CPATH="./src/?.so" LUA_PATH="./src/?.lua;./tests/?.lua" /usr/local/bin/lua5.1 tests/errhangtest.lua
make[1]: *** [errhangtest] Segmentation fault: 11
make: *** [test] Error 2
➜ lanes-3.11
The text was updated successfully, but these errors were encountered: