Re: Absoft f77 compiler error



nachiketamishra@xxxxxxxxx wrote:
Hi,
I am trying to compile a fortran program. I have Fedora Core 5 - k8 SMP
as my OS. I am using the absoft f77 compiler. When I try to compile my
program it gives the following error:

90: Copyright Absoft Corporation 1994-2006; Absoft Fortran Compiler
Version 10.0
f90fe: 942 source lines
f90fe: 0 Errors, 7 Warnings, 0 Other messages, 0 ANSI
/tmp/3Cofp0/ReadDocument.s: Assembler messages:
/tmp/3Cofp0/ReadDocument.s:1317: Error: attempt to move .org backwards
/tmp/3Cofp0/ReadDocument.s:1360: Error: attempt to .org/.space
backwards? (-10)
ReadDocument.o: Bad value
/tmp/3Cofp0/ReadDocument.s:1457: FATAL: Can't write ReadDocument.o: Bad
value
assembler failed.
make: *** [ReadDocument.o] Error 1

Sounds like a compiler bug, although that's probably cold comfort at this point if you're just trying to get some work done.

The problem is *probably* triggered by something unusual in your code. If you trim the file down as much as possible without making the problem go away and then post it here (if it's small enough), someone might have an idea of what to do.

(My wild guess: Any chance you're declaring an array big enough to wrap around a signed 32-bit location counter? No? OK. It was just a guess.)

Even if you can work around this easily, Absoft would probably be interested in hearing about it (assuming that you're using the latest version of their compiler).

Louis
.



Relevant Pages

  • Standard violation or Absoft bug?
    ... We compile and test with a bunch of compilers and platforms ... but so far we haven't used Absoft routinely. ... The compiler has detected errors in module "LINEARSOLVE_MODULE". ... module procedure c_c_ge ...
    (comp.lang.fortran)
  • Re: division by zero error
    ... Most of the times when I thought I hit a compiler bug, ... end program exception ... Copyright Absoft Corporation 1994-2002; ...
    (comp.lang.fortran)
  • Re: Dual Xeon Linux vs. dual G5 : Where can I find direct speed comparison?
    ... > I actually use it as the primary compiler on my Mac. ... since I do not have the Absoft compiler. ... > the same code compiled with NAG runnng on my 800 MHz PowerBook. ... different platforms, look at the differences in a compiler's ...
    (comp.os.linux)
  • Re: Absoft f77 compiler error
    ... I am using a 64 bits Linux compiler from absoft. ... will be 2 GIGS memory allocation error. ... I am trying to compile a fortran program. ...
    (comp.lang.fortran)
  • Re: Need for speed...
    ... Probably the IBM XLF compiler, especially when it comes to G5 ... to port codes between those two OSes. ... ABSOFT sells the IBM compiler. ... the future of G5-specific optimizations in the ABSOFT compiler. ...
    (comp.lang.fortran)