Bug 234860 - science/afni: fails to build on i386 with lld as system linker
Summary: science/afni: fails to build on i386 with lld as system linker
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason W. Bacon
URL:
Keywords:
Depends on:
Blocks: 214864
  Show dependency treegraph
 
Reported: 2019-01-11 14:07 UTC by Ed Maste
Modified: 2019-07-24 19:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (jwb)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2019-01-11 14:07:32 UTC
http://package18.nyi.freebsd.org/build.html?mastername=headi386PR214864-default&build=2019-01-05_21h00m02s
http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00m02s/logs/errors/afni-2015.11.13_8.log

ld -shared -o plug_clust.so plug_clust.o
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
>>> defined in plug_clust.o
>>> referenced by plug_clust.c
>>>               plug_clust.o:(PLUGIN_init)

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
>>> defined in plug_clust.o
>>> referenced by plug_clust.c
>>>               plug_clust.o:(PLUGIN_init)
...
Comment 1 Ed Maste freebsd_committer 2019-07-24 19:35:19 UTC
lld has been enabled as system linker for i386 on stable/12 in advance of 12.1 (base svn r350297, a few minutes ago)