Date: Thu, 14 Jul 2022 20:22:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265220] math/PDL: needs PIC Message-ID: <bug-265220-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265220 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,note= xt' 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 el= se can pick this up. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265220-7788>