So, in both cases, gcc's ICE
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-Wno-unused -fPIC -I./cypari2 -I/home/centos/sage/local/lib/pyt
hon3.8/site-packages/cysignals -I/home/centos/sage/local/include
-I/home/centos/sage/local/include/python3.8 -c cypari2/gen.c -o buil
d/temp.linux-x86_64-3.8/cypari2/gen.o
gcc: fatal error: Killed signal terminated program cc1
and this is with gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)
Either your gcc is a bit broken (perhaps there is an update available)
or your machine is a bit too small - does not have enough RAM.
Could be the latter, as you appear to run this on a VPS, which tend to
be very resource-constrained.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/098d12cd-1f95-4186-97a6-64aa104631fen%40googlegroups.com.