Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16187 - [umfpack] should be built with -fPIC on x86_64

Attached to Project: Community Packages
Opened by Adrian Benson (abenson) - Monday, 14 September 2009, 15:58 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 15 September 2009, 10:09 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
umfpack libraries should be built with -fPIC flag.
Linking packages against libumfpack.a|so fails on 64 bit systems.

This may be because I am using ATLAS bas/lapack, nevertheless it cannot hurt.

Easy solution - add -fPIC to CFLAGS in UFconfig.mk

Steps to reproduce: While recompiling scipy (using atlas blas)

/usr/bin/ld: /usr/lib/libumfpack.a(umfpack_di_report_control.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libumfpack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/lib/libumfpack.a(umfpack_di_report_control.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libumfpack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared -march=native -O2 -pipe build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.o -L/usr/lib -L/usr/lib -Lbuild/temp.linux-x86_64-2.6 -lumfpack -lamd -lptf77blas -lptcblas -latlas -lpython2.6 -o build/lib.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack/__umfpack.so" failed with exit status 1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 15 September 2009, 10:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  try pkgrel=1.1, reopen bug if still is not fixed.

Loading...