Bug 234718

Summary: devel/jna: does not build on i386 with lld as system linker
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 214864    

Description Ed Maste freebsd_committer 2019-01-07 22:31:56 UTC

     [exec] ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
     [exec] >>> defined in /wrkdirs/usr/ports/devel/jna/work/jna-4.5.1/build/native-freebsd-x86/libffi/.libs/libffi.a(win32.o)
     [exec] >>> referenced by win32.o:(.text+0x3F8) in archive /wrkdirs/usr/ports/devel/jna/work/jna-4.5.1/build/native-freebsd-x86/libffi/.libs/libffi.a
Comment 1 commit-hook freebsd_committer 2019-04-28 11:04:44 UTC
A commit references this bug:

Author: antoine
Date: Sun Apr 28 11:04:25 UTC 2019
New revision: 500303
URL: https://svnweb.freebsd.org/changeset/ports/500303

  Fix build on i386 with lld

  PR:		234718