[PATCH] configure: check for libstdc++ and zlib, dynamic and static

Anthony Foiani anthony.foiani@gmail.com
Sun Jan 23 08:01:00 GMT 2011


On Sat, Jan 22, 2011 at 1:28 AM, Anthony Foiani
<anthony.foiani@gmail.com> wrote:
> On Sat, Jan 22, 2011 at 12:25 AM, Bryan Hundven <bryanhundven@gmail.com> wrote:
>> Which configuration did you build to need these fixes?
> The latter of the two you mention: powerpc-e500v2-linux-gnuspe

And if you want more details:

powerpc-e500v2-linux-gnuspe  [l X]
    OS             : linux-
    Companion libs : gmp-4.3.2 mpfr-3.0.0 ppl-0.10.2 cloog-ppl-0.15.9
mpc-0.8.2 libelf-0.8.13
    binutils       : binutils-2.20.1
    C compiler     : gcc-4.5.1 (C,C++)
    C library      : eglibc-2_12
    Tools          : duma-2_5_15 gdb-7.1 ltrace-0.5.3 strace-4.5.20

> Unfortunately, I don't know.  It seems that *something* on the host
> side wants libstdc++ for static linking; exactly what, I don't recall.
>  (I suppose I can erase that package and recompile, to see what
> dies...)
> Interesting; looks like the static lib is a part of -devel for F13
> (and, presumably, earlier), but not on F14.
> Anyway.  Running the experiment now.  Will try to update this thread
> as I find out what breaks.  :)

Dang it.  Now I can't replicate the bug.  I wonder if a few cycles of
adding and removing the -static RPM left things in an odd state...

No idea what's going on.  The final link in cloog/ppl is libtool
invoked with "-static" and "-lstdc++" at the end, but it succeeds
anyway.  Weird.  I'm positive that this failed for me earlier...

Anyway.  If it crops up again, I'll follow up.

Best regards,

For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list