On Wed, Jun 01, 2016 at 11:22:56AM +0000, Jurica Stanojkovic wrote:
> Package: libmath-gsl-perl
> Version: 0.36-1       
> Severity: important
> Tags: sid + patch
> Justification: FTBFS
> User: [email protected]
> Usertags: mips-patch

> 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.

Thanks! There's no reason to have an architecture check there: -fPIC
should be used for all architectures (on Debian at least.) The normal way
to inject that is to use $Config{cccdlflags}, like ExtUtils::CBuilder and
ExtUtils::MakeMaker do.
-- 
Niko Tyni   [email protected]

Reply via email to