This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
assembler problems with: g++ 2.95.1/Solaris 2.6/ -O3
- To: Egcs list <egcs at egcs dot cygnus dot com>
- Subject: assembler problems with: g++ 2.95.1/Solaris 2.6/ -O3
- From: Mike Moran <Mike dot Moran at ee dot ed dot ac dot uk>
- Date: Wed, 29 Sep 1999 18:34:35 +0100
- Organization: Electrical Engineering, The University of Edinburgh
Hi, as the subject says, I'm having problems compiling a c++ file, with
g++ 2.95.1, Solaris 2.6, and option -O3. The error I get is:
/usr/ccs/bin/as: "/var/tmp/ccMsw135.s", line 11041: error: can't compute
value of an expression involving an external symbol
Since it doesn't refer back to anything in the original source file, I
can't find what is causing this. The problem does not occur when I am
using -g for debugging (with no -O3 option). I was wondering if this was
in any way related to the problems cited in the "egcs/Solaris status"
thread.
I am also encountering similar assembler-related problems in a
third-party library (VTK 2.3: http://www.kitware.com/vtk.html).
This problem does not occur with g++ 2.7.2.3 (on the same platform). Any
thoughts?
--
Mike Moran, Dept. of Electrical Engineering, The University of Edinburgh
King's Buildings, Mayfield Rd, Edinburgh EH9 3JL