Bug #71809 [Opn->Fbk]: not compiling from ports
| From: | ab@php.net | Date: | Mon, 14 Mar 2016 16:20:52 +0000 |
| Subject: | Bug #71809 [Opn->Fbk]: not compiling from ports | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199821@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71809&edit=1
ID: 71809
Updated by: ab@php.net
Reported by: 16xmax at rambler dot ru
Summary: not compiling from ports
-Status: Open
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: FreeBSD 10
PHP Version: 7.0.4
Block user comment: N
Private report: N
New Comment:
@16xmax you for sure use some compiler to install from ports, so it's quasi always available on
your system. The question is only which compiler and which version of it is used. If it's gcc
(usual case), please try something above 4.6 or even better above 4.8.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2016-03-14 09:06:22] 16xmax at rambler dot ru
you asked what version of GCC?
I said that the GCC is not installed!
with "make install" from /usr/ports/lang/php7.0 not required to install more GCC
P.S. I'm sorry, I'm using Google translator, so not everything can be understood
------------------------------------------------------------------------
[2016-03-14 06:20:50] rasmus@php.net
Sorry, I don't understand what you are trying to say here
------------------------------------------------------------------------
[2016-03-13 17:22:11] 16xmax at rambler dot ru
Do not install or required at the beginning of the compilation
P.S. ports are updated before each installation or upgrade software!
------------------------------------------------------------------------
[2016-03-13 08:42:39] rasmus@php.net
Which version of gcc are you using?
I just built the port on FreeBSD 9.3 yesterday without any problems
------------------------------------------------------------------------
[2016-03-12 21:29:28] 16xmax at rambler dot ru
Description:
------------
cd /usr/local/ports/lang/php70
make PREFIX=/usr/local/php70 PHPBASE=/usr/local/php70
.....
......
.......
and.....
In file included from /usr/ports/lang/php70/work/php-7.0.4/Zend/zend.h:36:
/usr/ports/lang/php70/work/php-7.0.4/Zend/zend_hash.h:134:15: error: variadic function cannot use
fastcall calling convention
ZEND_API void ZEND_FASTCALL zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t
apply_func, int, ...);
^
/usr/ports/lang/php70/work/php-7.0.4/Zend/zend_portability.h:231:39: note: expanded from macro
'ZEND_FASTCALL'
# define ZEND_FASTCALL __attribute__((fastcall))
^
1 error generated.
*** [ext/reflection/php_reflection.lo] Error code 1
make[1]: stopped in /usr/ports/lang/php70/work/php-7.0.4
1 error
make[1]: stopped in /usr/ports/lang/php70/work/php-7.0.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/php70
how to correct this error and install the interpreter?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71809&edit=1