Message-Id: <199906100217.WAA21261@acheron.aldhfn.org> From: "Christopher D. Morgan" Organization: The Morgan Family To: pgcc AT delorie DOT com Date: Wed, 9 Jun 1999 22:06:38 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: "cout has different size..." In-reply-to: <19990609214211.A6940@cerebro.laendle> References: <199906090241 DOT WAA07073 AT acheron DOT aldhfn DOT org>; from Christopher D. Morgan on Tue, Jun 08, 1999 at 10:30:53PM -0400 X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk In response to my stupid question, Marc Lehmann wrote: > > > As of few days ago, compiling programs with pgcc-g++ now produces the > > ominous message, "symbol 'cout' has different size in shared object, > > consider re-linking". (A program is now mysteriously hanging and I > > wonder if it related, or if I am really that bad of a programmer :-) > > This is most probably caused by a mismatched libstdc++ with respect to > your system libc. Have you recently upgraded to glibc-2.1 or have you > replaced any compiler or libraries? Yes, I probably did several of these. > > > What causes this message? Any idea what kind of re-linking is being > > talked about? What should I do about this? > > Recompiling should suffice. If not, you have a bigger problem ;) Excellent! Recompile what? pgcc? my program? glibc? (Yes, this is a real question, and yes, I realize how silly it must seem.) > > > On a related note, I recently downloaded pgcc-1.3-1 but chose not to > > install it, as it appeared to be targeted at i686 (even though the > > suffix was ".i586.rpm"). Is this safe to install on a P-5, or are > > there really P-6 instructions embedded in it? > > I don't know how these were compiled, but I think its pretty safe to > assume that these will still work on i586 and below. I'll go ahead and install them, then. Thanks! Christopher D. Morgan