-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Command to build _testexternalinspection.o
gets truncated when building under WASI
#116229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc. @mhsmith |
I'm not sure what's going on here, but I don't think it's caused by any of the things I've changed recently. |
@brettcannon, how can I reproduce? I tried following the instructions in |
@erlend-aasland the overall build will succeed, but |
If I understand correctly, WASI doesn't actually support building shared library modules at all, so it doesn't set |
@mhsmith Correct, but all the other modules fail due to not being importable (I have #115983 to track turning off building them in the first place). For some reason with |
The list of modules that @mhsmith referred to: cpython/Modules/Setup.stdlib.in Lines 170 to 180 in c951e25
If we don't want to bother trying to figure out why the truncation is occurring I can just turn off trying to build this module under WASI (and all the other ones listed there). |
I just tried the whole thing on my mac, I got expected result: No warning happened when running |
@sobolevn: From that command line, it looks like you were building for macOS, not WASI. |
I turned off building |
Bug description:
The output from
make
is:It seems like the command is partially from
CONFIGURE_LDFLAGS_NODIST= -z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760
.And the
Makefile
line is:But
BLDSHARED
isBLDSHARED= $(PY_CORE_LDFLAGS)
inMakefile
. That suggests there's some expansion failing.CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
The text was updated successfully, but these errors were encountered: