This is the mail archive of the gcc@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]

assembler problems with: g++ 2.95.1/Solaris 2.6/ -O3



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


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