[v3] libstdc++/28125

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


On Tue, Jan 02, 2007 at 11:34:04AM -0600, Benjamin Kosnik wrote:
> Joe Buck wrote:
> >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,
> 
> Au contraire.
> 
> You should be able to prevent this by not specifying 
> "--with-libiconv-prefix=/depot/libiconv"
> 
> Can you please try that and let me know how it goes?

I have repeatedly tried that in the past, and the result is that the build failed,
because of the auto-detected libiconv in /usr/local.  Are you saying that
there has been a change in that area?



More information about the Gcc-patches mailing list