php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69765 Fails to build from source with shared tokenized
Submitted: 2015-06-06 16:54 UTC Modified: 2015-08-01 15:31 UTC
From: clicky at erebot dot net Assigned:
Status: Duplicate Package: Compile Failure
PHP Version: 7.0.0 beta2 OS: Debian stretch 64 bits
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 - 13 = ?
Subscribe to this entry?

 
 [2015-06-06 16:54 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-01 13:55 UTC] clicky at erebot dot net
-PHP Version: master-Git-2015-06-06 (Git) +PHP Version: 7.0.0 beta2
 [2015-08-01 13:55 UTC] clicky at erebot dot net
I can reproduce this with PHP 7.0.0 beta2 too.
Compilation fails with the same error.
 [2015-08-01 15:11 UTC] cmb@php.net
Related to bug #69896.
 [2015-08-01 15:31 UTC] ab@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 11:01:28 2024 UTC