This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Oct 2011 02:24:45 +0000
- Subject: [Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close
- Auto-submitted: auto-generated
- References: <bug-50842-4@http.gcc.gnu.org/bugzilla/>
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