[squid-dev] Jenkins build is back to normal : 3.HEAD-amd64-centos-7 #202

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/202/changes

___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev


[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-10-clang #240

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/240/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 4258 lines...]
/bin/sh ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 
-I/usr/local/include -MT ConnOpener.lo -MD -MP -MF .deps/ConnOpener.Tpo -c -o 
ConnOpener.lo ../../../src/comm/ConnOpener.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT ConnOpener.lo -MD -MP -MF 
.deps/ConnOpener.Tpo -c ../../../src/comm/ConnOpener.cc  -fPIC -DPIC -o 
.libs/ConnOpener.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT AcceptLimiter.lo -MD -MP -MF 
.deps/AcceptLimiter.Tpo -c ../../../src/comm/AcceptLimiter.cc  -fPIC -DPIC -o 
.libs/AcceptLimiter.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT AcceptLimiter.lo -MD -MP -MF 
.deps/AcceptLimiter.Tpo -c ../../../src/comm/AcceptLimiter.cc -o 
AcceptLimiter.o /dev/null 21
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT ConnOpener.lo -MD -MP -MF 
.deps/ConnOpener.Tpo -c ../../../src/comm/ConnOpener.cc -o ConnOpener.o 
/dev/null 21
mv -f .deps/AcceptLimiter.Tpo .deps/AcceptLimiter.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 
-I/usr/local/include -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c -o 
Connection.lo ../../../src/comm/Connection.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. 

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

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/104/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 4232 lines...]
/bin/sh ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT 
ConnOpener.lo -MD -MP -MF .deps/ConnOpener.Tpo -c -o ConnOpener.lo 
../../../src/comm/ConnOpener.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT AcceptLimiter.lo -MD -MP -MF .deps/AcceptLimiter.Tpo -c 
../../../src/comm/AcceptLimiter.cc  -fPIC -DPIC -o .libs/AcceptLimiter.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT ConnOpener.lo -MD -MP -MF .deps/ConnOpener.Tpo -c 
../../../src/comm/ConnOpener.cc  -fPIC -DPIC -o .libs/ConnOpener.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT AcceptLimiter.lo -MD -MP -MF .deps/AcceptLimiter.Tpo -c 
../../../src/comm/AcceptLimiter.cc -o AcceptLimiter.o /dev/null 21
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT ConnOpener.lo -MD -MP -MF .deps/ConnOpener.Tpo -c 
../../../src/comm/ConnOpener.cc -o ConnOpener.o /dev/null 21
mv -f .deps/AcceptLimiter.Tpo .deps/AcceptLimiter.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT 
Connection.lo -MD -MP -MF .deps/Connection.Tpo -c -o Connection.lo 
../../../src/comm/Connection.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc  -fPIC -DPIC -o .libs/Connection.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc -o Connection.o /dev/null 21
mv -f .deps/ConnOpener.Tpo 

[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-ubuntu-trusty-clang #8

2014-11-21 Thread noc
See 
http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-trusty-clang/8/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 4195 lines...]
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT 
Connection.lo -MD -MP -MF .deps/Connection.Tpo -c -o Connection.lo 
../../../src/comm/Connection.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc  -fPIC -DPIC -o .libs/Connection.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc -o Connection.o /dev/null 21
mv -f .deps/ConnOpener.Tpo .deps/ConnOpener.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT 
IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c -o IoCallback.lo 
../../../src/comm/IoCallback.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c 
../../../src/comm/IoCallback.cc  -fPIC -DPIC -o .libs/IoCallback.o
mv -f .deps/Connection.Tpo .deps/Connection.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ 
-DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src 
-I../../include -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -MT 
ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c -o ModDevPoll.lo 
../../../src/comm/ModDevPoll.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c 
../../../src/comm/ModDevPoll.cc  -fPIC -DPIC -o .libs/ModDevPoll.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -MT ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c 
../../../src/comm/ModDevPoll.cc -o ModDevPoll.o 

