Skip to content

Allow use of dragonfly locale code so non-C locales work.#56

Open
Bill-Sommerfeld wants to merge 3 commits intoillumos:il-14_2_0from
Bill-Sommerfeld:il-14_2_0_bug7354
Open

Allow use of dragonfly locale code so non-C locales work.#56
Bill-Sommerfeld wants to merge 3 commits intoillumos:il-14_2_0from
Bill-Sommerfeld:il-14_2_0_bug7354

Conversation

@Bill-Sommerfeld
Copy link
Copy Markdown

This tweaks the libstdc++ configure script to let you pass --enable-clocale=dragonfly to select the dragonfly locale code; this will only work on illumos if you also have the illumos-gate changes in https://code.illumos.org/c/illumos-gate/+/4242

The ctype_members.cc patch is from Jonathan Perkin's patch in pkgsrc-extra and is needed to avoid undefined symbols.

From Jonathan Perkin's patch in pkgsrc-extra
encoded characters.  C++'s locale interface can only cope with a
single char or a single wchar_t.
@Bill-Sommerfeld Bill-Sommerfeld marked this pull request as ready for review May 18, 2025 00:44
Bill-Sommerfeld added a commit to Bill-Sommerfeld/oi-userland that referenced this pull request Feb 10, 2026
The generic locale implementation chosen naturally by gcc's configure
throws an exception if a locale other than "C" is selected.  We can do
better.

Use the DragonflyBSD locale support with a few minor changes.

From my illumos-gcc pull request, illumos/gcc#56
Bill-Sommerfeld added a commit to Bill-Sommerfeld/oi-userland that referenced this pull request Feb 10, 2026
The generic locale implementation chosen naturally by gcc's configure
throws an exception if a locale other than "C" is selected.  We can do
better.

Use the DragonflyBSD locale support with a few minor changes.

From my illumos-gcc pull request, illumos/gcc#56
AndWac pushed a commit to OpenIndiana/oi-userland that referenced this pull request Feb 10, 2026
The generic locale implementation chosen naturally by gcc's configure
throws an exception if a locale other than "C" is selected.  We can do
better.

Use the DragonflyBSD locale support with a few minor changes.

From my illumos-gcc pull request, illumos/gcc#56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant