From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony.thompson@level3.com To: gcc-gnats@gcc.gnu.org Cc: asthomps@ouray.cudenver.edu Subject: c++/3057: Error Compiling C++ on Solaris 2.6 Date: Tue, 05 Jun 2001 11:56:00 -0000 Message-id: <20010605185149.838.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00136.html List-Id: >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: