|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-06-17 08:48 UTC] hannes dot magnusson at gmail dot com
Description: ------------ -bash-2.05b$ uname -a FreeBSD pb11.pair.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue May 3 13:17:19 EDT 2005 root@pb11.pair.com:/usr/obj/usr/src/sys/NEWPB11 i386 -bash-2.05b$ gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Reproduce code: --------------- ./configure --disable-fileinfo Actual result: -------------- ext/standard/formatted_print.o: In function `php_formatted_print': /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' ext/standard/formatted_print.o:/usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: more undefined references to `zend_error_noreturn' follow *** Error code 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 00:00:02 2025 UTC |
Well, this particular failure on fbsd4 is because I added a check for __GNUC__ >= 3 in this zend.c code: #if defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__) void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((alias("zend_error"),noreturn)); #endif But, this also means that it is broken on all those compilers. There should be an #else clause there that doesn't use the __attribute__ hack. That is the real problem as far as I can see.