'as' failed in GCC 2.95.1 on Solaris 2.5.1/SPARC
ylyu
ylyu@soim.net
Tue Aug 31 22:45:00 GMT 1999
To whom may concern:
I have recently downloaded GCC 2.95.1 and bulid it with
'./configure --enable-shared --with-cpu=ultrasparc --enable-haifa'
and 'make bootstrap-lean' on a SUN ULTRA 5 workstation with SunOS 5.5.1.
The compilation is smooth. However, when I tried to compile a GPLed
VERILOG simulation software, it report me an error:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/specs
gcc version 2.95.1 19990816 (release)
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95
-D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun
-D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__OPTIMIZE__ -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) t-xnf.cc
t-xnf.iiGNU CPP version 2.95.1 19990816 (release) (sparc)
#include "..." search starts here:#include <...> search starts here:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/../../../../include/g++-3
/usr/local/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/../../../../sparc-sun-solaris2.5.1/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/include /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.1/cc1plus t-xnf.ii -quiet -dumpbase t-xnf.cc -O2 -version -o t-xnf.s
GNU C++ version 2.95.1 19990816 (release) (sparc-sun-solaris2.5.1) compiled by GNU C version 2.95.1 19990816 (release).
/usr/ccs/bin/as -V -Qy -s -xarch=v8plusa -o t-xnf.o t-xnf.s
/usr/ccs/bin/as: WorkShop Compilers 4.2 dev 13 May 1996
/usr/ccs/bin/as: "t-xnf.s", line 5282: error: can't compute value of an expression involving an external symbol
I compiled it for several times and even rebuild my gcc 2.95.1. The result is same
(except the temporary file name:)
I attached all the source files related to this error in source.tar.bz2 and
t-xnf.ii in t-xnf.ii.bz2. Since I am not familiar with the internals of GCC,
I have to post all the related sources. Thank you for your attention.
Yinlei Yu
ylyu@soim.net
---------------------------------
ÃÂ÷ÃÂÃÂãì ÃÂÃÂôæòûÃÂÃÂõÃÂõçÃÂÃÂÃÂÃÂüþãá
http://www.soim.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: source.tar.bz2
Type: application/x-bzip2
Size: 24428 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19990831/c4e65d33/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t-xnf.ii.bz2
Type: application/x-bzip2
Size: 34853 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19990831/c4e65d33/attachment-0001.bz2>
More information about the Gcc-bugs
mailing list