maintainer-feedback requested: [Bug 265220] math/PDL: needs PIC
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 265220] math/PDL: needs PIC"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Jul 2022 20:22:46 UTC
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=265220 --- 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,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.