Re: [PATCH] bfd: Always use CP_ACP=1 on Solaris [PR11280]

Jan Beulich <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 29.06.2026 11:26, Rainer Orth wrote:
> bfd/configure.host defines CP_ACP=1 on Solaris 11 as a workaround for
> the lack the MS-ANSI codepage in Solaris libc iconv(3C).  However, the
> issue isn't restricted to some OpenSolaris build as the comment
> suggests, but present on Solaris in general as can be seen in the iconv -l
> output:
> 
> On both Solaris 10 and 11.4, one gets
> 
> 	CP1252 (1252, ANSI-1252, WINDOWS-1252),
> 
> unlike GNU iconv which lists
> 
> 	CP1252 MS-ANSI WINDOWS-1252
> 
> Therefore, this patch applies the patch on all Solaris versions.
> 
> Tested on {amd64,i386}-pc-solaris2.11 and sparc{v9,}-sun-solaris2.11.
> 
> Ok for trunk?

Yes.

Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.