Bug 234870 - devel/p5-Algorithm-Cluster: Fails to link on i386 with ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI1_0 in readonly segment
Summary: devel/p5-Algorithm-Cluster: Fails to link on i386 with ld: error: can't creat...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Many People
Assignee: freebsd-perl (Nobody)
URL:
Keywords: easy, needs-patch
Depends on:
Blocks:
 
Reported: 2019-01-11 14:18 UTC by Ed Maste
Modified: 2021-09-15 22:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (perl)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 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 freebsd_triage 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)
Comment 2 Ed Maste freebsd_committer freebsd_triage 2021-07-26 14:57:52 UTC
Remove block on 214864, ld.lld has been the system linker for some time now
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2021-09-15 22:10:17 UTC
Fixed as of commit 233e8c358443cf32cb95ed9e68945529ad5b9e27