This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
erratic typeinfo problem on mac (gcc 3.3)
- From: Adrian Broadhurst <adrianb at cs dot cmu dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 6 Aug 2004 18:35:14 -0400
- Subject: erratic typeinfo problem on mac (gcc 3.3)
Hi
I am having problems with gcc version 3.3 (and 3.1) on OS X 10.2.8
This problem is not easily repeatable.
When I compile with -O0 and -g, the compiler is not instantiating all
the typeinfo needed to link the project.
This problem does not occur on i686 platforms. The error occurs in
about 1 of 100 modules, but the affected module changes erratically.
The project is linked indirectly using 'ar' archive tool. .cc -> .o
-> libLibrary.a -> executable.
I have not been able to reproduce this problem in a small scale project.
I can sometimes get the program to link by linking the effected modules
twice (once with -O3 and once with -O0).
Is this a known problem?
Adrian