Bug #69765 [Opn->Dup]: Fails to build from source with shared tokenized
| From: | ab@php.net | Date: | Sat, 01 Aug 2015 15:31:52 +0000 |
| Subject: | Bug #69765 [Opn->Dup]: Fails to build from source with shared tokenized | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194877@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69765&edit=1
ID: 69765
Updated by: ab@php.net
Reported by: clicky at erebot dot net
Summary: Fails to build from source with shared tokenized
-Status: Open
+Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: Debian stretch 64 bits
PHP Version: 7.0.0 beta2
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-08-01 15:11:43] cmb@php.net
Related to bug #69896.
------------------------------------------------------------------------
[2015-08-01 13:55:54] clicky at erebot dot net
I can reproduce this with PHP 7.0.0 beta2 too.
Compilation fails with the same error.
------------------------------------------------------------------------
[2015-06-06 16:54:24] clicky at erebot dot net
Description:
------------
Trying to build a 32-bits version of master (git rev. 1123032) on x64 fails when
--enable-tokenizer=shared is used on the configure line.
Using the same configure line without the "=shared" part or without the tokenizer
extension altogether, PHP builds correctly.
Test script:
---------------
export CFLAGS="$CFLAGS -m32"
export CXXFLAGS="$CXXFLAGS -m32"
export LDFLAGS="$LDFLAGS -m32"
./configure \
--disable-all \
--enable-tokenizer=shared
make
Expected result:
----------------
No errors.
Actual result:
--------------
/bin/bash /home/me/php/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/home/me/php/Zend/ -DPHP_ATOM_INC
-I/home/me/php/include -I/home/me/php/main -I/home/me/php -I/home/me/php/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/home/me/php/ext/mbstring/oniguruma
-I/home/me/php/ext/mbstring/libmbfl -I/home/me/php/ext/mbstring/libmbfl/mbfl
-I/home/me/php/ext/sqlite3/libsqlite -I/home/me/php/ext/zip/lib -I/home/me/php/TSRM
-I/home/me/php/Zend -I/usr/include -m32 -fvisibility=hidden -c /home/me/php/Zend/zend_execute.c
-o Zend/zend_execute.lo
In file included from /home/me/php/Zend/zend.h:338:0,
from /home/me/php/Zend/zend_execute.c:27:
/home/me/php/Zend/zend_vm_execute.h: In function âZEND_ADD_SPEC_CONST_CONST_HANDLERâ:
/home/me/php/Zend/zend_operators.h:569:2: error: âasmâ operand has impossible constraints
__asm__(
^
Makefile:2313: recipe for target 'Zend/zend_execute.lo' failed
make: *** [Zend/zend_execute.lo] Error 1
make failed.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69765&edit=1