This is the mail archive of the gcc-help@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]
Other format: [Raw text]

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


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