[MinGW-Notify] [mingw] #39639: no iconv implementation

Back to archive index
MinGW Notification List mingw****@lists*****
Sun Oct 13 22:38:29 JST 2019


#39639: no iconv implementation

  Open Date: 2019-10-06 02:58
Last Update: 2019-10-13 22:38

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39639
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39639

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2019-10-13 22:38 Updated by: zhangboyang

Comment:

OK, I can confirm the new gcc worked for me. Thank you for fixing this bug.



---------------------------------------------------------------------
Ticket Status:

      Reporter: zhangboyang
         Owner: keith
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: OTHER
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I have been used mingw-gcc for a long time. However, I found the
'-finput-charset=' option not always works correctly across versions. For
example, with the latest mingw-gcc version 8.2.0-4, runing 'gcc -finput-charset
=GB18030 helloworld.c' will throw out error, which says 'no iconv
implementation'.

My further investigation shows the iconv support wasn't compile into mingw-gcc
8.2.0-4. The error message 'no iconv implementation' (which is located in gcc's
charset.c) will only be compiled into cc1.exe when HAVE_ICONV is false.

I downloaded serveral versions of cc1.exe, from gcc 5 to gcc 8. I found 5.3.0-2
and 6.3.0-1 had iconv compiled in, but 5.3.0-3, 7.3.0-1, 8.2.0-4 had no iconv
complied in.

I googled the error message 'no iconv implementation', and I found many similar
issues, some even dated back to 2009, but there is no clear solution or
explaination. I think there might be a problem in your build script, such as
some kind of race condition, which will lead to configuration script not find
iconv library.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/39639
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39639



More information about the MinGW-Notify mailing list
Back to archive index