[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-9.1-clang #705

2014-11-21 Thread noc
See 
http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/705/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 3261 lines...]
mv -f .deps/Connection.Tpo .deps/Connection.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 
-I/usr/local/include -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c -o 
IoCallback.lo ../../../src/comm/IoCallback.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT IoCallback.lo -MD -MP -MF 
.deps/IoCallback.Tpo -c ../../../src/comm/IoCallback.cc  -fPIC -DPIC -o 
.libs/IoCallback.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT IoCallback.lo -MD -MP -MF 
.deps/IoCallback.Tpo -c ../../../src/comm/IoCallback.cc -o IoCallback.o 
/dev/null 21
mv -f .deps/IoCallback.Tpo .deps/IoCallback.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 
-I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c -o 
ModDevPoll.lo ../../../src/comm/ModDevPoll.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c ../../../src/comm/ModDevPoll.cc  -fPIC -DPIC -o 
.libs/ModDevPoll.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c ../../../src/comm/ModDevPoll.cc -o ModDevPoll.o 
/dev/null 21
mv -f .deps/ModDevPoll.Tpo .deps/ModDevPoll.Plo

[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-OpenBSD-5.4 #229

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/229/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 3228 lines...]
/usr/local/bin/bash ../../libtool  --tag=CXX--mode=compile ccache g++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include/kerberosV  
-I/usr/include/kerberosV   -I../../../libltdl   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c -o 
Connection.lo ../../../src/comm/Connection.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc  -fPIC -DPIC -o .libs/Connection.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc -o Connection.o /dev/null 21
mv -f .deps/Connection.Tpo .deps/Connection.Plo
/usr/local/bin/bash ../../libtool  --tag=CXX--mode=compile ccache g++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include/kerberosV  
-I/usr/include/kerberosV   -I../../../libltdl   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c -o 
IoCallback.lo ../../../src/comm/IoCallback.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c 
../../../src/comm/IoCallback.cc  -fPIC -DPIC -o .libs/IoCallback.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV 

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

2014-11-21 Thread noc
See 
http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/7/changes

Changes:

[Amos Jeffries] Fix typo in rev.13711

[Amos Jeffries] Bug 4146: workaround SSL Bump crash on Linux

[Amos Jeffries] Fix build errors on CentOS 7 in rev.13712

It turns out the RHEL and CentOS 7 STL definition does not quite match
up to official documentation of what their GCC version supports. In
particular the use of const_iterator on std::list containers.

Use auto instead of an explicit iterator. Allowing the compiler to select
whichever iterator is available and will work.

[Amos Jeffries] Bug 3902: Docs: external_acl_type cache hash key

[Amos Jeffries] Bug 4145: squid_endian.h compile errors with OpenBSD 5.6

* Remove unused big-endian macros.

* Stop making assumptions about little-endian symbols existence. Test
each one explicitly and define only as necessary.

* Add support for systems with endian.h available.

* Move Endian hacks to libntlmauth which is the only code using them.
Also, build only if NTLM is required.

[Christos Tsantilas] Logging fast things part 2: fixes to allow make check work 
again

Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

[Amos Jeffries] Cleanup: repalce several CbDataLIst uses with std::list

Most of the uses of CbDataList appear to be abusing it for regular
list storage without any real need for CBDATA to be involved at all.

Also includes some documentation and syntax polishing cleanup.

[Christos Tsantilas] Logging fast things

In many cases HITs logged with zero response times. The logging entries are
correct, those transaction took less than a millisecond. However, to better
monitor Squid performance and to optimize things further, a user may want to
see more precise response time measurements logged.

Squid already computes response times with microsecond resolution
(timeval::tv_usec), which would be enough for any modern measurement, but
Squid loses that precision due to tvSubMs conversion.

This patch add configurable precision for time-related fields such as %tr,
using a .n syntax similar to the syntax used by the well-known printf(3) API
to mean maximum field width.

Examples:
%tr   -- 0 -- millisecond precision (no change compared to today)
%.3tr -- 0.123 -- microsecond precision (after this project)
%.6tr -- 0.123456 -- nanosecond precision (year 2050 trading platform??)

