This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: /usr/ccs/bin/as: can't compute value of an expression involving an external symbol


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]