[Bug bootstrap/10657] [3.3 regression] java section can not find libiconv

jsturm at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 20 03:29:00 GMT 2003


------- Additional Comments From jsturm at gcc dot gnu dot org  2003-11-20 03:29 -------
(In reply to comment #13)
> Sorry but you will need to set LD_LIBRARY_PATH unless you add -R to all your
compiling of your 
> programs in the nonstandard path.

Andrew,

I think there is a valid complaint here, though it will not be fixed for 3.4,
and is probably not a regression either.

configure is detecting and using libiconv based on the bootstrap compiler's
settings.  This fails in stage2 when the bootstrap compiler is no longer used. 
There are workarounds, you mentioned LD_LIBRARY_PATH and -R.  Or uninstall
libiconv from the bootstrap compiler's path.  Or install it first in ${prefix}.

Nevertheless it's bogus of configure to do this, and completely preventable when
bootstrap moves to toplevel (so stage2 can reconfigure following bootstrap).  I
think it should be kept open, perhaps at lower priority.

Is there a PR you know of for toplevel bootstrap?  If so, this one could depend
on it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
   Target Milestone|3.4                         |3.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10657



More information about the Gcc-bugs mailing list