This is a Measurement Factory project

--
[...truncated 3485 lines...]
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT asn1.lo 
-MD -MP -MF .deps/asn1.Tpo -c ../../../lib/snmplib/asn1.c  -fPIC -DPIC -o 
.libs/asn1.o
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT asn1.lo 
-MD -MP -MF .deps/asn1.Tpo -c ../../../lib/snmplib/asn1.c -o asn1.o /dev/null 
21
mv -f .deps/asn1.Tpo .deps/asn1.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile ccache clang -DSQUID_SNMP=1  
 -I../../.. -I../../include -I../../../include  -Werror -Qunused-arguments  
-D_REENTRANT -g -O2 -MT parse.lo -MD -MP -MF .deps/parse.Tpo -c -o parse.lo 
../../../lib/snmplib/parse.c
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT parse.lo 
-MD -MP -MF .deps/parse.Tpo -c ../../../lib/snmplib/parse.c  -fPIC -DPIC -o 
.libs/parse.o
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT parse.lo 
-MD -MP -MF .deps/parse.Tpo -c ../../../lib/snmplib/parse.c -o parse.o 
/dev/null 21
mv -f .deps/parse.Tpo .deps/parse.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile ccache clang -DSQUID_SNMP=1  
 -I../../.. -I../../include -I../../../include  -Werror -Qunused-arguments  
-D_REENTRANT -g -O2 -MT snmp_vars.lo -MD -MP -MF .deps/snmp_vars.Tpo -c -o 
snmp_vars.lo ../../../lib/snmplib/snmp_vars.c
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT 
snmp_vars.lo -MD -MP -MF .deps/snmp_vars.Tpo -c 
../../../lib/snmplib/snmp_vars.c  -fPIC -DPIC -o .libs/snmp_vars.o
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 
-I../../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -MT 
snmp_vars.lo -MD -MP -MF .deps/snmp_vars.Tpo -c 
../../../lib/snmplib/snmp_vars.c -o snmp_vars.o /dev/null 21
mv -f .deps/snmp_vars.Tpo .deps/snmp_vars.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile ccache clang -DSQUID_SNMP=1  
 -I../../.. -I../../include -I../../../include  -Werror -Qunused-arguments  
-D_REENTRANT -g -O2 -MT coexistance.lo -MD -MP -MF .deps/coexistance.Tpo -c -o 
coexistance.lo ../../../lib/snmplib/coexistance.c
libtool: compile:  ccache clang -DSQUID_SNMP=1 -I../../.. -I../../include 

Re: [squid-dev] splay.h replacement

2014-11-21 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/11/2014 4:08 a.m., Tsantilas Christos wrote:
 The compiler has right
 

I know the cimpilers right about it being garbage. Its just the code
looks like there are things in those templates which are wrongly
depending on the objects being NULL pointers for certain causes.
splay.h needs a serious revamp.


I've gone through now and dropped all the if() and asserts depending
on this==NULL or this!=NULL conditionals. Will apply that when clang
3.5 confirms teh build works.

