On 2001-08-08, Kathy Bieltz wrote:
>The same C++ code that compiles with kgcc and gcc-2.91-66 fails when
>I attempt to compile it with gcc-2.96-85. Here is the log of the make:
>/usr/bin/gcc -c -Wall -O2 -I. --schedule-insns -DINTEL -DUNIX -DLINUX -DSVR4
>Array.cpp -fPIC -DPIC -o obj/Array.o
>/usr/bin/gcc -c -Wall -O2 -I. --schedule-insns -DINTEL -DUNIX -DLINUX -DSVR4
>Cache.cpp -fPIC -DPIC -o obj/Cache.o
>Cache.cpp: In method `Bool Cache::Remove (MntrObject *, int)':
>Cache.cpp:128: Unable to find a register to spill in class `AREG'.
>Cache.cpp:128: confused by earlier errors, bailing out
>make[4]: *** [obj/Cache.o] Error 1
>make[3]: *** [releaseso] Error 2
>make[2]: *** [releaseso] Error 2
>make[1]: *** [releaseso] Error 2
>make: *** [releaseso] Error 2
>
>I need to compile this C++ library with gcc-2.96-85 so I can link it into
>other executables compiled with gcc-2.96-85. I can't compile
>working executables for RH 7.1 until I get this fixed.
>
>Any ideas on work-around or fix would be appreciated.
Is it the same if you run g++ with just -O or no optimizations at
all?
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list