|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2018-02-11 12:53 UTC] serghei at phalconphp dot com
 Description: ------------ There is a few places with code like `__asm__ goto`. For example Zend/zend_operators.h:532 ``` __asm__ goto( "decq (%0)\n\t" "jo %l1\n" : : "r"(&op1->value) : "cc", "memory" : overflow); return; ``` Please avoid using `asm goto` as it not supported by LLVM. Refs: https://bugs.llvm.org/show_bug.cgi?id=9295 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 14:00:01 2025 UTC | 
Hi nikic@, Unfortunately configure.log does not exists. Current configure output is: ============================== cut ============================== checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking for icc... no checking for suncc... no checking whether clang and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /home/travis/.phpenv/versions/master checking for PHP includes... -I/home/travis/.phpenv/versions/master/include/php -I/home/travis/.phpenv/versions/master/include/php/main -I/home/travis/.phpenv/versions/master/include/php/TSRM -I/home/travis/.phpenv/versions/master/include/php/Zend -I/home/travis/.phpenv/versions/master/include/php/ext -I/home/travis/.phpenv/versions/master/include/php/ext/date/lib checking for PHP extension directory... /home/travis/.phpenv/versions/master/lib/php/extensions/no-debug-zts-20170718 checking for PHP installed headers prefix... /home/travis/.phpenv/versions/master/include/php checking if debug is enabled... no checking if zts is enabled... yes checking for re2c... re2c checking for re2c version... 0.13.6 (ok) checking for gawk... gawk checking whether to enable Zephir Parser... yes, shared checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from clang object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC checking if clang PIC flag -fPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ============================== cut ============================== Compile output: ============================== cut ============================== In file included from /home/travis/build/phalcon/php-zephir-parser/parser/parser.c:1: In file included from /home/travis/.phpenv/versions/master/include/php/main/php.h:35: In file included from /home/travis/.phpenv/versions/master/include/php/Zend/zend.h:333: /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:482:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:532:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:589:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ In file included from /home/travis/build/phalcon/php-zephir-parser/parser/scanner.c:15: In file included from /home/travis/.phpenv/versions/master/include/php/main/php.h:35: In file included from /home/travis/.phpenv/versions/master/include/php/Zend/zend.h:333: /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:482:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:532:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:589:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:679:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:679:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ In file included from /home/travis/build/phalcon/php-zephir-parser/zephir_parser.c:19: In file included from /home/travis/.phpenv/versions/master/include/php/main/php.h:35: In file included from /home/travis/.phpenv/versions/master/include/php/Zend/zend.h:333: /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:482:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:532:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:589:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /home/travis/.phpenv/versions/master/include/php/Zend/zend_operators.h:679:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ ============================== cut ============================== Should I provide something else? Best wishes,Actually no. I use Travis CI build matrix to phpize/configure each time for now. Here is compiler martix .travis.yml (relevant part): compiler: - gcc - clang env: global: - CFLAGS="-g3 -O0 -Wall -fvisibility=hidden" - ZEND_DONT_UNLOAD_MODULES=1 - USE_ZEND_ALLOC=0 - REPORT_EXIT_STATUS=1 - NO_INTERACTION=1 matrix: - CC="gcc" RE2C_VERSION="0.13.6" - CC="clang" RE2C_VERSION="0.13.6" - CC="gcc" RE2C_VERSION="1.0.3" - CC="clang" RE2C_VERSION="1.0.3" matrix: fast_finish: true allow_failures: - php: nightly exclude: - env: CC="gcc" compiler: clang - env: CC="clang" compiler: gcc