From: mario at xenji dot com Operating system: FreeBSD 9.1-RELEASE PHP version: 5.5.0beta3 Package: Compile Failure Bug Type: Bug Bug description:fpm_sockets.c struct tcp_info has no member tcpi_sacked or tcpi_unsacked
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 bug report at https://bugs.php.net/bug.php?id=64642&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64642&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64642&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64642&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64642&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64642&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64642&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64642&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64642&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64642&r=support Expected behavior: https://bugs.php.net/fix.php?id=64642&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64642&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64642&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64642&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64642&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64642&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64642&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64642&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64642&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64642&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64642&r=mysqlcfg