Bug 234718 - devel/jna: does not build on i386 with lld as system linker
Summary: devel/jna: does not build on i386 with lld as system linker
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Blocks: 214864
  Show dependency treegraph
Reported: 2019-01-07 22:31 UTC by Ed Maste
Modified: 2019-04-28 11:05 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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