[v3] libstdc++/28125

Joe Buck Joe.Buck@synopsys.COM
Tue Jan 2 17:19:00 GMT 2007


On Tue, Jan 02, 2007 at 11:03:55AM -0600, Benjamin Kosnik wrote:
> Joe Buck wrote:
> >On Sat, Dec 23, 2006 at 10:09:23AM -0500, Kaveh R. GHAZI wrote:
> >>Ben - Looks like Joe started having the same problem on solaris2.8 around
> >>the same time as when your patch went in.
> >>
> >>http://gcc.gnu.org/ml/gcc-testresults/2006-12/msg00543.html
> >>
> >>Joe, can you investigate where your libstdc++ errors are coming from and
> >>confirm whenther it's related to libiconv?
> >
> >Looks like it.  My libstdc++.log file is filled with things like
> >
> >/u/jbuck/gnu.sol2/bin/ld: skipping incompatible 
> >/depot/libiconv/lib/libiconv.so when searching for -liconv
> >/u/jbuck/gnu.sol2/bin/ld: cannot find -liconv
> 
> Hmm.
> 
> Why are you configuring with:
> 
> --with-libiconv-prefix=/depot/libiconv

That machine has a version of GNU libiconv in that location with symbolic
links to /usr/local.  I can't prevent configure from finding the one in
/usr/local, but there is a bug if iconv is in /usr/local and there is
no explicit "--with" flag (apparently because of differences in the
default treatment of /usr/local/lib and /usr/local/include).

This setup was working fine until quite recently.



More information about the Libstdc++ mailing list