Mail Archives: pgcc/1999/06/09/22:12:40
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
- Raw text -