This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: /usr/ccs/bin/as: can't compute value of an expression involving an external symbol
- To: Lars Olsson <qrvlaro at erv dot ericsson dot se>
- Subject: Re: /usr/ccs/bin/as: can't compute value of an expression involving an external symbol
- From: Gabriel Dos_Reis <Gabriel dot Dos_Reis at sophia dot inria dot fr>
- Date: 28 May 1999 16:44:27 +0200
- Cc: egcs-bugs at egcs dot cygnus dot com, lolsson at crt dot se
- Organization: I.N.R.I.A Sophia-Antipolis (France)
- References: <374E70B7.1BE5B9EB@erv.ericsson.se>
Lars Olsson <qrvlaro@erv.ericsson.se> writes:
| This is a multi-part message in MIME format.
| --------------96B3DFCD2116508409E548A3
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
|
| Please find enclosed a gzipped tar file containing a file foo.cc that causes
| an assembler error on Solaris 2.6:
|
| /usr/ccs/bin/as: "foo.s", line 1640: error: can't compute value of an expression involving an external symbol
|
| The line that seems to cause the error calls the erase() member function of the map template class.
Lars --
This is a known problem with Sun's as. It just happens that the symbol in
question has length greater than 1024 (the maximum Sun's as can handle
correctly). You might want to consider GNU as (and GNU ld): just
install the latest version of binutils.
-- Gaby