pro64-support
[Top] [All Lists]

ld: could not read symbols when using -Ofast

To: pro64-support@xxxxxxxxxxx
Subject: ld: could not read symbols when using -Ofast
From: Wayne Vieira <waynev@xxxxxxxxxxxxx>
Date: Tue, 20 Mar 2001 12:01:48 -0800
Organization: SGI
Reply-to: waynev@xxxxxxx
Sender: owner-pro64-support@xxxxxxxxxxx
I just installed pro64-0.01.0-13 on a Big Sur system running TL1123, and
things seem to be going well.  While -O3 works fine on one of my codes,
-Ofast gives me the following error on
linking:
sgif90 -r8 main.o sppm.o runhyd3.o bdrys.o cpthreads_sppm_IA64.o c_io.o
timers.o -o run/sppm    
main.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [run/sppm] Error 2

If I add the -Ofast to the line  I get an _extremely_ long link time,
with the final 
error looking something like this:

./run/sppm.ipaqdO6rs//1.o: In function `hydxx_':
./run/sppm.ipaqdO6rs//1.o(.text+0xef90): relocation truncated to fit:
GPREL22 volit_
./run/sppm.ipaqdO6rs//1.o(.text+0xf602): relocation truncated to fit:
GPREL22 vectr1_

Wayne

<Prev in Thread] Current Thread [Next in Thread>
  • ld: could not read symbols when using -Ofast, Wayne Vieira <=