Bug 234870

Summary: devel/p5-Algorithm-Cluster: fails to build on i386 with lld as system linker
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: freebsd-perl (Nobody) <perl>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (perl)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 214864    

Description Ed Maste freebsd_committer 2019-01-11 14:18:05 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/p5-Algorithm-Cluster-1.57.log

ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI1_0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ../src/libcluster.a(cluster.o)
>>> referenced by cluster.c
>>>               cluster.o:(median) in archive ../src/libcluster.a

ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI1_0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ../src/libcluster.a(cluster.o)
>>> referenced by cluster.c
>>>               cluster.o:(median) in archive ../src/libcluster.a

ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI1_0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ../src/libcluster.a(cluster.o)
>>> referenced by cluster.c
>>>               cluster.o:(median) in archive ../src/libcluster.a
...
Comment 1 Ed Maste freebsd_committer 2019-07-24 19:35:46 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)