I have found in my Fedora builds that revision 13442 breaks building C::B for any non-x86 platforms (eg. aarch64 or ppc64le), because it adds
...
if (not root) asm("int3"); /*trap*/
...
in src/plugins/contrib/clangd_client/src/codecompletion/classbrowserbuilderthread.cpp which is x86 specific, see https://github.com/sharkcz/codeblocks/commit/5be3fab8abf08644f7d77abb93605713f5bd3dcd#diff-6fd0f1b02057a3240c90c2d9c7e6c9f6d06c86504291a0e8743f6cb36bc0dde6R584 (https://github.com/sharkcz/codeblocks/commit/5be3fab8abf08644f7d77abb93605713f5bd3dcd#diff-6fd0f1b02057a3240c90c2d9c7e6c9f6d06c86504291a0e8743f6cb36bc0dde6R584). A portable method could be using __builtin_trap() from GCC and there should be other solutions I believe.