[Bug 207324] lang/lua52: on arm (rpi2), lapi.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' . . . recompile with -fPIC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 20 03:34:24 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207324

Ian Lepore <ian at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
                 CC|                            |ian at FreeBSD.org
             Status|New                         |In Progress
           Assignee|freebsd-ports-bugs at FreeBSD. |ian at FreeBSD.org
                   |org                         |

--- Comment #1 from Ian Lepore <ian at FreeBSD.org> ---
Confirmed, all the lua ports fail to build on armv6 when CPUTYPE or -march has
been set to a non-default value.  I think we need to use -fPIC on all arches,
it's the right thing to do considering the files are being compiled into a
shared lib, and only a couple arches can accidentally do that without -fPIC.

I'll get the change made in all 3 lua ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list