Shared C++ libs on i386-pc-solaris2.5.1

James Macnicol m9305357@bohm.anu.edu.au
Tue Sep 9 19:54:00 GMT 1997


>         -I had problems with compiling a certain file in my current project
>         since the machine would start thrashing and eventually say "virtual
>         memory
>         exhausted".  I traced it to a C++ header file which had an inline member
>         function; moving that out of the header and into the implementation
>         solved
>         the problem.  On a better note, this project now builds without the
>         internal
>         compiler errors it has with gcc 2.7.2.2.
> 
> I don't know enough about C++ to handle C++ specific problems.  If you
> submit a testcase, you might be able to get a response from one of the
> other volunteers.

	I have since determined it's an STL-related problem.  Even in
implementation files, calls to the push_back member of "list" cause
this problem.  The cases I have seen are when pushing types I have
written (i.e. not standard types).  I'm sorry I can't give any more
detail than that at this stage.  I'll see if I can come up with
something.

	I will report tomorrow on the shared libraries stuff with
Tcl on Solaris x86.



James


P.S.  My apologies to Jim Wilson .... I meant the last message to go
to the list, not to him personally.  I will check my To: and Cc:
lines more carefully next time.



More information about the Gcc mailing list