[nanvix] Makefile.nanvix: enable ac_cv_func_inet_pton=yes#748
Open
esaurez wants to merge 1 commit into
Open
Conversation
Use the current Nanvix SDK libc implementations, enable CPython socket address conversion APIs, and remove the obsolete local inet_ntop fallback for the former stub. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 23312a7e-62f5-477a-a83f-65fd99522fe3
ppenna
force-pushed
the
split/enable-inet-pton
branch
from
July 16, 2026 01:22
f94ee18 to
19d802e
Compare
ppenna
changed the base branch from
feat/wave5-pr-c-unbundle-group-a
to
nanvix/v3.12.3
July 16, 2026 01:23
|
Reworked independently onto current Local validation: |
|
The full manually dispatched Linux/Windows Nanvix CI run passed for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flips
ac_cv_func_inet_ptonfromnotoyesinMakefile.nanvix.nmagainst the toolchainlibposix.aconfirmsinet_ptonis defined (aTsymbol), so the previous=nooverride was incorrect. With=yes, cpython's configure definesHAVE_INET_PTONinpyconfig.h, which enables the IPv6 fast paths insocketmodule.cand registers thesocket.inet_pton/inet_ntopbuiltins. The symbol resolves at dlopen time frompython.elf's.dynsym(libposix.a is whole-archived into the main binary and exported via--export-dynamic).inet_atonstays at=no-- libposix does not provide it.Dependencies
Merges after nanvix/cpython#739, the base it branches from, but the
inet_ptonoverride is otherwise unrelated to the.somigration. Independent of the three sibling cleanups that share the same base -- #745 (drop dead Makefile variables, which also editsMakefile.nanvixbut a disjoint region), #746 (drop deadconfig.pyhelpers), and #747 (splitsetup_localsections) -- so the four can merge in any order.