[Pkg-scicomp-devel] Bug#434792: suitesparse: FTBFS: Not using -fPIC to make shared library.

Ondrej Certik ondrej at certik.cz
Thu Jul 26 20:29:40 UTC 2007


Hi, I fixed the package and I tested it to build both on i386 and
amd64. I updated the changelog, so it should be ready for upload.
Petsc is waiting for it to build and my packages libmesh, slepc and
python-petsc are waiting for petsc.

Ondrej

On 7/26/07, Kurt Roeckx <kurt at roeckx.be> wrote:
> Package: suitesparse
> Version: 3.0.0-5
> Severity: serious
>
> Hi,
>
> Your package is failing to build with the following error:
> cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -c ../Source/ldl.c -o ldl.oo
> cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -DLDL_LONG -c ../Source/ldl.c -o ldll.oo
> cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -shared *.oo -lm -Wl,-soname -Wl,libldl.so.1 -o libldl.so.1.2
> /usr/bin/ld: ldl.oo: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> ldl.oo: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libldl.so.1.2] Error 1
>
> The first line of that shows that ldl.oo wasn't build using -fPIC, which
> you need to create a shared library.  Please see section 10.2 of the
> policy.
>
> PS: Why is it using "-m64"?  There is no reason to use that, since it's
> the default.
>
>
> Kurt
>
>
>
> _______________________________________________
> Pkg-scicomp-devel mailing list
> Pkg-scicomp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel
>



More information about the Pkg-scicomp-devel mailing list