Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 197796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Radice <david.e.pi.3.14@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
arpack-arscnd-3.patch Modified version of the patch from http://news.tiker.net/node/373 patch David Radice 2007-11-01 18:20 0000 78.96 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197796 depends on: Show dependency tree
Bug 197796 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-01 18:17 0000
Both arpack and lapack exports the symbol "SECOND", the first as a subroutine,
the latter as a function. Usually the linker does a good job linking with the
right symbol, but sometimes it does the wrong thing so apps built with lapack
and arpack can behave very strangely and/or segfault. 

This issue seems to be x86 related, and x86_64 seems to be unaffected.

See the Debian bug report for more infos:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315570 

The only known solution is to patch arpack and change SECOND --> ARSCND (or
something else) on the x86 arch. I am going to attach a slightly modified
version (to make the patch works with the Gentoo patchset) of the patch found
here:

http://news.tiker.net/node/373

------- Comment #1 From David Radice 2007-11-01 18:20:54 0000 -------
Created an attachment (id=134930) [details]
Modified version of the patch from http://news.tiker.net/node/373

This should be applied after the autotools patch. The gcc-4.2 patch is merged
into this patch: gcc-4.2.patch patches a file which is removed by the new
patch, I have modified the new arcscnd.f file to avoid the known issue with the
gfortran-4.2 in the same way as the gcc-4.2.patch was doing with second.f.

------- Comment #2 From Sébastien Fabbro 2007-11-02 13:15:13 0000 -------
Added in cvs. Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug