Closed
Description
Bug description:
The output from make
is:
z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760 Modules/_testexternalinspection.o -o Modules/_testexternalinspection.cpython-313d-wasm32-wasi.so
/bin/sh: 1: z: not found
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:
Modules/_testexternalinspection$(EXT_SUFFIX): Modules/_testexternalinspection.o; $(BLDSHARED) Modules/_testexternalinspection.o $(MODULE__TESTEXTERNALINSPECTION_LDFLAGS) $(MODULE_LDFLAGS) -o Modules/_testexternalinspection$(EXT_SUFFIX)
But BLDSHARED
is BLDSHARED= $(PY_CORE_LDFLAGS)
in Makefile
. That suggests there's some expansion failing.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other