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
{{ message }}
Repository navigation
New warning: assignment to ‘_PyInterpreterFrame *’ from incompatible pointer type ‘_Py_UopsSymbol *’ [-Wincompatible-pointer-types] #118343
FWIW, for those with setups where warnings are treated as errors (my Fedora does this, not sure why the defaults are different), one can do CFLAGS="-Wno-error=incompatible-pointer-types" make as a work-around until this is solved.
Activity
sobolevn commentedon Apr 27, 2024
Happens in Python/optimizer_cases.c.h
nineteendo commentedon Apr 28, 2024
Any updates on this?
sobolevn commentedon Apr 29, 2024
cc @markshannon 3e06c7f
lysnikolaou commentedon Apr 29, 2024
FWIW, for those with setups where warnings are treated as errors (my Fedora does this, not sure why the defaults are different), one can do
CFLAGS="-Wno-error=incompatible-pointer-types" makeas a work-around until this is solved.corona10 commentedon Apr 29, 2024
Build failure with my Fedora 40.
(gcc14)
corona10 commentedon Apr 30, 2024
The build failure is due to gcc 14 changed policy
Similar issue: https://forums.developer.nvidia.com/t/nvidia-modules-build-failure-with-upcoming-gcc-14-and-recent-kernels-due-to-misfiring-conftest-sh-test-heads-up/279072
pythongh-118343: (void *) casting to avoid gcc-14 build failure issue
pythongh-118343: (void *) casting to avoid gcc-14 build failure issue
corona10 commentedon Apr 30, 2024
Now on the Fedora 40, I am able to build with gcc-14, @lysnikolaou is it still reproduced?
nineteendo commentedon Apr 30, 2024
Fixed for me too.
corona10 commentedon Apr 30, 2024
Issue fixed by #118380
ZeroIntensity commentedon Aug 9, 2024
This might need to get reopened. I'm encountering this error when trying to compile with the JIT on the main branch (but not 3.13, FWIW).
Eclips4 commentedon Aug 9, 2024
It's looks like a new warning, so I think it's ok to open a new issue.
ZeroIntensity commentedon Aug 9, 2024
Ok, will do.