Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
getpeername/getnameinfo not detected by configure test #9154
While compiling Python's _socket module, I noticed that getpeername and getnameinfo were mistakenly detected as not present.
Something appears to confuse emscripten in the configuration test, as it returns a link error with
(using -s ERROR_ON_UNDEFINED_SYMBOLS=0 as suggested would defeat the point of the config test :))
The behavior is triggered by using
See testcases attached.
Here's what I had with emsdk latest:
Since Emscripten has working test cases against getpeername/getnameinfo I thought this was specific to
The PR appears to work (correct results from Python ./configure) however there's still an error at runtime: