Igor Schein on Fri, 6 Nov 1998 18:44:31 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Build failure Solaris gcc 2.0.12


On Fri, Nov 06, 1998 at 06:40:18PM -0500, Ilya Zakharevich wrote:
> We may have an older version of gcc around here, but here is what I
> see:
> 
> /opt/gnu/bin/gcc -c -O2  -mv8 -I. -I../src/headers -I../src/graph -o
> plotport.o ../src/graph/plotport.c
> rm -f gp-sta
> /opt/gnu/bin/gcc -o gp-sta -O2  -mv8 kernel.o mp.o kernel2.o alglin1.o
> alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o
> bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o gen1.o gen2.o gen3.o
> ifactor1.o polarit1.o polarit2.o polarit3.o rootpol.o trans1.o trans2.o
> trans3.o elliptic.o galois.o kummer.o mpqs.o nffactor.o stark.o
> subfield.o thue.o anal.o compat.o errmsg.o es.o helpmsg.o highlvl.o
> init.o sumiter.o gp.o gp_init.o gp_rl.o plot.o plotport.o
> -R/home/ilya/.cpan/build/Math-Pari-2.001104/pari-2.0.12.alpha/o.solaris-
> sparcv9 -R/usr/local/lib -R/usr/openwin/lib -L/opt/gnu/lib -lreadline
> -ltermcap -L/usr/openwin/lib -lX11 -lsocket -lnsl -lm
> kernel.o: could not read symbols: Memory exhausted
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `gp-sta'
> 
> /opt/gnu/bin/gcc --version
> egcs-2.91.57
> 
> Ilya

I've had this problem before.  Basically GNU ld doesn't like
empty kernel.o file.  Just get rid of it in Makefile, and it
should be fine.  Solaris ld doesn't mind an empty object
( save for a warning possibly )

Igor