From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Macnicol To: egcs@cygnus.com Cc: Jim Wilson Subject: Re: Shared C++ libs on i386-pc-solaris2.5.1 Date: Tue, 09 Sep 1997 19:54:00 -0000 Message-id: <34160BD2.6C74@bohm.anu.edu.au> References: <199709100139.SAA07609@cygnus.com> X-SW-Source: 1997-09/msg00360.html > -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.