Date: Wed, 8 Jun 2016 18:30:39 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: Gerald Pfeifer <gerald@pfeifer.com>, freebsd-toolchain@freebsd.org, Andreas Tobler <andreast@FreeBSD.org> Subject: Re: Duplicate OPT_ entries in gcc/options.h Message-ID: <ff093e89-7ccc-6bc6-1897-e7a04ae39f57@FreeBSD.org> In-Reply-To: <5A8D0A1F-6EA3-4DF2-82A2-EC1309C33E1E@FreeBSD.org> References: <alpine.LSU.2.20.1606082038000.2798@anthias.pfeifer.com> <75411813-0C9B-4CEF-BEE4-8B26DD8346F7@FreeBSD.org> <0610816e-2675-1abf-a4ee-274807317932@FreeBSD.org> <5A8D0A1F-6EA3-4DF2-82A2-EC1309C33E1E@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uefrSTQEJuqUI6e1Q84xQuVtXWsUSkGOE Content-Type: multipart/mixed; boundary="qUs9KkSxj5cJHiP0dcluVohHdXcerXOJE" From: Jung-uk Kim <jkim@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: Gerald Pfeifer <gerald@pfeifer.com>, freebsd-toolchain@freebsd.org, Andreas Tobler <andreast@FreeBSD.org> Message-ID: <ff093e89-7ccc-6bc6-1897-e7a04ae39f57@FreeBSD.org> Subject: Re: Duplicate OPT_ entries in gcc/options.h References: <alpine.LSU.2.20.1606082038000.2798@anthias.pfeifer.com> <75411813-0C9B-4CEF-BEE4-8B26DD8346F7@FreeBSD.org> <0610816e-2675-1abf-a4ee-274807317932@FreeBSD.org> <5A8D0A1F-6EA3-4DF2-82A2-EC1309C33E1E@FreeBSD.org> In-Reply-To: <5A8D0A1F-6EA3-4DF2-82A2-EC1309C33E1E@FreeBSD.org> --qUs9KkSxj5cJHiP0dcluVohHdXcerXOJE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 06/ 8/16 06:16 PM, Dimitry Andric wrote: > On 08 Jun 2016, at 23:54, Jung-uk Kim <jkim@FreeBSD.org> wrote: >> >> On 06/ 8/16 05:15 PM, Dimitry Andric wrote: >>> On 08 Jun 2016, at 21:11, Gerald Pfeifer <gerald@pfeifer.com> wrote: >>>> >>>> I got a user report, and could reproduce this, that building >>>> GCC (lang/gcc, but also current HEAD, so probably pretty much >>>> any version) with FreeBSD 11 and LANG =3D en_US.UTF-8 we get >>>> conflicting entires in $BUILDDIR/gcc/options.h such as > ... >>> Note that GNU awk does *not* produce a different optionlist file when= >>> used with either LANG=3DC or LANG=3Den_US.UTF-8. > ... >>> So I am assuming that the ARRAY[j-1] > ARRAY[j] comparison works >>> differently in our awk, depending on the LANG settings. No idea when= >>> that changed, though, if it changed at all... >> >> This behaviour is known for very long time: >> >> https://svnweb.freebsd.org/changeset/base/173731 >> >> and it is not our fault: >> >> https://www.gnu.org/software/gawk/manual/html_node/POSIX-String-Compar= ison.html >=20 >=20 > Indeed, so the real question is: why does this only started coming up > now, if it is known since 2007? I have been building gcc ports for > ages, and never ran into this problem, but I also have never actively > used a persistent LANG environment variable, let alone with UTF-8 in it= =2E >=20 > Is this because more people started using UTF-8 recently? We are doing more correct collation now: https://svnweb.freebsd.org/changeset/base/290494 Jung-uk Kim --qUs9KkSxj5cJHiP0dcluVohHdXcerXOJE-- --uefrSTQEJuqUI6e1Q84xQuVtXWsUSkGOE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXWJyUAAoJEHyflib82/FGptYH/jTU93g5GYVxxtHcxTat17Eu 6IkTkuibVG41BiGFG/Nqb3hu/NaV41yqkF5XccPclutmSykMn89VgSquTbaWr4dq kb9wFVCb55mzeSxpHZgXXtjVF90gGXbyH8NQH10ZET9xTD6w8oMcel41VkOSjbgt 3YPzic4hR4e8pE+aKsqFMwswyImIQcXNbXPM3fUYckT0Ozn0pdc/CdZ44XCLzp9m rYKgHqW3UEkRyo8nx4uXpK/BX2UDr2ak94wQsHXNaH5RxZ4ejKAABwzxncy3qMjP mcdz5Ly5dTC9jjHCWU+Pb+lo+y5E0yDUHI4MpPAlAZPSSchA9hnZLT+lnnHRC2E= =2JUu -----END PGP SIGNATURE----- --uefrSTQEJuqUI6e1Q84xQuVtXWsUSkGOE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff093e89-7ccc-6bc6-1897-e7a04ae39f57>