Two questions about multilib, libstdc++.so, /lib/nof, and gcc-3.4-20030813

Phil Edwards phil@jaj.com
Mon Aug 18 19:02:00 GMT 2003


On Sun, Aug 17, 2003 at 01:17:44PM -0700, Dan Kegel wrote:
> 
> When I build gcc-3.3.1 and below for ppc405 (which no FPU), or
> when I build gcc (any version) for ppc750 (which has an FPU),
> a libstdc++.so* is created in both /lib and /lib/nof.
> One difference between the two is that the one in lib/nof says
>   0x00000001 (NEEDED)                     Shared library: 
>   [libgcc_s_nof.so.1]
> whereas the one in lib says
>   0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
> 
> gcc-3.4-20030813 does not create libstdc++.so* in /lib on ppc405.
> 
> That makes sense, more or less, as the version in /lib probably uses
> the FPU and thus should never get used on the ppc405, I would think.

That may or may not be a bug.  libstdc++ has recently switched to the modern
autotools, and the ripple effects for multilib systems are still propogating.

I can't speak to either of the questions you asked; I just wanted to
point out that current development (as represented by gcc-3.4-20030813)
may not actually be correct behavior.


Phil

-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
    - Brian W. Kernighan



More information about the Gcc mailing list