Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Further build failures - aarch64



Hi,

I am repeatedly getting:
.......

#   compile  libLLVMAMDGPUCodeGen/SILateBranchLowering.pico
/dumps/sysbuild/evbarm64/tools/bin/aarch64--netbsd-c++
-frandom-seed=2bad86e6 -O2 -Werror -Wno-error=init-list-lifetime -fPIE
 -std=c++14 -fno-rtti -fno-exceptions  -fno-strict-aliasing
-ffunction-sections -fda
ta-sections  -Wno-missing-template-keyword
-Wno-missing-template-keyword
--sysroot=/dumps/sysbuild/evbarm64/destdir -I.
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dis
t/clang/include
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include
-I/dumps/sysbuild/evbarm64/obj/home/sysbuild/src/external/apache2/llvm/include
-I/home/sysbuil
d/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../config
 -I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../config
-I/home/sysbuild/src/external/apache2/llvm/li
brt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/lib/Target/AMDGPU  -c
  -fPIC   /home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/lib/Target/AMDGPU/SILateBranchLowering.
cpp -o SILateBranchLowering.pico
In file included from
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/string:50,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/ADT/APInt.h:23,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/ADT/DenseMapInfo.h:16,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/ADT/DenseMap.h:16,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/IR/PassManager.h:40,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/lib/Target/AMDGPU/AMDGPU.h:13,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp:14:
In static member function 'static _Up* std::__copy_move<_IsMove, true,
std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp
= llvm::MachineBasicBlock* const; _Up = llvm::MachineBasicBlock*; boo
l _IsMove = false]',
    inlined from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = llvm::MachineBasicBlock* const*; _OI =
llvm::MachineBasicBlock**]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/b
its/stl_algobase.h:501:30,
    inlined from '_OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = llvm::MachineBasicBlock* const*; _OI =
llvm::MachineBasicBlock**]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/b
its/stl_algobase.h:528:42,
    inlined from '_OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = llvm::MachineBasicBlock* const*; _OI =
llvm::MachineBasicBlock**]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bi
ts/stl_algobase.h:535:31,
    inlined from '_OI std::copy(_II, _II, _OI) [with _II =
llvm::MachineBasicBlock* const*; _OI = llvm::MachineBasicBlock**]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/stl_algobase.h:626:7,
    inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator =
llvm::MachineBasicBlock* const*; _ForwardIterator
 = llvm::MachineBasicBlock**]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/stl_uninitialized.h:147:27,
    inlined from '_ForwardIterator
std::uninitialized_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = llvm::MachineBasicBlock*
const*; _ForwardIterator = llvm::MachineBasicBlock**]'
 at /dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/stl_uninitialized.h:185:15,
    inlined from '_ForwardIterator
std::__uninitialized_copy_a(_InputIterator, _InputIterator,
_ForwardIterator, allocator<_Tp>&) [with _InputIterator =
llvm::MachineBasicBlock* const*; _ForwardIterator = llvm::
MachineBasicBlock**; _Tp = llvm::MachineBasicBlock*]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/stl_uninitialized.h:372:37,
    inlined from 'void std::vector<_Tp,
_Alloc>::_M_assign_aux(_ForwardIterator, _ForwardIterator,
std::forward_iterator_tag) [with _ForwardIterator =
llvm::MachineBasicBlock* const*; _Tp = llvm::MachineBasicBlo
ck*; _Alloc = std::allocator<llvm::MachineBasicBlock*>]' at
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/vector.tcc:339:35,
    inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp,
_Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp =
llvm::MachineBasicBlock*; _Alloc =
std::allocator<llvm::MachineBasicBlock*>]' at /dumps/sys
build/evbarm64/destdir/usr/include/g++/bits/stl_vector.h:787:21,
    inlined from 'void
llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::clear() [with DomTreeT =
llvm::DominatorTreeBase<llvm::MachineBasicBlock, false>]' at
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMD
GPUCodeGen/../../lib/../dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h:101:15,
    inlined from 'static void
llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::DeleteUnreachable(DomTreeT&,
BatchUpdatePtr, TreeNodePtr) [with DomTreeT =
llvm::DominatorTreeBase<llvm::MachineBasicBlock, false>]' at
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h:1114:15:
/dumps/sysbuild/evbarm64/destdir/usr/include/g++/bits/stl_algobase.h:434:30:
error: 'void* __builtin_memmove(void*, const void*, long unsigned
int)' reading between 9 and 9223372036854775807 bytes from a region
 <<<<<<<<<<<<<<<======
of size 8 [-Werror=stringop-overread]
  434 |             __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/CodeGen/MachineDominators.h:23,
                 from
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp:18:
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h:
In static member function 'static void llvm::DomTreeBuilder::SemiNCAI
nfo<DomTreeT>::DeleteUnreachable(DomTreeT&, BatchUpdatePtr,
TreeNodePtr) [with DomTreeT =
llvm::DominatorTreeBase<llvm::MachineBasicBlock, false>]':
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen/../../lib/../dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h:101:15:
note: at offset [0, 7] into source object '<anonymous>' of siz
e 8
  101 |     NumToNode = {nullptr}; // Restore to initial state with a
dummy start node.
      |     ~~~~~~~~~~^~~~~~~~~~~
cc1plus: all warnings being treated as errors
*** Failed target: SILateBranchLowering.pico
*** In directory:
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMAMDGPUCodeGen
*** Failed commands:
        ${_MKTARGET_COMPILE}
        => @echo '#  ' "compile " libLLVMAMDGPUCodeGen/SILateBranchLowering.pico
        ${COMPILE.cc} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}}
${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
        => /dumps/sysbuild/evbarm64/tools/bin/aarch64--netbsd-c++
-frandom-seed=2bad86e6 -O2 -Werror -Wno-error=init-list-lifetime -fPIE
 -std=c++14 -fno-rtti -fno-exceptions

------

on clean obj, destdit and tools directories.

Has anybody been able to build a recent aarch64 -vurrent?


Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index