luasec not working on wndr4700 ( soc : apm82181 )
Username: maz-1
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=186
luasec cannot be built with libssp disabled, it complains about “undefined reference to `__stack_chk_fail_local’” I modified luasec makefile and append -fno-stack-protector to CFLAGS. It builts after modification. But when i try to load ssl module, it gives errors:
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio (double int32)
require “ssl” error loading module ‘ssl.core’ from file ‘/usr/lib/lua/ssl.so’:
Error relocating /usr/lib/lua/ssl.so: unsupported relocation type 10
stack traceback:
C: in function 'require' /usr/lib/lua/ssl.lua:7: in main chunk C: in function 'require' stdin:1: in main chunk C: ?
^C