Bug #69765 [NEW]: Fails to build from source with shared tokenized
| From: | clicky at erebot dot net | Date: | Sat, 06 Jun 2015 16:54:25 +0000 |
| Subject: | Bug #69765 [NEW]: Fails to build from source with shared tokenized | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-193174@lists.php.net to get a copy of this message | ||
From: clicky at erebot dot net
Operating system: Debian stretch 64 bits
PHP version: master-Git-2015-06-06 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:Fails to build from source with shared tokenized
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 bug report at https://bugs.php.net/bug.php?id=69765&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69765&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69765&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69765&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69765&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69765&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69765&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69765&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69765&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69765&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69765&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69765&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69765&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69765&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69765&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69765&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69765&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69765&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69765&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69765&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69765&r=mysqlcfg