Bug 166871
| Summary: | Review Request: ATLAS - fast linear algebra libraries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Quentin Spencer <qspencer> |
| Component: | Package Review | Assignee: | José Matos <jamatos> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dakingun, pertusus |
| Target Milestone: | --- | Flags: | kevin:
fedora-cvs+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://math-atlas.sourceforge.net/ | ||
| Whiteboard: | |||
| Fixed In Version: | 3.6.0-7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-10-05 19:11:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 163779 | ||
|
Description
Quentin Spencer
2005-08-26 16:36:58 UTC
I am not able to build it using mock on x86_64, or this is not supposed to be build in a x86_64 environment? This is the error message: Enter f77 compiler [g77]: /usr/bin/gfortran^J Enter F77 Flags [-fomit-frame-pointer -O -m32]: ^JF77 & FLAGS: /usr/bin/gfortran -fomit-frame-pointer -O -m3 2 FLINKER & FLAGS: $(F77) $(F77FLAGS) Compiling with = 'gcc -fomit-frame-pointer -O -mfpmath=387 -m32' doesn't seem to work for me. Enter 1 to try different CC/flags, 0 to continue anyway [1]: error: Bad exit status from /var/tmp/rpm-tmp.96529 (%build) This should compile on x86_64, but I hadn't tested it before. The only x86_64 system I have access to is FC3, which is pre GCC4, so I can't really debug this. It seems that the problem is that it is incorrectly trying 32-bit flags. Could you send me the complete build log so I can see what it did to get to this point? I believe I have found the problem and updated the spec and SRPM files: http://webpages.charter.net/qspencer/rpm/ I am sorry but it has failed again. :-( The good news is that the problem seems the same as before. I will send you the build-log privately. It seems I fixed the problem for the portion of the code where static libraries are built, but not for the subsequent shared library build. This should be fixed now, and updated files have been posted. Now it fails almost in the end. I have sent you the build.log but the relevant lines are here: /usr/bin/ld: tmp/cbdsqr.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC tmp/cbdsqr.o: could not read symbols: Bad value collect2: ld returned 1 exit status It appears this problem is caused by the fact that the LAPACK library that is being used was not compiled with the PIC flag. I have proposed changes to the lapack package, and the maintainer has requested a new build of lapack. Some minor changes to atlas.spec were also necessary. The updated files have been uploaded, but in order to compile them, you will need install the new lapack-devel, which will probably be released to the mirrors by tomorrow (or you can get it now from the build system). Things are improving. :-) Now it fails like this: + ar x /usr/lib64/liblapack_pic.a ar: /usr/lib64/liblapack_pic.a: No such file or directory OK, the problem is again with the LAPACK library. The new lapack.spec compiles, but doesn't install the liblapack_pic.a library. I have sent a patch to the maintainer, and this should now work properly with lapack-3.0-31 when it is released. Review for release 5: * RPM name is OK * Source atlas3.6.0.tar.bz2 is the same as upstream * This is the latest version * The license is correct, and it is included in the package * Builds fine in mock * rpmlint of atlas looks OK * rpmlint of atlas-devel looks OK * File list of atlas looks OK * File list of atlas-devel looks OK Needs work: * BuildRoot should be %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) (wiki: PackagingGuidelines#BuildRoot) * Missing SMP flags. If it doesn't build with it, please add a comment (wiki: PackagingGuidelines#parallelmake) Approved. You can fix the remaining problems after importing the package. A successful build has just completed on devel. A FC-4 branch has been requested. Package Change Request ====================== Package Name: atlas New Branches: EL-5 Owners: deji cvs done. |