You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would break compiling with GCC, as it doesn’t support such a link option (see the documentation). And is this purely for downstream ASan testing of third-party extension modules?
For 3rd party ext they should build their own Python interpreter with the appropriate flags I guess? I do not know why Python should be responsible for this additonal flag. Otherwise what about UBSan/TSan?
Activity
StanFromIreland commentedon Aug 8, 2026
This would break compiling with GCC, as it doesn’t support such a link option (see the documentation). And is this purely for downstream ASan testing of third-party extension modules?
lucascolley commentedon Aug 8, 2026
Can we add it conditionally if the compiler is clang?
That is the current use-case I am working on.
picnixz commentedon Aug 9, 2026
For 3rd party ext they should build their own Python interpreter with the appropriate flags I guess? I do not know why Python should be responsible for this additonal flag. Otherwise what about UBSan/TSan?
lucascolley commentedon Aug 9, 2026
Then we can put it in https://github.com/python/cpython/blob/main/Tools/pixi-packages/build.sh I suppose
picnixz commentedon Aug 9, 2026
I think putting them in pixi is a relevant place (at least, AFAIU the purpose of Pixi).
pythongh-155375: `-shared-libsan` for linux ASAN builds
pythongh-155375: `-shared-libsan` for linux ASAN builds
pythongh-155375: `-shared-libsan` for linux ASAN builds
pythongh-155375: `-shared-libsan` for linux ASAN builds
pythongh-155375: `-shared-libsan` for linux sanitizer builds
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: `-shared-libsan` for linux sanitizer builds
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: `-shared-libsan` for linux sanitizer builds
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: `-shared-libsan` for linux sanitizer builds
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: `-shared-libsan` for linux sanitizer builds
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: pin libcompiler-rt to the active compiler version, b…
pythongh-155375: pin libcompiler-rt to the active compiler version, b…