|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-12-14 01:43 UTC] mail at dasprids dot de
[2016-12-14 16:57 UTC] nikic@php.net
[2016-12-14 16:57 UTC] nikic@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
Description: ------------ Compile Error: "Zend/zend_bitset.h", line 66: undefined symbol: ZEND_MM_BITSET_LEN Compiling Environment: - PHP 7.1.0 - O/S: Solaris 11.3.13.4.0 - Compiler: Developer Studio 12.5 (works fine against gcc 4.8 compiler) Steps To Recreate: - Extract source distribution export CC=cc export CXX=CC export CFLAGS="-m64" export CPPFLAGS="${CFLAGS}" ./configure --sysconfdir=/etc/php --with-config-file-path=/etc/php --with-apxs2=/usr/local/apache2/bin/apxs --disable-all make Notes: - This error doesn't occur with PHP 7.0.13 - This error doesn't occur with GCC 4.8 - The ZEND_MM_BITSET_LEN macro is defined in zend_alloc.c, but is being referenced in zend_bitset.h If I move the typedef for zend_mm_bitset and the #define for ZEND_MM_BITSET_LEN from zend_alloc.c into zend_bitset.h, it compiles fine. Note: I also had to make the changes mentioned in bug #70492 in order to get it to compile correctly. Actual result: -------------- /bin/sh /files/source/php/php-7.1.0-SunOS-5.11-i386/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/files/source/php/php-7.1.0-SunOS-5.11-i386/ext/standard/ -DPHP_ATOM_INC -I/files/source/php/php-7.1.0-SunOS-5.11-i386/include -I/files/source/php/php-7.1.0-SunOS-5.11-i386/main -I/files/source/php/php-7.1.0-SunOS-5.11-i386 -I/files/source/php/php-7.1.0-SunOS-5.11-i386/ext/date/lib -I/files/source/php/php-7.1.0-SunOS-5.11-i386/TSRM -I/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend -m64 -D_POSIX_PTHREAD_SEMANTICS -m64 -DZEND_SIGNALS -c /files/source/php/php-7.1.0-SunOS-5.11-i386/ext/standard/array.c -o ext/standard/array.lo "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_multiply.h", line 276: warning: statement not reached "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_multiply.h", line 289: warning: statement not reached "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 579: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 579: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 579: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 579: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 672: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 672: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 672: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_operators.h", line 672: warning: integer overflow detected: op "<<" "/files/source/php/php-7.1.0-SunOS-5.11-i386/Zend/zend_bitset.h", line 66: undefined symbol: ZEND_MM_BITSET_LEN "/files/source/php/php-7.1.0-SunOS-5.11-i386/ext/standard/array.c", line 630: warning: statement not reached "/files/source/php/php-7.1.0-SunOS-5.11-i386/ext/standard/array.c", line 696: warning: statement not reached cc: acomp failed for /files/source/php/php-7.1.0-SunOS-5.11-i386/ext/standard/array.c *** Error code 1 make: Fatal error: Command failed for target `ext/standard/array.lo'