Binutils 2.20 - Windres problems building pthreads/libiconv on Open Solaris

Dave Korn dave.korn.cygwin@googlemail.com
Mon Feb 15 00:41:00 GMT 2010


On 14/02/2010 05:52, Tony Theodore wrote:
> On 14 February 2010 14:54, Dave Korn wrote:
>> On 14/02/2010 03:44, Dave Korn wrote:
>> 
>>> we could do.  But the other thing I'm wondering is if MS-ANSI isn't
>>> just a slightly non-standard name for CP1252, so maybe we could change
>>> the default to use that one
>> Tony, the attached patch fixes the crash on my osol VM, would you like to
>>  give it a test?
> 
> Thanks Dave, that seems to work (though it took me a while to find the 
> --enable-maintainer-mode). The segfault no longer occurs with the default,
> and specifying -c 0 causes it to happen again.

  BTW, you might want to report this upstream as an opensolaris libc bug,
since iconv() should surely return EINVAL when passed (iconv_t)-1 as an input
argument, rather than throw a SEGV.

> I don't know a great deal about codepages, but it does seems that Microsoft
> refers to the 1250-1258 range as ANSI to distinguish them from Unicode.

  I'm fairly confident now that MS-ANSI really is just an alias for WINDOWS-1252.

    cheers,
      DaveK



More information about the Binutils mailing list