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

LEDE Bugs lede-bugs at lists.infradead.org
Tue Sep 27 15:21:58 PDT 2016


The following task has a new comment added:

FS#186 - luasec not working on wndr4700 ( soc : apm82181 )
User who did this - Christian Lamparter (chunkeey)

----------
I traced this error down to "-fpic vs -fPIC" in the luasocket (-fpic) library vs luasec (-fPIC). 

While this isn't a problem on architectures like MIPS and x86, it does affect PowerPC, Sparc, ... .
If you want to learn more about it, you can look at this stackoverflow thread [[http://stackoverflow.com/questions/3544035/what-is-the-difference-between-fpic-and-fpic-gcc-parameters|External Link to Stackoverflow]].

I have attached the compiled -fPIC libraries and the raw patch. I haven't tested if luasec and luasocket now do what they are supposed to do. If they do, could you please take care of posting the patch upstream? Thanks.
----------

One or more files have been attached.

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



More information about the lede-bugs mailing list