I am trying to compile gcc 2.5.8 on a Sun IPX under Solaris 2.3 using
gcc 2.3.3. I can tell from posts in comp.os.solaris and gnu.gcc.bug
that others have done this before, so I hope I am having an "old"
problem. Everything goes along fine until make reaches the file
tree.c. Then I get the following errors:
make prefix=/opt/local/GNU CC=/opt/local/GNU/cygnus-sol2-1.0/bin/gcc LANGUAGE=c
/opt/local/GNU/cygnus-sol2-1.0/bin/gcc -c -DIN_GCC -DSVR4 -g -I. -I. -I./config tree.c
/usr/ccs/bin/as: "/tmp/cca001di.s", line 16160: error: can't compute value of an expression involving an external symbol
/usr/ccs/bin/as: "/tmp/cca001di.s", line 16161: error: can't compute value of an expression involving an external symbol
/usr/ccs/bin/as: "/tmp/cca001di.s", line 16163: error: can't compute value of an expression involving an external symbol
... <continues similarly for another dozen lines or so>
I also tried using gas to see if it was a problem with Sun's assembler
and gcc and got the following errors:
/opt/local/GNU/cygnus-sol2-1.0/bin/gcc -c -DIN_GCC -DSVR4 -g -I. -I. -I./config tree.c
/tmp/cca001dV.s: Assembler messages:
... <continues similarly for another dozen lines or so>
I configured this with the following:
# ./configure --prefix=/opt/local/GNU
Configuring for a sparc-sun-solaris2.3 host.
Linked `config.h' to `./config/sparc/xm-sol2.h'
Linked `tm.h' to `./config/sparc/sol2.h'
Linked `aux-output.c' to `./config/sparc/sparc.c'
Linked `tconfig.h' to `./config/sparc/xm-sol2.h'
Linked `hconfig.h' to `./config/sparc/xm-sol2.h'
Linked `md' to `./config/sparc/sparc.md'
Merged sparc/x-sysv4.
Merged sparc/t-sol2.
Created `Makefile'.
Links are now set up for target sparc-sun-solaris2.3.
#
which seemed reasonble. Can anyone give me a clue as to what the
problem is? All help appreciated.
Craig
------------------------------------------------------------
Craig A. Prall, Telephone: 703.883.6125
Member of the Technical Staff Fax: 703.883.3315
McLean, VA 22102-3481