[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-centos-7-clang #150

noc at squid-cache.org noc at squid-cache.org
Fri Jan 2 14:42:25 UTC 2015


See <http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/150/changes>

Changes:

[Francesco Chemolli] Removed some never-true assertions

clang uncovered several conditionals which could never be true.
Removed the conditionals entirely.

[Amos Jeffries] Bug 3664: ssl_crtd fails to build on OpenSolaris/OpenIndiana/Solaris 11

[Amos Jeffries] Bug 3754: configure doesnt detect IPFilter 5.1.2 system headers

Solaris 10+ bundles IPFilter code natively, but the IPFilter
headers contain a duplicate definition of minor_t which does
not match the existing OS definition.

The result is that no applications (such as Squid) will build
on Solaris with the natively provided headers.

Also, the upstream IPFilter code separate from Solaris contains
the same minor_t definition so building against a separate
install of IPFilter does not fix the issue.

We must instead play fancy games #define'ing minor_t to a
different real-name for the OS headers and its own name for
the IPFilter headers.


Thanks to Yuri Voinov for sponsoring the Solaris 10
machine and environment resources for this fix.

------------------------------------------
[...truncated 3692 lines...]
clang: warning: argument unused during compilation: '-I libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
libtool: compile:  ccache clang -DHAVE_CONFIG_H -I. -I../../libltdl -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../libltdl -Ilibltdl -I../../libltdl/libltdl -I../../libltdl/libltdl -g -O2 -MT libltdlc_la-lt_error.lo -MD -MP -MF .deps/libltdlc_la-lt_error.Tpo -c ../../libltdl/lt_error.c -o libltdlc_la-lt_error.o >/dev/null 2>&1
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
libtool: compile:  ccache clang -DHAVE_CONFIG_H -I. -I../../libltdl "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../libltdl -Ilibltdl -I../../libltdl/libltdl -I../../libltdl/libltdl -g -O2 -MT lt__strl.lo -MD -MP -MF .deps/lt__strl.Tpo -c ../../libltdl/lt__strl.c -o lt__strl.o >/dev/null 2>&1
libtool: compile:  ccache clang -DHAVE_CONFIG_H -I. -I../../libltdl -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../libltdl -Ilibltdl -I../../libltdl/libltdl -I../../libltdl/libltdl -g -O2 -MT libltdlc_la-slist.lo -MD -MP -MF .deps/libltdlc_la-slist.Tpo -c ../../libltdl/slist.c -o libltdlc_la-slist.o >/dev/null 2>&1
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
libtool: compile:  ccache clang -DHAVE_CONFIG_H -I. -I../../libltdl -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../libltdl -Ilibltdl -I../../libltdl/libltdl -I../../libltdl/libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c ../../libltdl/ltdl.c -o libltdlc_la-ltdl.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-lt_error.Tpo .deps/libltdlc_la-lt_error.Plo
/bin/sh ./libtool --tag=CC   --mode=link ccache clang  -g -O2 -module -avoid-version  -o dlopen.la  dlopen.lo -ldl -ldl 
mv -f .deps/libltdlc_la-slist.Tpo .deps/libltdlc_la-slist.Plo
mv -f .deps/lt__strl.Tpo .deps/lt__strl.Plo
mv -f .deps/libltdlc_la-ltdl.Tpo .deps/libltdlc_la-ltdl.Plo
libtool: link: ar cru .libs/dlopen.a .libs/dlopen.o 
libtool: link: ranlib .libs/dlopen.a
libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
/bin/sh ./libtool --tag=CC   --mode=link ccache clang  -g -O2 -no-undefined -dlpreopen dlopen.la   -o libltdlc.la  libltdlc_la-preopen.lo libltdlc_la-lt__alloc.lo libltdlc_la-lt_dlloader.lo libltdlc_la-lt_error.lo libltdlc_la-ltdl.lo libltdlc_la-slist.lo lt__strl.lo -ldl 
libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT
libtool: link: (cd .libs && ccache clang -g -O2 -c -fno-builtin -fno-rtti -fno-exceptions  -fPIC -DPIC "libltdlcS.c")
libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT"
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl/./.libs/dlopen.a")>
libtool: link: ar cru .libs/libltdlc.a .libs/libltdlc_la-preopen.o .libs/libltdlc_la-lt__alloc.o .libs/libltdlc_la-lt_dlloader.o .libs/libltdlc_la-lt_error.o .libs/libltdlc_la-ltdl.o .libs/libltdlc_la-slist.o .libs/lt__strl.o .libs/libltdlcS.o  .libs/libltdlc.lax/dlopen.a/dlopen.o 
libtool: link: ranlib .libs/libltdlc.a
libtool: link: rm -fr .libs/libltdlc.lax
libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" )
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl'>
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl'>
Making all in scripts
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/scripts'>
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/scripts'>
Making all in icons
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/icons'>
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/icons'>
Making all in errors
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/errors'>
case "off" in \
off) \
    echo "WARNING: Translation is disabled."; \
    ;; \
