[Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close
dave.anglin at bell dot net
gcc-bugzilla@gcc.gnu.org
Fri Oct 28 02:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50842
--- Comment #10 from dave.anglin at bell dot net 2011-10-28 02:24:45 UTC ---
On 27-Oct-11, at 3:12 PM, ebotcazou at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50842
>
> --- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org>
> 2011-10-27 19:12:09 UTC ---
>> Didn't work. I looked at the generated Makefile in
>> gcc/ada/gcc-interface and the LIBICONV
>> variable wasn't set to anything.
>
> So OUTPUT_OPTION is set to the same value but not LIBICONV?
Actually, the patch does work for me both with and without --with-
libiconv-prefix=/usr. In testing,
I had tried defining LIBS and this seems to interfere with the
configure checks. Removing the
define for LIBS fixed the problem with LIBICONV. The substitution
for OUTPUT_OPTION occurs
correctly.
Dave
--
John David Anglin dave.anglin@bell.net
More information about the Gcc-bugs
mailing list