Skip to content

Fix undefined symbol __gxx_personality_v0 on Linux CPython builds#61

Merged
vthorsteinsson merged 2 commits into
masterfrom
fix/cpp-linkage-gxx-personality
Jun 23, 2026
Merged

Fix undefined symbol __gxx_personality_v0 on Linux CPython builds#61
vthorsteinsson merged 2 commits into
masterfrom
fix/cpp-linkage-gxx-personality

Conversation

@thelgason

Copy link
Copy Markdown
Contributor

Recent setuptools links the C++ _eparser extension with the C driver, which omits libstdc++ and leaves __gxx_personality_v0 undefined — causing an ImportError at import time on Linux CPython.

Force the C++ link driver (LDSHARED/LDCXXSHARED) for non-Windows, non-macOS CPython builds, extending the existing PyPy workaround. Mirrors the fix in Icegrams PR #7.

Bumps version to 3.6.2.

Recent setuptools links the C++ extension with the C driver, omitting
libstdc++, which left __gxx_personality_v0 undefined at import time on
Linux. Force the C++ link driver (LDSHARED/LDCXXSHARED) for non-Windows,
non-macOS CPython builds, mirroring the fix in Icegrams PR #7.
@thelgason thelgason requested a review from vthorsteinsson June 23, 2026 11:40
A word that is a whole BÍN entry but was mis-resolved as a compound by
islenska's case-lookup functions leaked a synthetic hyphen into
NounPhrase declension (e.g. 'Æðarvarp 17' -> 'Æðar-varp 17'). That is
fixed in islenska 1.3.2; raise the minimum accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vthorsteinsson vthorsteinsson merged commit 241b96c into master Jun 23, 2026
7 checks passed
@vthorsteinsson vthorsteinsson deleted the fix/cpp-linkage-gxx-personality branch June 23, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants