Edit report at https://bugs.php.net/bug.php?id=64642&edit=1
ID: 64642 Comment by: mario at xenji dot com Reported by: mario at xenji dot com Summary: fpm_sockets.c struct tcp_info has no member tcpi_sacked or tcpi_unsacked Status: Open Type: Bug Package: Compile Failure Operating System: FreeBSD 9.1-RELEASE PHP Version: 5.5.0beta3 Block user comment: N Private report: N New Comment: I've added a list of installed ports to the gist, maybe it's a library issue... Previous Comments: ------------------------------------------------------------------------ [2013-04-13 09:55:35] mario at xenji dot com Description: ------------ The configure call: env COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing" CC=clang CXX=clang++ CPP=clang-cpp CFLAGS="-O2 -pipe -fno-strict-aliasing" ./configure --enable-fpm --with-fpm-user=www --with-fpm-group=www --disable-cgi --with-config-file-path=/usr/local/etc --with-config-file-scan- dir=/usr/local/etc/php.d --with-openssl --with-zlib --enable-bcmath --enable- calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd -- with-t1lib --enable-gd-native-ttf --with-mhash --enable-intl --enable-mbstring - -with-mcrypt --with-mysqli --enable-pcntl --with-pdo-mysql --enable-soap -- enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-xsl -- enable-zip --enable-mysqlnd --with-pear I've created a gist with more information https://gist.github.com/xenji/5377738 The gist has infos about: - clang configure output - the clang excerpt of the error - a gcc version of the build attempt I've attached the clang output in the backtrace field, too. Please feel free to contact me for more information. As this server is not business critical, I could provide limited ssh access for further debugging. Actual result: -------------- /bin/sh /root/builds/php/php-5.5.0beta3/libtool --silent --preserve-dup-deps -- mode=compile clang -I/root/builds/php/php-5.5.0beta3/sapi/fpm -Isapi/fpm/ - I/root/builds/php/php-5.5.0beta3/sapi/fpm/ -DPHP_ATOM_INC - I/root/builds/php/php-5.5.0beta3/include -I/root/builds/php/php-5.5.0beta3/main -I/root/builds/php/php-5.5.0beta3 -I/root/builds/php/php-5.5.0beta3/ext/date/lib -I/root/builds/php/php-5.5.0beta3/ext/ereg/regex -I/usr/local/include/libxml2 - I/usr/local/include -I/root/builds/php/php-5.5.0beta3/ext/mbstring/oniguruma - I/root/builds/php/php-5.5.0beta3/ext/mbstring/libmbfl -I/root/builds/php/php- 5.5.0beta3/ext/mbstring/libmbfl/mbfl -I/root/builds/php/php- 5.5.0beta3/ext/sqlite3/libsqlite -I/root/builds/php/php-5.5.0beta3/TSRM - I/root/builds/php/php-5.5.0beta3/Zend -I/usr/local/include -O2 -pipe -fno- strict-aliasing -c /root/builds/php/php-5.5.0beta3/sapi/fpm/fpm/fpm_status.c -o sapi/fpm/fpm/fpm_status.lo /bin/sh /root/builds/php/php-5.5.0beta3/libtool --silent --preserve-dup-deps -- mode=compile clang -I/root/builds/php/php-5.5.0beta3/sapi/fpm -Isapi/fpm/ - I/root/builds/php/php-5.5.0beta3/sapi/fpm/ -DPHP_ATOM_INC - I/root/builds/php/php-5.5.0beta3/include -I/root/builds/php/php-5.5.0beta3/main -I/root/builds/php/php-5.5.0beta3 -I/root/builds/php/php-5.5.0beta3/ext/date/lib -I/root/builds/php/php-5.5.0beta3/ext/ereg/regex -I/usr/local/include/libxml2 - I/usr/local/include -I/root/builds/php/php-5.5.0beta3/ext/mbstring/oniguruma - I/root/builds/php/php-5.5.0beta3/ext/mbstring/libmbfl -I/root/builds/php/php- 5.5.0beta3/ext/mbstring/libmbfl/mbfl -I/root/builds/php/php- 5.5.0beta3/ext/sqlite3/libsqlite -I/root/builds/php/php-5.5.0beta3/TSRM - I/root/builds/php/php-5.5.0beta3/Zend -I/usr/local/include -O2 -pipe -fno- strict-aliasing -c /root/builds/php/php-5.5.0beta3/sapi/fpm/fpm/fpm_stdio.c -o sapi/fpm/fpm/fpm_stdio.lo /root/builds/php/php-5.5.0beta3/sapi/fpm/fpm/fpm_sockets.c:404:11: error: no member named 'tcpi_sacked' in 'struct tcp_info'; did you mean '__tcpi_sacked'? if (info.tcpi_sacked == 0) { ^~~~~~~~~~~ __tcpi_sacked /usr/include/netinet/tcp.h:203:12: note: '__tcpi_sacked' declared here u_int32_t __tcpi_sacked; ^ /root/builds/php/php-5.5.0beta3/sapi/fpm/fpm/fpm_sockets.c:409:18: error: no member named 'tcpi_unacked' in 'struct tcp_info'; did you mean '__tcpi_unacked'? *cur_lq = info.tcpi_unacked; ^~~~~~~~~~~~ __tcpi_unacked /usr/include/netinet/tcp.h:202:12: note: '__tcpi_unacked' declared here u_int32_t __tcpi_unacked; ^ /root/builds/php/php-5.5.0beta3/sapi/fpm/fpm/fpm_sockets.c:413:18: error: no member named 'tcpi_sacked' in 'struct tcp_info'; did you mean '__tcpi_sacked'? *max_lq = info.tcpi_sacked; ^~~~~~~~~~~ __tcpi_sacked /usr/include/netinet/tcp.h:203:12: note: '__tcpi_sacked' declared here u_int32_t __tcpi_sacked; ^ 3 errors generated. *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 1 error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64642&edit=1