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]

c++/3057: Error Compiling C++ on Solaris 2.6



>Number:         3057
>Category:       c++
>Synopsis:       Error Compiling C++ on Solaris 2.6
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 05 11:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tony Thompson
>Release:        2.95.2
>Organization:
>Environment:
Solaris 2.6 - Sun Box
>Description:
When compiling using a map and iterator, the following error occures:

/usr/ccs/bin/as: "/home/asthomps/dev/go/src/goApplication/.snprj/cc6ulaoc.s", line 2348: error: can't compute value of an expression involving an external symbol

This appears to be a know bug with a work arround as I've found old news group references but I can not seem to access the faq.
>How-To-Repeat:
Create a c++ program using a map.  Add some data to the map and access it using the find method returning an iterator.  Try to compile the program using -c (no linking).
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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