We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

error with compiling

there is detail below

[[email protected]_0_15_centos build]# ./install --phpize /usr/local/php-7.2.7/bin/phpize --php-config /usr/local/php-7.2.7/bin/php-config --arch 64bits
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
appending configuration tag "CXX" to libtool
mkdir .libs
 gcc -I. -I/root/cphalcon/build/php7/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/php7/64bits/include -I/root/cphalcon/build/php7/64bits/main -I/root/cphalcon/build/php7/64bits -I/usr/local/php-7.2.7/include/php -I/usr/local/php-7.2.7/include/php/main -I/usr/local/php-7.2.7/include/php/TSRM -I/usr/local/php-7.2.7/include/php/Zend -I/usr/local/php-7.2.7/include/php/ext -I/usr/local/php-7.2.7/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -c /root/cphalcon/build/php7/64bits/phalcon.zep.c  -fPIC -DPIC -o .libs/phalcon.o
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [phalcon.lo] Error 1
 gcc -I. -I/root/cphalcon/build/php7/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/php7/64bits/include -I/root/cphalcon/build/php7/64bits/main -I/root/cphalcon/build/php7/64bits -I/usr/local/php-7.2.7/include/php -I/usr/local/php-7.2.7/include/php/main -I/usr/local/php-7.2.7/include/php/TSRM -I/usr/local/php-7.2.7/include/php/Zend -I/usr/local/php-7.2.7/include/php/ext -I/usr/local/php-7.2.7/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -c /root/cphalcon/build/php7/64bits/phalcon.zep.c  -fPIC -DPIC -o .libs/phalcon.o
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [phalcon.lo] Error 1

Thanks for compiling Phalcon!
Build succeed: Please restart your web server to complete the installation


85.5k
Accepted
answer

did you install re2c ?

did you install re2c ?

oh, it is the one of the problems, and i found the answer. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

thanks for help