-
Type:
Bug
-
Status: Done
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Launchpad URL:
**Reported in Launchpad by Andreas 'count' Kotes last update 13-12-2017 06:43:25
[ 25%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/buf0buf.cc.o
In file included from /Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:33:
In file included from /Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/ha_prototypes.h:32:
In file included from /Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/univ.i:600:
In file included from /Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/sync0types.h:32:
In file included from /Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/ut0new.h:124:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map:820:5: error: static_assert failed "Allocator::value_type must be same type as value_type"
static_assert((is_same<typename allocator_type::value_type, value_type>::value),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:729:36: note: expanded from macro 'static_assert'
- define static_assert(_b, __m) _Static_assert(_b, __m)
^ ~~~
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:395:19: note: in instantiation of template class 'std::_1::map<const unsigned char *, buf_chunk_t *, std::1::less<const unsigned char *>, ut_allocator<std::_1::pair<const unsigned char *, buf_chunk_t *> > >' requested here
buf_chunk_map_reg->insert(buf_pool_chunk_map_t::value_type(
^
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:3927:2: error: no type named 'iterator' in 'std::_1::map<const unsigned char *, buf_chunk_t *, std::1::less<const unsigned char *>, ut_allocator<std::_1::pair<const unsigned char *, buf_chunk_t *> > >'; did you mean
'TrxUndoRsegs::iterator'?
buf_pool_chunk_map_t::iterator it;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TrxUndoRsegs::iterator
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/trx0types.h:186:32: note: 'TrxUndoRsegs::iterator' declared here
typedef trx_rsegs_t::iterator iterator;
^
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:3936:18: error: no member named 'upper_bound' in 'std::_1::map<const unsigned char *, buf_chunk_t *, std::1::less<const unsigned char *>, ut_allocator<std::_1::pair<const unsigned char *, buf_chunk_t *> > >'
it = chunk_map->upper_bound(bound);
~~~~~~~~~ ^
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:3938:24: error: no member named 'end' in 'std::_1::map<const unsigned char *, buf_chunk_t *, std::1::less<const unsigned char *>, ut_allocator<std::_1::pair<const unsigned char *, buf_chunk_t *> > >'
ut_a(it != chunk_map->end());
~~~~~~~~~ ^
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/ut0dbg.h:52:30: note: expanded from macro 'ut_a'
if (UNIV_UNLIKELY(!(ulint) (EXPR))) { \
^~~~
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/univ.i:574:41: note: expanded from macro 'UNIV_UNLIKELY'
#define UNIV_UNLIKELY(cond) UNIV_EXPECT(cond, FALSE)
^~~~
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/include/univ.i:528:54: note: expanded from macro 'UNIV_EXPECT' - define UNIV_EXPECT(expr,constant) __builtin_expect(expr, constant)
^~~~
/Users/count/scratch/percona-xtrabackup-2.4.9/storage/innobase/buf/buf0buf.cc:3940:25: error: member reference base type 'trx_rseg_t *' is not a structure or union
buf_chunk_t* chunk = it->second;
~~^ ~~~~~~
5 errors generated.
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/buf/buf0buf.cc.o] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2