Amos

 
 On 11/18/2014 05:23 AM, Amos Jeffries wrote:
 Y'all may have noticed the clang 3.5 errors.
 
 lib/MemPoolChunked.cc:370:10: error: 'this' pointer cannot be
 null in well-defined C++ code; pointer may be assumed to always
 convert to true [-Werror,-Wundefined-bool-conversion]
 
 include/splay.h:228:9: error: 'this' pointer cannot be null in 
 well-defined C++ code; comparison may be assumed to always
 evaluate to false [-Werror,-Wtautological-undefined-compare]
 
 include/splay.h:198:9: error: 'this' pointer cannot be null in 
 well-defined C++ code; comparison may be assumed to always
 evaluate to false [-Werror,-Wtautological-undefined-compare]
 
 include/splay.h:167:9: error: 'this' pointer cannot be null in 
 well-defined C++ code; comparison may be assumed to always
 evaluate to false [-Werror,-Wtautological-undefined-compare]
 
 include/splay.h:228:9: error: 'this' pointer cannot be null in 
 well-defined C++ code; comparison may be assumed to always
 evaluate to false [-Werror,-Wtautological-undefined-compare]
 
 
 Anyone in a position to update the splay tree code so it stops 
 depending on NULL pointer dereferences having meaning?
 
 It is mandatory change for continued FreeBSD support.
 
 Amos


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUb3m7AAoJELJo5wb/XPRjdTsIANox6wcjNevn7GJ8QfjXlz/7
kLFgo3j8YRbvhiPhJVkXH53J2o0RppanD3J6+mHTyD/J44X3bv8zk21xZBoyvvPB
d8TUpZcxW6MHnUu4IVkj0KC9D3atgVOOG9lluJZ3QXy+rIGLs3N3zBl/TBGwZiSL
b3FmW4x6epp+ifUsL8p0MJ9yGTALWrCA4XSo0+ZmH3s5q35vO9Qye4N7IDoCsAZV
mUeY4v/vn3RhynFYdRmfVSst+U8X2vY0o+8l4JTsw5n/mkYXxdT/+m6yK1YsEvUt
a3dvabvmceB6Gz6+D9ru/gIxg1Z15UpfJfzP6oU/Zz+/INHtaZiz/pBcJCojHR0=
=L7FS
-END PGP SIGNATURE-
___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev


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

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/203/changes

Changes:

[Amos Jeffries] Revert r12298 workaround for Bug 3613

Now that Squid is starting to utilize C++11 features we need to enable
them in all compilers. If the problem still exists then we need to find
a better solution to bug 3613.

[Amos Jeffries] Cleanup: remove invalid comparisons of 'this' with NULL

... which are invalid in C++ and always equate (this!=NULL) to true.

Clang 3.5 refuses to build code containing these invalid comparisons.

[Amos Jeffries] HTCP: fix memory initialization errors

memset() used to initialize HTCP objects made sense when they were
structs. But now they are classes proper constructors need to be used
to avoid memset() erasing vtable and other important areas. It also
helps to reduce code and improve performance during init a tiny bit.

memset() errors found by Clang 3.5

--
[...truncated 9235 lines...]
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
make[10]: Nothing to be done for `all-am'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
Making all in http
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
Making all in one
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http/one'
make[10]: Nothing to be done for `all'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http/one'
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
make[10]: Nothing to be done for `all-am'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
Making all in ip
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip'
Making all in icmp
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/icmp'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/icmp'
Making all in ident
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ident'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ident'
Making all in log
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/log'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/log'
Making all in ipc
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ipc'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ipc'
Making all in mgr
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mgr'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mgr'
Making all in snmp
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp'
Making all in adaptation
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation'
Making all in icap
make[10]: Entering directory 

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

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/204/

--
[...truncated 9222 lines...]
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
make[10]: Nothing to be done for `all-am'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
Making all in http
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
Making all in one
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http/one'
make[10]: Nothing to be done for `all'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http/one'
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
make[10]: Nothing to be done for `all-am'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/http'
Making all in ip
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip'
Making all in icmp
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/icmp'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/icmp'
Making all in ident
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ident'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ident'
Making all in log
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/log'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/log'
Making all in ipc
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ipc'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ipc'
Making all in mgr
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mgr'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mgr'
Making all in snmp
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp'
Making all in adaptation
make[9]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation'
Making all in icap
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation/icap'
make[10]: Nothing to be done for `all'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation/icap'
make[10]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation'
make[10]: Nothing to be done for `all-am'.
make[10]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation'
make[9]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/adaptation'
make[9]: Entering directory 

[squid-dev] Jenkins build is back to normal : 3.HEAD-amd64-centos-7 #205

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7/205/

___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev


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

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-centos-7-clang/105/changes

Changes:

[Amos Jeffries] Revert splay-specific pieces of rev.13720

