just a follow up on Stuart's problem.
Stuart reported us that:
C application gcc-3.2 / CLAPACK gcc-3.2 -> OK on 32-bit & 64-bit
C application gcc-4.0 / CLAPACK gcc-4.0 -> OK on 32-bit
C application gcc-4.0 / CLAPACK gcc-4.0 -> BAD on 64-bit
Nobody had time to look seriously into this issue yet.
However Stuart is now fine with the following 'solution':
download pre-compiled LAPACK, BLAS and ATLAS
RPMs for both i386 and x86_64 architectures. Upon linking my
code with these libraries, everything "just worked" in both
32-bit and 64-bit mode. GCC 4.0 caused no problems.
However if somebody has time to investigate what's wrong with
character / CLAPACK (certainly f2c) / gcc-4.0 on 64-bit
this might be a good idea for the future...