M
M
My joy2016-08-20 17:44:21
Debian
My joy, 2016-08-20 17:44:21

Phalcon compile error?

Good afternoon comrade friends. I'm trying to compile phalcon.so on debian. I execute ./install , installation goes on for .5-1 minutes and then swears:

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
/bin/bash /root/cphalcon/build/php5/64bits/libtool --mode=compile gcc  -I. -I/root/cphalcon/build/php5/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/php5/64bits/include -I/root/cphalcon/build/php5/64bits/main -I/root/cphalcon/build/php5/64bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DPHALCON_RELEASE -DHAVE_CONFIG_H  -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden   -c /root/cphalcon/build/php5/64bits/phalcon.zep.c -o phalcon.lo
libtool: compile:  gcc -I. -I/root/cphalcon/build/php5/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/php5/64bits/include -I/root/cphalcon/build/php5/64bits/main -I/root/cphalcon/build/php5/64bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden -c /root/cphalcon/build/php5/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 <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [phalcon.lo] Error 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
My joy, 2016-08-20
@t-alexashka

As the guys vladislav tu and Alex rightly said from the comments to the first post, the whole problem is the amount of RAM at the time of compilation. 512 was also not enough. Increased to 1GB - compilation was successful. And monitored at the time of compilation - free memory fell from 908MB to 203MB. Perhaps in the gcc settings you can somehow specify the limit of gluttony.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question