Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Cython compilation has suddenly started failing
I have a cythonised application which until yesterday was compiling and running completely fine.
Now, suddenly, when trying to compile (Ubuntu 20 droplet) I get this:
creating build/temp.linux-x86_64-3.8 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/var/www/anagami_console/anagami/anagamienv/include -I/usr/include/python3.8 -c event.c -o build/temp.linux-x86_64-3.8/event.o x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1 compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
The same code compiles and runs perfectly on my windows desktop using python 3.9.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×