Bug 1296447 - LAPACK build problem
LAPACK build problem
Product: Fedora
Classification: Fedora
Component: lapack (Show other bugs)
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-01-07 04:44 EST by adm.fkt.physik
Modified: 2016-01-13 12:39 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-01-13 12:39:47 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description adm.fkt.physik 2016-01-07 04:44:53 EST
Description of problem:
lapack-3.6.0-5.fc24.src.rpm does not build correctly and aborts as one of the deprecated LAPACK components (sgegs) is not rebuild with -fPIC.

Version-Release number of selected component (if applicable):
Rawhide LAPACK 3.6.0-5.fc24 rebuild
with Scientific Linux 6.7 or 7.1 (RHEL6 or RHEL7):

How reproducible:

Steps to Reproduce:
rpmbuild --rebuild lapack-3.6.0-5.fc24.src.rpm

Actual results:
/usr/bin/ld: DEPRECATED/sgegs.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -
DEPRECATED/sgegs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [shared] Error 1

Expected results:
Complete build of lapack-3.6.0-5.

Additional info:
Replace "rm -f *.o liblapack*" in the Makefile.lapack with "rm -f *.o liblapack* DEPRECATED/*.o" to rebuild also object files for the DEPRECATED components for every library type.

# diff Makefile.lapack*
< 	rm -f *.o liblapack* DEPRECATED/*.o
> 	rm -f *.o liblapack*

This patch fixes the problem for me.
Comment 1 Tom "spot" Callaway 2016-01-13 12:39:47 EST
Fixed in lapack-3.6.0-6.fc24. Good catch, thanks.

Note You need to log in before you can comment on or make changes to this bug.