Error compiling phalcon 1.3.2.

When I try to compile phalcon's latest version (1.3.2) I receive this error message:

/bin/bash /home/poplix/cphalcon/build/64bits/libtool --mode=compile gcc -I. -I/home/poplix/cphalcon/build/64bits -DPHPATOMINC -I/home/poplix/cphalcon/build/64bits/include -I/home/poplix/cphalcon/build/64bits/main -I/home/poplix/cphalcon/build/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 -DPHALCONRELEASE -DHAVECONFIGH -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /home/poplix/cphalcon/build/64bits/phalcon.c -o phalcon.lo libtool: compile: gcc -I. -I/home/poplix/cphalcon/build/64bits -DPHPATOMINC -I/home/poplix/cphalcon/build/64bits/include -I/home/poplix/cphalcon/build/64bits/main -I/home/poplix/cphalcon/build/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 -DPHALCONRELEASE -DHAVECONFIGH -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /home/poplix/cphalcon/build/64bits/phalcon.c -fPIC -DPIC -o .libs/phalcon.o /tmp/cc5rXNVg.s: Assembler messages: /tmp/cc5rXNVg.s:296193: Error: no such instruction: `vfmadd312sd .LC2042(%rip),%xmm0,%xmm1' make: * [phalcon.lo] Error 1

What Can I do?

edited Jun '14

So what did you do? And what system/OS are you on?

When I istalled 1.3.2, I cloned it from github and just "install"ed

git clone --depth=1 git://
cd cphalcon/build/
sudo ./install

Hope this help.

edited Jun '14

Hi, I use ubuntu 12.04.4 Lts, php 5.5.13 and gcc 4.6.3.

I did the same things you wrote: clone from git and install.

I also tried to clone only the branch 1.3.2 but without success.


I had the same issue but i was able to compile it this way:

cd cphalcon/ext
export CFLAGS="-O2 -finline-functions -fvisibility=hidden"
./configure --enable-phalcon
make install
root@dev:~/kit/cphalcon/ext# uname -a
Linux dev 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@dev:~/kit/cphalcon/ext# php -v
PHP (cli) (built: Jul 24 2014 15:44:50)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
root@dev:~/kit/cphalcon/ext# php -r "echo phpversion('phalcon');"