[php-src] Issue #18777: undefined reference to `zend_max_execution_timer_init'

From: Date: Thu, 05 Jun 2025 17:17:15 +0000
Subject: [php-src] Issue #18777: undefined reference to `zend_max_execution_timer_init'
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250212@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/18777 Author: advancedwebdeveloper ### Description Got such a bug, during the build process: > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `init_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:202:(.text+0x664): undefined reference to > `zend_max_execution_timer_init' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `shutdown_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:452:(.text+0x1122): undefined reference to > `zend_max_execution_timer_shutdown' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_set_timeout_ex': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x24d2): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x344c): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_unset_timeout': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1667:(.text+0x3487): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: Zend/zend.o: in > function `zend_new_thread_end_handler': > /home/yantitarenko5/php-src/Zend/zend.c:880:(.text+0xe8d): undefined reference to > `zend_max_execution_timer_init' > collect2: error: ld returned 1 exit status > make: *** [Makefile:314: sapi/cgi/php-cgi] Ошибка 1 > make: *** Ожидание завершения заданий… > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `init_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:202:(.text+0x664): undefined reference to > `zend_max_execution_timer_init' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `shutdown_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:452:(.text+0x1122): undefined reference to > `zend_max_execution_timer_shutdown' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_set_timeout_ex': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x24d2): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x344c): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_unset_timeout': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1667:(.text+0x3487): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: Zend/zend.o: in > function `zend_new_thread_end_handler': > /home/yantitarenko5/php-src/Zend/zend.c:880:(.text+0xe8d): undefined reference to > `zend_max_execution_timer_init' > collect2: error: ld returned 1 exit status > make: *** [Makefile:271: sapi/cli/php] Ошибка 1 > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `init_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:202:(.text+0x664): undefined reference to > `zend_max_execution_timer_init' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `shutdown_executor': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:452:(.text+0x1122): undefined reference to > `zend_max_execution_timer_shutdown' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_set_timeout_ex': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x24d2): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1580:(.text+0x344c): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > Zend/zend_execute_API.o: in function `zend_unset_timeout': > /home/yantitarenko5/php-src/Zend/zend_execute_API.c:1667:(.text+0x3487): undefined reference to > `zend_max_execution_timer_settime' > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: Zend/zend.o: in > function `zend_new_thread_end_handler': > /home/yantitarenko5/php-src/Zend/zend.c:880:(.text+0xe8d): undefined reference to > `zend_max_execution_timer_init' > collect2: error: ld returned 1 exit status > make: *** [Makefile:288: sapi/phpdbg/phpdbg] Ошибка 1 > ### PHP Version ```plain PHP 8.4 ``` ### Operating System OpenSUSE Leap

« previous php.bugs (#250212) next »