""|no) \
    echo "WARNING: Translation toolkit was not detected."; \
    ;; \
esac; \
touch translate-warn
WARNING: Translation is disabled.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/errors'>
Making all in doc
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
Making all in manuals
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc/manuals'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc/manuals'>
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
Making all in helpers
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
Making all in basic_auth
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth'>
Making all in DB
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/DB'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/basic_auth/DB/basic_db_auth.pl.in >basic_db_auth || (/usr/bin/rm -f -f basic_db_auth ; exit 1)
pod2man basic_db_auth basic_db_auth.8
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/DB'>
Making all in LDAP
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/LDAP'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_ldap_auth.o -MD -MP -MF .deps/basic_ldap_auth.Tpo -c -o basic_ldap_auth.o ../../../../helpers/basic_auth/LDAP/basic_ldap_auth.cc
mv -f .deps/basic_ldap_auth.Tpo .deps/basic_ldap_auth.Po
/bin/sh ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o basic_ldap_auth basic_ldap_auth.o ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lldap -llber 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o basic_ldap_auth basic_ldap_auth.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lldap -llber
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/LDAP'>
Making all in NCSA
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/NCSA'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/NCSA  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_ncsa_auth.o -MD -MP -MF .deps/basic_ncsa_auth.Tpo -c -o basic_ncsa_auth.o ../../../../helpers/basic_auth/NCSA/basic_ncsa_auth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/NCSA  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT crypt_md5.o -MD -MP -MF .deps/crypt_md5.Tpo -c -o crypt_md5.o ../../../../helpers/basic_auth/NCSA/crypt_md5.cc
mv -f .deps/basic_ncsa_auth.Tpo .deps/basic_ncsa_auth.Po
mv -f .deps/crypt_md5.Tpo .deps/crypt_md5.Po
/bin/sh ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o ../../../lib/libmisccontainers.la ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lnettle -lcrypt  -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o  ../../../lib/.libs/libmisccontainers.a ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/NCSA'>
Making all in NIS
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/NIS'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/NIS  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_nis_auth.o -MD -MP -MF .deps/basic_nis_auth.Tpo -c -o basic_nis_auth.o ../../../../helpers/basic_auth/NIS/basic_nis_auth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/NIS  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT nis_support.o -MD -MP -MF .deps/nis_support.Tpo -c -o nis_support.o ../../../../helpers/basic_auth/NIS/nis_support.cc
mv -f .deps/basic_nis_auth.Tpo .deps/basic_nis_auth.Po
mv -f .deps/nis_support.Tpo .deps/nis_support.Po
/bin/sh ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o basic_nis_auth basic_nis_auth.o nis_support.o ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o basic_nis_auth basic_nis_auth.o nis_support.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/NIS'>
Making all in PAM
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/PAM'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_pam_auth.o -MD -MP -MF .deps/basic_pam_auth.Tpo -c -o basic_pam_auth.o ../../../../helpers/basic_auth/PAM/basic_pam_auth.cc
mv -f .deps/basic_pam_auth.Tpo .deps/basic_pam_auth.Po
/bin/sh ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o basic_pam_auth basic_pam_auth.o ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lpam -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o basic_pam_auth basic_pam_auth.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lpam -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/PAM'>
Making all in POP3
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/POP3'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/basic_auth/POP3/basic_pop3_auth.pl.in >basic_pop3_auth || (/usr/bin/rm -f -f basic_pop3_auth ; exit 1)
pod2man basic_pop3_auth basic_pop3_auth.8
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/POP3'>
Making all in RADIUS
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/RADIUS'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/RADIUS  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_radius_auth.o -MD -MP -MF .deps/basic_radius_auth.Tpo -c -o basic_radius_auth.o ../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/RADIUS  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT radius-util.o -MD -MP -MF .deps/radius-util.Tpo -c -o radius-util.o ../../../../helpers/basic_auth/RADIUS/radius-util.cc
../../../../helpers/basic_auth/RADIUS/radius-util.cc:152:30: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    return((__extension__ ({ register unsigned int __v, __x = (*(uint32_t *)hp->h_addr_list[0]); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; })));
                             ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/radius-util.cc:152:30: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    return((__extension__ ({ register unsigned int __v, __x = (*(uint32_t *)hp->h_addr_list[0]); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; })));
                             ^~~~~~~~~
