Git Product home page Git Product logo

Comments (9)

lysnikolaou avatar lysnikolaou commented on June 12, 2024 1

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.

from cpython.

sobolevn avatar sobolevn commented on June 12, 2024

Happens in Python/optimizer_cases.c.h

from cpython.

nineteendo avatar nineteendo commented on June 12, 2024

Any updates on this?

from cpython.

sobolevn avatar sobolevn commented on June 12, 2024

cc @markshannon 3e06c7f

from cpython.

corona10 avatar corona10 commented on June 12, 2024
Python/optimizer_cases.c.h: In function ‘optimize_uops’:
Python/optimizer_cases.c.h:1444:23: error: assignment to ‘_PyInterpreterFrame *’ from incompatible pointer type ‘_Py_UopsSymbol *’ [-Wincompatible-pointer-types]
 1444 |             gen_frame = sym_new_not_null(ctx);
      |                       ^
make: *** [Makefile:3018: Python/optimizer_analysis.o] Error 1
make: *** Waiting for unfinished jobs....

Build failure with my Fedora 40.
(gcc14)

from cpython.

corona10 avatar corona10 commented on June 12, 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

from cpython.

corona10 avatar corona10 commented on June 12, 2024

Now on the Fedora 40, I am able to build with gcc-14, @lysnikolaou is it still reproduced?

from cpython.

nineteendo avatar nineteendo commented on June 12, 2024

Fixed for me too.

from cpython.

corona10 avatar corona10 commented on June 12, 2024

Issue fixed by #118380

from cpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.