I have set $CFLAGS to "-Ofast" and if I add "-IPA" after "cc"
this links without errors.

"
%make
[..]
cc add.o [....] zlib.o ../lib/libcvs.a ../zlib/libz.a
../diff/libdiff.a   -o cvs 
ld32: ERROR 146: Expecting relocatable objects: add.o is IPA
intermediate object; You must specify -IPA on link line.
[..]

% cc -version
MIPSpro Compilers: Version 7.2.1

% uname -a
IRIX64 xxx 6.5 01200532 IP30
"


Example test:

foo.c: 
"
int main() { return 42; }
"

IPA error:  "cc -Ofast -c foo && cc -o foo foo.o" (and ./foo isn't
created.)
no errors:  "cc -Ofast -c foo && cc -IPA -o foo foo.o"


After linking with "-IPA" I got:

"
%make check
[..]
This test should produce no other output than this line, and a final
"OK".
FAIL: rcs2-7
make[1]: *** [check] Error 1
make[1]: Leaving directory `/users/javu/src/prog/ccvs/src'
make: *** [check] Error 2
Exit 2
"

"
% cvs -v

Concurrent Versions System (CVS) 1.10.8.1 (client/server)
[..]
"

Reply via email to