This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
<map> problem on solaris
- To: egcs-bugs at cygnus dot com
- Subject: <map> problem on solaris
- From: Adrian Miranda <ade at psg dot com>
- Date: Sun, 28 Jun 1998 16:19:54 -0700 (PDT)
- Reply-To: Adrian Miranda <ade at psg dot com>
Hello, I'm running into a problem, which may be a bug in egcs. The
following program is (I think) valid:
#include <map.h>
#include <string>
main() {
map <string, string> a;
string b("frog");
string c("test");
a[b] = c;
}
However, when I try to compile it with egcs 1.0.3, or egcs 19980621, I
always get an error like:
/usr/ccs/bin/as: "/var/tmp/cca0062..s", line 2454: error: can't compute value of an expression involving an external symbol
This is on sparc-sun-solaris2.5.1.
Please let me know if there is anything else I can tell you. Should I
send part of the offending assembler code? Would binutils be helpful
on Solaris? What version of binutils?
Adrian