This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/50842] [4.7 Regression] gnatmake fails to link in stage3 with undefined symbol _iconv_close


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]