As suspected several important pieces of code depend on the SplayNode
this pointer being NUL at times.

[Amos Jeffries] Revert r12298 workaround for Bug 3613

Now that Squid is starting to utilize C++11 features we need to enable
them in all compilers. If the problem still exists then we need to find
a better solution to bug 3613.

[Amos Jeffries] Cleanup: remove invalid comparisons of 'this' with NULL

... which are invalid in C++ and always equate (this!=NULL) to true.

Clang 3.5 refuses to build code containing these invalid comparisons.

[Amos Jeffries] HTCP: fix memory initialization errors

memset() used to initialize HTCP objects made sense when they were
structs. But now they are classes proper constructors need to be used
to avoid memset() erasing vtable and other important areas. It also
helps to reduce code and improve performance during init a tiny bit.

memset() errors found by Clang 3.5

--
[...truncated 3715 lines...]
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 21
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 21
mv -f .deps/lt__strl.Tpo .deps/lt__strl.Plo
/bin/sh ./libtool --tag=CC   --mode=link ccache clang  -g -O2 -module 
-avoid-version  -o dlopen.la  dlopen.lo -ldl -ldl 
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 )
mv -f .deps/libltdlc_la-ltdl.Tpo .deps/libltdlc_la-ltdl.Plo
/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 

[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-OpenBSD-5.4 #230

2014-11-21 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD-5.4/230/changes

Changes:

[Amos Jeffries] Revert splay-specific pieces of rev.13720

As suspected several important pieces of code depend on the SplayNode
this pointer being NUL at times.

[Amos Jeffries] Revert r12298 workaround for Bug 3613

Now that Squid is starting to utilize C++11 features we need to enable
them in all compilers. If the problem still exists then we need to find
a better solution to bug 3613.

[Amos Jeffries] Cleanup: remove invalid comparisons of 'this' with NULL

... which are invalid in C++ and always equate (this!=NULL) to true.

Clang 3.5 refuses to build code containing these invalid comparisons.

[Amos Jeffries] HTCP: fix memory initialization errors

memset() used to initialize HTCP objects made sense when they were
structs. But now they are classes proper constructors need to be used
to avoid memset() erasing vtable and other important areas. It also
helps to reduce code and improve performance during init a tiny bit.

memset() errors found by Clang 3.5

--
[...truncated 3203 lines...]
/usr/local/bin/bash ../../libtool  --tag=CXX--mode=compile ccache g++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include/kerberosV  
-I/usr/include/kerberosV   -I../../../libltdl   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c -o 
Connection.lo ../../../src/comm/Connection.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc  -fPIC -DPIC -o .libs/Connection.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT Connection.lo -MD -MP -MF .deps/Connection.Tpo -c 
../../../src/comm/Connection.cc -o Connection.o /dev/null 21
mv -f .deps/Connection.Tpo .deps/Connection.Plo
/usr/local/bin/bash ../../libtool  --tag=CXX--mode=compile ccache g++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include/kerberosV  
-I/usr/include/kerberosV   -I../../../libltdl   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c -o 
IoCallback.lo ../../../src/comm/IoCallback.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c 
../../../src/comm/IoCallback.cc  -fPIC -DPIC -o .libs/IoCallback.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT IoCallback.lo -MD -MP -MF .deps/IoCallback.Tpo -c 
../../../src/comm/IoCallback.cc -o IoCallback.o /dev/null 21
mv -f .deps/IoCallback.Tpo .deps/IoCallback.Plo
/usr/local/bin/bash ../../libtool  --tag=CXX--mode=compile ccache g++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include/kerberosV  
-I/usr/include/kerberosV   -I../../../libltdl   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -MT ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c -o 
ModDevPoll.lo ../../../src/comm/ModDevPoll.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include/kerberosV -I/usr/include/kerberosV -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -MT ModDevPoll.lo -MD -MP -MF .deps/ModDevPoll.Tpo -c 
../../../src/comm/ModDevPoll.cc  -fPIC -DPIC -o .libs/ModDevPoll.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src