Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5
-
None
Description
/home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.4/storage/innobase/include/buf0buf.h: In member function ‘rw_lock_t* buf_pool_t::page_hash_lock(ulint) [with bool exclusive = true; ulint = long unsigned int]’:
|
/home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.4/storage/innobase/include/buf0buf.h:1708:3:error: could not split insn
|
}
|
^
|
(insn 148 867 534 (parallel [
|
(set (mem/v:SI (reg/v/f:DI 19 x19 [orig:73 latch ] [73]) [-1 S4 A32])
|
(unspec_volatile:SI [
|
(plus:SI (mem/v:SI (reg/v/f:DI 19 x19 [orig:73 latch ] [73]) [-1 S4 A32])
|
(const_int 536870912 [0x20000000]))
|
(const_int 4 [0x4])
|
] UNSPECV_ATOMIC_OP))
|
(clobber (reg:CC 66 cc))
|
(clobber (reg:SI 1 x1))
|
(clobber (reg:SI 0 x0))
|
]) /usr/include/c++/4.8.2/bits/atomic_base.h:614 1802 {atomic_addsi}
|
(expr_list:REG_UNUSED (reg:CC 66 cc)
|
(expr_list:REG_UNUSED (reg:SI 1 x1)
|
(expr_list:REG_UNUSED (reg:SI 0 x0)
|
(nil)))))
|
Attachments
Issue Links
- is blocked by
-
MDEV-22877 Avoid unnecessary buf_pool.page_hash S-latch acquisition
-
- Closed
-
- relates to
-
MDEV-15053 Reduce buf_pool_t::mutex contention
-
- Closed
-
I think that we should primarily address this by trying to update the compiler, like we recently did on POWER.
If that is really impossible, we could add some preprocessor magic to lower the optimization level or to simplify some code.
The build failure is most likely related to the increased the use of inline functions that access std::atomic data, in
MDEV-15053.