Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193822 - Can't link with arpack if compiled with gcc 4.2.0
Summary: Can't link with arpack if compiled with gcc 4.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 00:43 UTC by Guillaume Horel
Modified: 2007-09-26 13:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to UTIL/second.f (second.patch,283 bytes, patch)
2007-09-26 00:46 UTC, Guillaume Horel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Horel 2007-09-26 00:43:43 UTC
Arpack-96 compiles fine with gcc-4.2.0, but linking against it doesn't work.
For instance, freemat 3.4 fails to see arpack during the configure part.
Checking config.log reveals that the test fails with:
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libarpack.so: undefined reference to `etime_'

Reproducible: Always

Steps to Reproduce:
1.emerge freemat with arpack support
2.
3.
Comment 1 Guillaume Horel 2007-09-26 00:46:36 UTC
Created attachment 131910 [details, diff]
patch to UTIL/second.f
Comment 2 Guillaume Horel 2007-09-26 00:47:56 UTC
Found a patch on http://www.ann.jussieu.fr/pipermail/freefempp/2007/000394.html which fixes the issue for me.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2007-09-26 13:07:06 UTC
Hi Guillaume,

Thanks much for the note and the patch! I just
fixed this in portage cvs; please re-sync in an hour
or so and re-emerge arpack and you should have it.

Best,
Markus