2 errors generated.
make[4]: *** [radius-util.o] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:175:34: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    totallen = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (auth->length); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                 ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:175:34: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    totallen = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (auth->length); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                 ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:370:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    ui = (__extension__ ({ register unsigned int __v, __x = (nasport); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                           ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:370:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    ui = (__extension__ ({ register unsigned int __v, __x = (nasport); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                           ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:380:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    ui = (__extension__ ({ register unsigned int __v, __x = (nasporttype); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                           ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:380:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    ui = (__extension__ ({ register unsigned int __v, __x = (nasporttype); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                           ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:400:32: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
        ui = (__extension__ ({ register unsigned int __v, __x = (nas_ipaddr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                               ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:400:32: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
        ui = (__extension__ ({ register unsigned int __v, __x = (nas_ipaddr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                               ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:414:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    auth->length = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (total_length); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                     ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:414:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    auth->length = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (total_length); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                     ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:544:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
        svc_port = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) ((unsigned short) svp->s_port); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                     ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:544:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
        svc_port = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) ((unsigned short) svp->s_port); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                     ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:562:50: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    saremote.sin_addr.s_addr = (__extension__ ({ register unsigned int __v, __x = (auth_ipaddr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                                                 ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:562:50: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    saremote.sin_addr.s_addr = (__extension__ ({ register unsigned int __v, __x = (auth_ipaddr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                                                 ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:563:43: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    saremote.sin_port = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (svc_port); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                          ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:563:43: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    saremote.sin_port = (__extension__ ({ register unsigned short int __v, __x = (unsigned short int) (svc_port); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
                                          ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:580:36: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    nas_ipaddr = (__extension__ ({ register unsigned int __v, __x = (salocal.sin_addr.s_addr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                                   ^~~~~~~~~
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:580:36: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
    nas_ipaddr = (__extension__ ({ register unsigned int __v, __x = (salocal.sin_addr.s_addr); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
                                   ^~~~~~~~~
18 errors generated.
make[4]: *** [basic_radius_auth.o] Error 1
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/RADIUS'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
../../../../helpers/basic_auth/RADIUS/radius-util.cc:152:30: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/radius-util.cc:152:30: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
make[4]: *** [radius-util.o] Error 1
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:175:34: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:175:34: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:370:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:370:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:380:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:380:28: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:400:32: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:400:32: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:414:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:414:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:544:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:544:38: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:562:50: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:562:50: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:563:43: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:563:43: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:580:36: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:580:36: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
make[4]: *** [basic_radius_auth.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure


More information about the squid-dev mailing list