Date: Thu, 14 Jul 2022 20:22:46 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: maintainer-feedback requested: [Bug 265220] math/PDL: needs PIC Message-ID: <bug-265220-14331-rm0moch9E9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265220-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-265220-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-perl (Nobody) <perl@FreeBSD.org> for maintainer-feedback: Bug 265220: math/PDL: needs PIC https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265220 --- Description --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265220-14331-rm0moch9E9>
