Date: Wed, 9 Jun 1999 21:42:11 +0200 To: pgcc AT delorie DOT com Subject: Re: "cout has different size..." Message-ID: <19990609214211.A6940@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com References: <199906090241 DOT WAA07073 AT acheron DOT aldhfn DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199906090241.WAA07073@acheron.aldhfn.org>; from Christopher D. Morgan on Tue, Jun 08, 1999 at 10:30:53PM -0400 X-Operating-System: Linux version 2.2.7 (root AT cerebro) (gcc driver version pgcc-2.93.09 19990221 (gcc2 ss-980929 experimental) executing gcc version 2.7.2.3) From: Marc Lehmann 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 On Tue, Jun 08, 1999 at 10:30:53PM -0400, Christopher D. Morgan wrote: > goof.com several months ago); I like the fact that it lives in > /opt/pgcc, rather than in the locations specified by other rpms, such > as the Mandrake version. Oh, Mandrake must be really bad ;) > 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? > 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 ;) > 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. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |