GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — GH-140454: Remove `pyconfig.h` from Makefile `JIT_DEPS` by savannahostrowski · Pull Request #140491 · python/cpython Conversation
|
|
Would be good to get a Makefile expert's eyes on this 🙏 The results of my spelunking efforts: #140454 (comment) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
pyconfig.h from JIT_DEPSpyconfig.h from Makefile JIT_DEPS
|
Thanks. I tested this, and it does not seem to solve the problem for me. Different shell: --- make._sysconfigdata__linux_x86_64-linux-gnu.py 2025-10-23 11:25:44.805777209 +0200 +++ build/lib.linux-x86_64-3.15/_sysconfigdata__linux_x86_64-linux-gnu.py 2025-10-23 11:25:59.599337788 +0200 @@ -19,7 +19,7 @@ 'BINDIR': '/usr/local/bin', 'BINLIBDEST': '/usr/local/lib/python3.15', 'BLDLIBRARY': 'libpython3.15.a', - 'BLDSHARED': 'gcc -shared', + 'BLDSHARED': 'gcc -shared -Wl,--as-needed -g', 'BOOTSTRAP_HEADERS': '\\', 'BUILDEXE': '', 'BUILDPYTHON': 'python', @@ -647,11 +647,12 @@ 'IO_OBJS': '\\', 'IPHONEOS_DEPLOYMENT_TARGET': '', 'JIT_DEPS': '\\', - 'LDCXXSHARED': 'g++ -shared', - 'LDFLAGS': '', + 'LDCXXSHARED': 'g++ -shared -Wl,--as-needed -g', + 'LDFLAGS': '-Wl,--as-needed -g', + 'LDFLAGS_NODIST': '', 'LDLIBRARY': 'libpython3.15.a', 'LDLIBRARYDIR': '', - 'LDSHARED': 'gcc -shared', + 'LDSHARED': 'gcc -shared -Wl,--as-needed -g', 'LDVERSION': '3.15', 'LIBC': '', 'LIBDEST': '/usr/local/lib/python3.15', @@ -987,8 +988,8 @@ 'PY_CPPFLAGS': '-I. -I./Include', 'PY_ENABLE_SHARED': 0, 'PY_HAVE_PERF_TRAMPOLINE': 1, - 'PY_LDFLAGS': '', - 'PY_LDFLAGS_NODIST': '-Wl,--as-needed -g -Wl,--as-needed -g', + 'PY_LDFLAGS': '-Wl,--as-needed -g', + 'PY_LDFLAGS_NODIST': '-Wl,--as-needed -g', 'PY_LDFLAGS_NOLTO': '-Wl,--as-needed -g', 'PY_SQLITE_ENABLE_LOAD_EXTENSION': 0, 'PY_SQLITE_HAVE_SERIALIZE': 0, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Wow, okay. I cannot reproduce this either locally or in a Fedora Devcontainer with the steps you've outlined above. I'll close this PR for now, and we can take the discussion back into the issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.