Details
Description
[ 25%] Building CXX object server/modules/protocol/MariaDB/CMakeFiles/mariadbprotocol.dir/resultset.cc.o
|
In function ‘void std::_Construct(_Tp*, _Args&& ...) [with _Tp = unsigned char; _Args = {}]’,
|
inlined from ‘static _ForwardIterator std::__uninitialized_default_n_1<true>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:601:23,
|
inlined from ‘static _ForwardIterator std::__uninitialized_default_n_1<true>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:595:9,
|
inlined from ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:640:20,
|
inlined from ‘_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, std::allocator<_Tp>&) [with _ForwardIterator = unsigned char*; _Size = long unsigned int; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_uninitialized.h:704:44,
|
inlined from ‘void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11/bits/vector.tcc:627:35,
|
inlined from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11/bits/stl_vector.h:940:21,
|
inlined from ‘{anonymous}::Data {anonymous}::create_columndef(const string&, uint8_t)’ at /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:79:16,
|
inlined from ‘GWBUF ResultSet::as_buffer() const’ at /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:168:43:
|
cc1plus: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
|
In file included from /usr/include/c++/11/ppc64le-redhat-linux/bits/c++allocator.h:33,
|
from /usr/include/c++/11/bits/allocator.h:46,
|
from /usr/include/c++/11/string:41,
|
from /home/maxscale/MaxScale/maxutils/maxbase/include/maxbase/ccdefs.hh:74,
|
from /home/maxscale/MaxScale/include/maxscale/ccdefs.hh:26,
|
from /home/maxscale/MaxScale/include/maxscale/protocol/mariadb/resultset.hh:16,
|
from /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:20:
|
/usr/include/c++/11/ext/new_allocator.h: In member function ‘GWBUF ResultSet::as_buffer() const’:
|
/usr/include/c++/11/ext/new_allocator.h:127:48: note: at offset 4 into destination object of size 4 allocated by ‘operator new’
|
127 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
|
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
|
In file included from /usr/include/c++/11/bits/char_traits.h:39,
|
from /usr/include/c++/11/string:40,
|
from /home/maxscale/MaxScale/maxutils/maxbase/include/maxbase/ccdefs.hh:74,
|
from /home/maxscale/MaxScale/include/maxscale/ccdefs.hh:26,
|
from /home/maxscale/MaxScale/include/maxscale/protocol/mariadb/resultset.hh:16,
|
from /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:20:
|
In function ‘typename __gnu_cxx::__enable_if<std::__is_byte<_Tp>::__value, void>::__type std::__fill_a1(_Tp*, _Tp*, const _Tp&) [with _Tp = unsigned char]’,
|
inlined from ‘void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_algobase.h:969:21,
|
inlined from ‘_OutputIterator std::__fill_n_a(_OutputIterator, _Size, const _Tp&, std::random_access_iterator_tag) [with _OutputIterator = unsigned char*; _Size = long unsigned int; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_algobase.h:1120:20,
|
inlined from ‘_OI std::fill_n(_OI, _Size, const _Tp&) [with _OI = unsigned char*; _Size = long unsigned int; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_algobase.h:1149:29,
|
inlined from ‘static _ForwardIterator std::__uninitialized_default_n_1<true>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:603:29,
|
inlined from ‘static _ForwardIterator std::__uninitialized_default_n_1<true>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:595:9,
|
inlined from ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unsigned char*; _Size = long unsigned int]’ at /usr/include/c++/11/bits/stl_uninitialized.h:640:20,
|
inlined from ‘_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, std::allocator<_Tp>&) [with _ForwardIterator = unsigned char*; _Size = long unsigned int; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_uninitialized.h:704:44,
|
inlined from ‘void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11/bits/vector.tcc:627:35,
|
inlined from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/11/bits/stl_vector.h:940:21,
|
inlined from ‘{anonymous}::Data {anonymous}::create_columndef(const string&, uint8_t)’ at /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:79:16,
|
inlined from ‘GWBUF ResultSet::as_buffer() const’ at /home/maxscale/MaxScale/server/modules/protocol/MariaDB/resultset.cc:168:43:
|
/usr/include/c++/11/bits/stl_algobase.h:944:25: error: ‘void* __builtin_memset(void*, int, long unsigned int)’ specified size 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
|
944 | __builtin_memset(__first, static_cast<unsigned char>(__tmp), __len);
|
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
cc1plus: all warnings being treated as errors
|
make[2]: *** [server/modules/protocol/MariaDB/CMakeFiles/mariadbprotocol.dir/build.make:216: server/modules/protocol/MariaDB/CMakeFiles/mariadbprotocol.dir/resultset.cc.o] Error 1
|
make[1]: *** [CMakeFiles/Makefile2:2574: server/modules/protocol/MariaDB/CMakeFiles/mariadbprotocol.dir/all] Error 2
|
make: *** [Makefile:166: all] Error 2
|
+ exit 1
|
|
branch 23.06.8 (build from the branch 24.02.2 is ok)