> Since upgrading to IRIX 6.2, we're getting bus errors with
> -mips4 compilations that we never used to get before. These
> only occur with optimization (-O3); when we compile with -g, the
> bus errors don't occur, which makes it a bit tough to track them
> down. The problems don't occur with -mips2 executables (or
> with -mips1 executables, compiled under 5.2). Before upgrading
> to 6.2 from 6.01, we never saw this problem either.
> According to our "developers' friend" at SGI, the following patches
> have been released for the 6.2 Fortran compiler:
> 1262: released 6.2 libblas autoblock problem
> 1294: released 6.2 Fix to Fortran to be able to compile with -g opt
> 1345: released 6.2 f77 namelist read variable fix
> 1378: released 6.2 Complex Arithmetic Broken in 6.2 libftn
> None of these descriptions match my problem, but we've seen that these
> descriptions are not always exhaustive. So -- though this is basically
> a shot in the dark -- I thought I'd ask whether anyone out there
> knows whether any of these patches might possibly also include
> patches to the code optimizer that might fix my problem.
and that changes the entire addressing model, and that can reveal * little
things lurking in the app.
Tried -mips4 -n32? At least that'll give you the same addressing model as your
-mips2 -32 code...
Your 6.01 code, though *was* -64 code if it was -mips4. But the compilers have
changed quite a lot.
Sales Support Engineer
Silicon Graphics NV/SA (Belgium)