Post by Leif HedstromI've prepared a release for 7.1.0 (RC1) which is the next major version of Apache Traffic Server. As per our new release schedule and process, v7.1.x is an Long-Term Support (LTS) release. This is detailed in our Release
looks good so far on Fedora 25 x86_64
but the still ongoing complaining about a readonly /etc starts to annoy
me *really* because it also prevents ATS from a soft config reload and a
hard restart for just add a new remap-pair is just bad
below also some compiler warnings (LTO build)
_______________________________________________________________________
[Jul 18 17:25:00.729] Manager {0x7f12b4f2f940} NOTE:
[Rollback::openFile] Open of log_hosts.config failed: Read-only file system
_______________________________________________________________________
SSLCertLookup.cc:340:1: warning: 'char* reverse_dns_name(const char*,
char (&)[257])' defined but not used [-Wunused-function]
reverse_dns_name(const char *hostname, char
(&reversed)[TS_MAX_HOST_NAME_LEN + 1])
^~~~~~~~~~~~~~~~
In file included from SSLCertLookup.cc:34:0:
../../lib/ts/TestBox.h:59:1: warning: 'bool
{anonymous}::TestBox::check(bool, const char*, ...)' defined but not
used [-Wunused-function]
TestBox::check(bool result, char const *fmt, ...)
^~~~~~~
HdrTSOnly.cc: In member function 'HTTPHdr::parse_req(HTTPParser*,
IOBufferReader*, int*, bool, bool)':
HdrHeap.h:226:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_ref_count_ptr = m_ronly_heap[i].m_ref_count_ptr;
~~~~~~~~~~~~~~^
HdrHeap.h:227:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_heap_start = m_ronly_heap[i].m_heap_start;
~~~~~~~~~~~~~~^
HdrHeap.h:228:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_heap_len = m_ronly_heap[i].m_heap_len;
~~~~~~~~~~~~~~^
HdrHeap.h:229:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_locked = m_ronly_heap[i].m_locked;
~~~~~~~~~~~~~~^
HdrHeap.h:230:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_ref_count_ptr = NULL;
~~~~~~~~~~~~~~^
HdrHeap.h:231:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_heap_start = NULL;
~~~~~~~~~~~~~~^
HdrHeap.h:232:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_heap_len = 0;
~~~~~~~~~~~~~~^
HdrHeap.h:233:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_locked = false;
~~~~~~~~~~~~~~^
HdrHeap.h:230:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_ref_count_ptr = NULL;
~~~~~~~~~~~~~~^
HdrTSOnly.cc: In member function 'HTTPHdr::parse_resp(HTTPParser*,
IOBufferReader*, int*, bool)':
HdrHeap.h:226:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_ref_count_ptr = m_ronly_heap[i].m_ref_count_ptr;
~~~~~~~~~~~~~~^
HdrHeap.h:227:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_heap_start = m_ronly_heap[i].m_heap_start;
~~~~~~~~~~~~~~^
HdrHeap.h:228:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_heap_len = m_ronly_heap[i].m_heap_len;
~~~~~~~~~~~~~~^
HdrHeap.h:229:57: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[j].m_locked = m_ronly_heap[i].m_locked;
~~~~~~~~~~~~~~^
HdrHeap.h:230:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_ref_count_ptr = NULL;
~~~~~~~~~~~~~~^
HdrHeap.h:231:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_heap_start = NULL;
~~~~~~~~~~~~~~^
HdrHeap.h:232:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_heap_len = 0;
~~~~~~~~~~~~~~^
HdrHeap.h:233:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_locked = false;
~~~~~~~~~~~~~~^
HdrHeap.h:230:23: warning: array subscript is above array bounds
[-Warray-bounds]
m_ronly_heap[i].m_ref_count_ptr = NULL;
~~~~~~~~~~~~~~^
In file included from ProxyConfig.cc:27:0:
../lib/ts/TestBox.h:59:1: warning: 'bool
{anonymous}::TestBox::check(bool, const char*, ...)' defined but not
used [-Wunused-function]
TestBox::check(bool result, char const *fmt, ...)
^~~~~~~
In file included from LogObject.cc:39:0:
../../lib/ts/TestBox.h:59:1: warning: 'bool
{anonymous}::TestBox::check(bool, const char*, ...)' defined but not
used [-Wunused-function]
TestBox::check(bool result, char const *fmt, ...)
^~~~~~~
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:51:8:
warning: type 'struct Machine' violates the C++ One Definition Rule [-Wodr]
struct Machine {
^
UglyLogStubs.cc:68:8: note: a different type is defined in another
translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:54:9:
note: the first difference of corresponding definitions is field 'hostname'
char *hostname; // name of the internet host
^
UglyLogStubs.cc:68:8: note: a type with different number of fields is
defined in another translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:81:16:
warning: type of 'instance' does not match original declaration
[-Wlto-type-mismatch]
static self *instance();
^
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless
-fno-strict-aliasing is used
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:51:8:
warning: type 'struct Machine' violates the C++ One Definition Rule [-Wodr]
struct Machine {
^
UglyLogStubs.cc:68:8: note: a different type is defined in another
translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:54:9:
note: the first difference of corresponding definitions is field 'hostname'
char *hostname; // name of the internet host
^
UglyLogStubs.cc:68:8: note: a type with different number of fields is
defined in another translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:81:16:
warning: type of 'instance' does not match original declaration
[-Wlto-type-mismatch]
static self *instance();
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless
-fno-strict-aliasing is used
UglyLogStubs.cc:68:8: note: a type with different number of fields is
defined in another translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:81:16:
warning: type of 'instance' does not match original declaration
[-Wlto-type-mismatch]
static self *instance();
^
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless
-fno-strict-aliasing is used
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:51:8:
warning: type 'struct Machine' violates the C++ One Definition Rule [-Wodr]
struct Machine {
^
UglyLogStubs.cc:68:8: note: a different type is defined in another
translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:54:9:
note: the first difference of corresponding definitions is field 'hostname'
char *hostname; // name of the internet host
^
UglyLogStubs.cc:68:8: note: a type with different number of fields is
defined in another translation unit
/home/builduser/rpmbuild/BUILD/trafficserver-7.1.0/iocore/utils/I_Machine.h:81:16:
warning: type of 'instance' does not match original declaration
[-Wlto-type-mismatch]
static self *instance();
^
UglyLogStubs.cc:72:1: note: 'instance' was previously declared here
UglyLogStubs.cc:72:1: note: code may be misoptimized unless
-fno-strict-aliasing is used
ClusterHandlerBase.cc:35:17: warning: type of 'cluster_packet_tos' does
not match original declaration [-Wlto-type-mismatch]
ClusterProcessor.cc:377:15: note: type 'long unsigned int' should match
type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
typedef unsigned int uint32_t;
^
ClusterProcessor.cc:377:15: note: 'cluster_packet_tos' was previously
declared here
ClusterProcessor.cc:377:15: note: code may be misoptimized unless
-fno-strict-aliasing is used
ClusterHandlerBase.cc:34:17: warning: type of 'cluster_packet_mark' does
not match original declaration [-Wlto-type-mismatch]
ClusterProcessor.cc:376:15: note: type 'long unsigned int' should match
type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
typedef unsigned int uint32_t;
^
ClusterProcessor.cc:376:15: note: 'cluster_packet_mark' was previously
declared here
ClusterProcessor.cc:376:15: note: code may be misoptimized unless
-fno-strict-aliasing is used
ClusterHandlerBase.cc:33:17: warning: type of 'cluster_sockopt_flags'
does not match original declaration [-Wlto-type-mismatch]
ClusterProcessor.cc:375:15: note: type 'long unsigned int' should match
type 'uint32_t'
/usr/include/stdint.h:51:23: note: the incompatible type is defined here
typedef unsigned int uint32_t;
^
ClusterProcessor.cc:375:15: note: 'cluster_sockopt_flags' was previously
declared here
ClusterProcessor.cc:375:15: note: code may be misoptimized unless
-fno-strict-aliasing is used
HttpSM.cc: In member function 'do_redirect':
HttpSM.cc:7836:47: warning: 'redir_len' may be used uninitialized in
this function [-Wmaybe-uninitialized]
HttpSM.cc:7834:13: note: 'redir_len' was declared here
HttpTransact.cc: In function 'issue_revalidate':
HttpTransact.cc:2329:19: warning: 'length' may be used uninitialized in
this function [-Wmaybe-uninitialized]
HttpTransact.cc:2325:11: note: 'length' was declared here
HttpTransact.cc:2318:114: warning: 'length' may be used uninitialized in
this function [-Wmaybe-uninitialized]
HttpTransact.cc:2315:11: note: 'length' was declared here