[Bug 265220] math/PDL: needs PIC
Date: Thu, 14 Jul 2022 20:22:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265220
Bug ID: 265220
Summary: math/PDL: needs PIC
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: perl@FreeBSD.org
Reporter: fuz@fuz.su
Flags: maintainer-feedback?(perl@FreeBSD.org)
Assignee: perl@FreeBSD.org
The port fails on armv7 with a similar reason as the BROKEN reason for i386:
ld: error: can't create dynamic relocation R_ARM_MOVT_ABS against symbol: .LC1
in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'
to allow text relocations in the output
>>> defined in slatec/chfdv.o
>>> referenced by chfdv.f
>>> slatec/chfdv.o:(chfdv_)
The reason for this failure is that the code is not compiled with -fpic (or
-fPIC) and is hence not suitable for use in a shared library. To fix this,
patch the makefile to add -fpic to the compiler options. The port can then be
unbroken on i386, too.
I can try writing a patch, but I'm pretty busy right now. Maybe someone else
can pick this up.
--
You are receiving this mail because:
You are the assignee for the bug.