Bug#826009: package libmath-gsl-perl FTBFS on mips and mipsel (recompile with -fPIC)

Jurica Stanojkovic Jurica.Stanojkovic at imgtec.com
Wed Jun 1 11:22:56 UTC 2016


Package: libmath-gsl-perl
Version: 0.36-1	
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch

Hello,
Package libmath-gsl-perl FTBFS on mips and mipsel
with following error:
/usr/bin/ld: xs/BLAS_wrap.1.16.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC

build logs:
https://buildd.debian.org/status/fetch.php?pkg=libmath-gsl-perl&arch=mips&ver=0.36-1&stamp=1461372647
https://buildd.debian.org/status/fetch.php?pkg=libmath-gsl-perl&arch=mipsel&ver=0.36-1&stamp=1459383304

I have created and attached a patch resolving this issue.

Patch is tested on mips, mipsel, mips64el and i386. 
With this patch package was build successfully.

Please include this patch.

Thank you!

Regards,
Jurica
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-mips-fpic-build.patch
Type: text/x-patch
Size: 452 bytes
Desc: 0003-mips-fpic-build.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160601/a509192c/attachment-0001.bin>


More information about the pkg-perl-maintainers mailing list