Bug #71809 [Opn->Fbk]: not compiling from ports

From: Date: Sun, 13 Mar 2016 08:42:45 +0000
Subject: Bug #71809 [Opn->Fbk]: not compiling from ports
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199791@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:         rasmus@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:

Which version of gcc are you using?

I just built the port on FreeBSD 9.3 yesterday without any problems


Previous Comments:
------------------------------------------------------------------------
[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


Thread (8 messages)

« previous php.bugs (#199791) next »