View Full Version : Why does LF95 produces the error "is not a valid 64 bit base/index expression"?
R. T. (Fortran Man)
08-27-2004, 06:21 PM
Why does LF95 produce the following error on 64 bit systems?
Error : `12(%esp)' is not a valid 64 bit base/index expression
Lahey Support
08-27-2004, 06:23 PM
We do not officially support LF95 on 64 bit machines but it will work.
If you compile with "-Wa,--32" so that the assembler works with 32 bit objects created by LF95 the assembler does not produce this error.
-NTRAP is an example of functionality that does not work. There may be other problems. Use at your own risk.
frieler
12-16-2004, 07:46 PM
I am trying to get LF95Pro working on a dual Opteron WS and am having difficulty. At first I was getting assembler complaints about operands in push and pop commands.
I used the "unofficial" workaround mentioned here, "-Wa,--32", and made a small amount of progress. The linker next complained about the /usr/lib/crt* object files not being found. I copied them from /lib64 to /lib and continued. (I know that they may be incompatible, but what else could I do?) The process now complains that "cannot find -lc", after skipping searches in "incompatible" /lib64/libc.so and /lib64/libc.a.
I have no idea what to try next, so would appreciate any help.
Thanks, Cliff
Fedora Core 3 x86-64
2.6.9-1.667smp
dual Opteron 246
4GB DDR400
Lahey Support
12-16-2004, 07:55 PM
Please note that LF95 v6.2 is not officially supported on the Fedora distribution.
Since LF95 v6.2 is a 32 bit compiler you'll need 32 bit Linux libraries (libc.so) and objects (crt*) to link with. These will be installed, and therefore available to LF95, with the 32 bit version of gcc.
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.