[FS#186] luasec not working on wndr4700 ( soc : apm82181 )

LEDE Bugs lede-bugs at lists.infradead.org
Sun Sep 25 19:43:03 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - maz-1 (maz-1) 

Attached to Project - LEDE Project
Summary - luasec not working on wndr4700 ( soc : apm82181 )
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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]: ?
        [C]: in function 'require'
        /usr/lib/lua/ssl.lua:7: in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: ?
> ^C

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=186



More information about the lede-bugs mailing list