>>> lld15: Building community/lld15 15.0.7-r3 (using abuild 3.11.0_rc13-r0) started Tue, 25 Apr 2023 14:43:33 +0000 >>> lld15: Checking sanity of /home/buildozer/aports/community/lld15/APKBUILD... >>> lld15: Analyzing dependencies... >>> lld15: Installing for build: build-base cmake compiler-rt libedit-dev llvm15-dev llvm15-static llvm-libunwind-dev patchelf samurai zlib-dev (1/40) Installing libbz2 (1.0.8-r5) (2/40) Installing xz-libs (5.4.2-r1) (3/40) Installing libarchive (3.6.2-r2) (4/40) Installing libformw (6.4_p20230401-r6) (5/40) Installing rhash-libs (1.4.3-r2) (6/40) Installing libuv (1.44.2-r2) (7/40) Installing cmake (3.26.3-r1) (8/40) Installing scudo-malloc (16.0.2-r0) (9/40) Installing compiler-rt (16.0.2-r0) (10/40) Installing bsd-compat-headers (0.7.2-r5) (11/40) Installing libmenuw (6.4_p20230401-r6) (12/40) Installing libpanelw (6.4_p20230401-r6) (13/40) Installing libncurses++ (6.4_p20230401-r6) (14/40) Installing ncurses-dev (6.4_p20230401-r6) (15/40) Installing libedit-dev (20221030.3.1-r1) (16/40) Installing libffi (3.4.4-r2) (17/40) Installing libxml2 (2.10.4-r2) (18/40) Installing llvm15-libs (15.0.7-r5) (19/40) Installing llvm15 (15.0.7-r5) (20/40) Installing linux-headers (6.2-r0) (21/40) Installing libffi-dev (3.4.4-r2) (22/40) Installing zlib-dev (1.2.13-r1) (23/40) Installing zstd (1.5.5-r3) (24/40) Installing zstd-dev (1.5.5-r3) (25/40) Installing gdbm (1.23-r1) (26/40) Installing mpdecimal (2.5.1-r2) (27/40) Installing readline (8.2.1-r1) (28/40) Installing sqlite-libs (3.41.2-r2) (29/40) Installing python3 (3.11.3-r10) (30/40) Installing python3-pycache-pyc0 (3.11.3-r10) (31/40) Installing pyc (0.1-r0) (32/40) Installing python3-pyc (3.11.3-r10) (33/40) Installing llvm15-test-utils (15.0.7-r5) (34/40) Installing llvm15-dev (15.0.7-r5) (35/40) Installing llvm15-static (15.0.7-r5) (36/40) Installing llvm-libunwind (16.0.2-r0) (37/40) Installing llvm-libunwind-dev (16.0.2-r0) (38/40) Installing patchelf (0.18.0-r0) (39/40) Installing samurai (1.2-r3) (40/40) Installing .makedepends-lld15 (20230425.144336) Executing busybox-1.36.0-r8.trigger OK: 1058 MiB in 138 packages >>> lld15: Cleaning up srcdir >>> lld15: Cleaning up pkgdir >>> lld15: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/lld-15.0.7.src.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1374k 100 1374k 0 0 7174k 0 --:--:-- --:--:-- --:--:-- 7196k >>> lld15: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/cmake-15.0.7.src.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6972 100 6972 0 0 113k 0 --:--:-- --:--:-- --:--:-- 115k >>> lld15: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/lld-15.0.7.src.tar.xz >>> lld15: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/cmake-15.0.7.src.tar.xz >>> lld15: Checking sha512sums... lld-15.0.7.src.tar.xz: OK cmake-15.0.7.src.tar.xz: OK cxx17.patch: OK >>> lld15: Unpacking /var/cache/distfiles/v3.18/lld-15.0.7.src.tar.xz... >>> lld15: Unpacking /var/cache/distfiles/v3.18/cmake-15.0.7.src.tar.xz... >>> lld15: cxx17.patch patching file CMakeLists.txt -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/libffi.so -- Found ZLIB: /lib/libz.so (found version "1.2.13") -- Found zstd: /usr/lib/libzstd.so -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- LLD version: 15.0.7 -- Found Git: /usr/bin/git (found version "2.40.0") -- Configuring done (3.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/build [1/130] Building Options.inc... [2/130] Building Options.inc... [3/130] Building Options.inc... [4/130] Building Options.inc... [5/130] Building Options.inc... [6/130] Generating VCSVersion.inc [7/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/WriterUtils.cpp.o [8/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o [9/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/SyntheticSections.cpp.o [10/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/Symbols.cpp.o [11/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/SymbolTable.cpp.o [12/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/Relocations.cpp.o [13/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/OutputSegment.cpp.o [14/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/OutputSections.cpp.o [15/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/MarkLive.cpp.o [16/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/MapFile.cpp.o [17/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/LTO.cpp.o [18/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o [19/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/InputChunks.cpp.o [20/130] Building CXX object wasm/CMakeFiles/lldWasm.dir/Driver.cpp.o [21/130] Building CXX object tools/lld/CMakeFiles/lld.dir/lld.cpp.o [22/130] Building CXX object MinGW/CMakeFiles/lldMinGW.dir/Driver.cpp.o [23/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Writer.cpp.o [24/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/UnwindInfoSection.cpp.o [25/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Target.cpp.o [26/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/SyntheticSections.cpp.o [27/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Symbols.cpp.o [28/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/SymbolTable.cpp.o [29/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/SectionPriorities.cpp.o [30/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Relocations.cpp.o [31/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/OutputSegment.cpp.o [32/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/OutputSection.cpp.o [33/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/ObjC.cpp.o [34/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/MarkLive.cpp.o [35/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/MapFile.cpp.o [36/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/LTO.cpp.o [37/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/InputSection.cpp.o [38/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o [39/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o [40/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o [41/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o [42/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o [43/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o [44/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o [45/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o [46/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o [47/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o [48/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o [49/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o [50/130] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM.cpp.o [51/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Writer.cpp.o [52/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o [53/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Target.cpp.o [54/130] Building CXX object ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o [55/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o [56/130] Building CXX object ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o [57/130] Building CXX object ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o [58/130] Building CXX object ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o [59/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o [60/130] Building CXX object ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o [61/130] Building CXX object ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o [62/130] Building CXX object ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o [63/130] Building CXX object ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o [64/130] Building CXX object ELF/CMakeFiles/lldELF.dir/LTO.cpp.o [65/130] Building CXX object ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o [66/130] Building CXX object ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o [67/130] Building CXX object ELF/CMakeFiles/lldELF.dir/ICF.cpp.o [68/130] Building CXX object ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o [69/130] Building CXX object ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o [70/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Driver.cpp.o [71/130] Building CXX object ELF/CMakeFiles/lldELF.dir/DWARF.cpp.o [72/130] Building CXX object ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o [73/130] Building CXX object ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o [74/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/MachO/SyntheticSections.cpp: In member function 'void lld::macho::ObjCImageInfoSection::finalizeContents()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/MachO/SyntheticSections.cpp:1688:50: warning: 'firstFile' may be used uninitialized [-Wmaybe-uninitialized] 1688 | error("Swift version mismatch: " + toString(firstFile) + " has version " + | ~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/MachO/SyntheticSections.cpp:1678:20: note: 'firstFile' was declared here 1678 | const InputFile *firstFile; | ^~~~~~~~~ [75/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o [76/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o [77/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o [78/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o [79/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o [80/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o [81/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o [82/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o [83/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o [84/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o [85/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o [86/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o [87/130] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o [88/130] Building CXX object ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o [89/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Writer.cpp.o [90/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Symbols.cpp.o /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/ARMErrataFix.cpp: In member function 'void lld::elf::ARMErr657417Patcher::insertPatches(lld::elf::InputSectionDescription&, std::vector&)': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/ARMErrataFix.cpp:390:27: warning: 'isecLimit' may be used uninitialized [-Wmaybe-uninitialized] 390 | (*patchIt)->outSecOff = isecLimit; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/ARMErrataFix.cpp:366:12: note: 'isecLimit' was declared here 366 | uint64_t isecLimit; | ^~~~~~~~~ [91/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o [92/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o [93/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o [94/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o [95/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o [96/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o [97/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o In file included from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Config.h:22, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/RISCV.cpp:9: /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void {anonymous}::RISCV::writeIgotPlt(uint8_t*, const lld::elf::Symbol&) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void {anonymous}::RISCV::writeGotHeader(uint8_t*) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void {anonymous}::RISCV::writeGotPlt(uint8_t*, const lld::elf::Symbol&) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ [98/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o [99/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)', inlined from 'void lld::elf::addPPC64SaveRestore()' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:270:16: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:234:38: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 234 | 4 * (buf.size() - first)), | ^~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp: In function 'void lld::elf::addPPC64SaveRestore()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:215:7: note: 'first' was declared here 215 | int first; | ^~~~~ In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)', inlined from 'void lld::elf::addPPC64SaveRestore()' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:267:16: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:234:38: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 234 | 4 * (buf.size() - first)), | ^~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp: In function 'void lld::elf::addPPC64SaveRestore()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:215:7: note: 'first' was declared here 215 | int first; | ^~~~~ In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)', inlined from 'void lld::elf::addPPC64SaveRestore()' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:264:16: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:234:38: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 234 | 4 * (buf.size() - first)), | ^~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp: In function 'void lld::elf::addPPC64SaveRestore()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:215:7: note: 'first' was declared here 215 | int first; | ^~~~~ In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)', inlined from 'void lld::elf::addPPC64SaveRestore()' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:260:16: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:234:38: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 234 | 4 * (buf.size() - first)), | ^~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp: In function 'void lld::elf::addPPC64SaveRestore()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Arch/PPC64.cpp:215:7: note: 'first' was declared here 215 | int first; | ^~~~~ [100/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o [101/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o [102/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o [103/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o In lambda function, inlined from 'void lld::wasm::{anonymous}::Writer::createInitMemoryFunction()' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Writer.cpp:1221:26: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Writer.cpp:1118:22: warning: 'flagAddress' may be used uninitialized [-Wmaybe-uninitialized] 1118 | writePtrConst(os, flagAddress, is64, "flag address"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Writer.cpp: In member function 'void lld::wasm::{anonymous}::Writer::createInitMemoryFunction()': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Writer.cpp:1053:12: note: 'flagAddress' was declared here 1053 | uint64_t flagAddress; | ^~~~~~~~~~~ In file included from /usr/lib/llvm15/include/llvm/Support/Chrono.h:13, from /usr/lib/llvm15/include/llvm/Object/Archive.h:20, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Symbols.h:15, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/InputFiles.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/InputChunks.h:24, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/wasm/Writer.cpp:11: In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = int]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = int]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int&]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int&]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int&]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int&]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ [104/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o [105/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o [106/130] Building CXX object COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o [107/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Version.cpp.o [108/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Timer.cpp.o [109/130] Building CXX object Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o [110/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Strings.cpp.o [111/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/AArch64ErrataFix.cpp: In member function 'void lld::elf::AArch64Err843419Patcher::insertPatches(lld::elf::InputSectionDescription&, std::vector&)': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/AArch64ErrataFix.cpp:507:27: warning: 'isecLimit' may be used uninitialized [-Wmaybe-uninitialized] 507 | (*patchIt)->outSecOff = isecLimit; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/AArch64ErrataFix.cpp:483:12: note: 'isecLimit' was declared here 483 | uint64_t isecLimit; | ^~~~~~~~~ [112/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Memory.cpp.o [113/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o [114/130] Building CXX object Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o [115/130] Building CXX object Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o [116/130] Building CXX object Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o [117/130] Building CXX object Common/CMakeFiles/lldCommon.dir/Args.cpp.o In file included from /usr/lib/llvm15/include/llvm/Support/VersionTuple.h:20, from /usr/lib/llvm15/include/llvm/ADT/Triple.h:13, from /usr/lib/llvm15/include/llvm/Object/Binary.h:17, from /usr/lib/llvm15/include/llvm/Object/COFF.h:19, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Config.h:16, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Chunks.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/DLL.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/DLL.cpp:20: /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void lld::coff::{anonymous}::DelayAddressChunk::writeTo(uint8_t*) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void lld::coff::{anonymous}::LookupChunk::writeTo(uint8_t*) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ /usr/lib/llvm15/include/llvm/Support/Endian.h: In member function 'virtual void lld::coff::{anonymous}::OrdinalOnlyChunk::writeTo(uint8_t*) const': /usr/lib/llvm15/include/llvm/Support/Endian.h:99:9: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 99 | memcpy(LLVM_ASSUME_ALIGNED( | ^ /usr/lib/llvm15/include/llvm/Support/Endian.h:247:25: note: destination object 'llvm::support::detail::packed_endian_specific_integral::::buffer' of size 4 247 | alignas(ALIGN) char buffer[sizeof(value_type)]; | ^~~~~~ In file included from /usr/lib/llvm15/include/llvm/Support/Chrono.h:13, from /usr/lib/llvm15/include/llvm/Support/VirtualFileSystem.h:23, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Config.h:18, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Chunks.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/COFFLinkerContext.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/PDB.cpp:10: In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = const unsigned int&]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = const unsigned int&]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = unsigned int]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/PDB.cpp: In function 'llvm::Optional > lld::coff::getFileLineCodeView(const SectionChunk*, uint32_t)': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/PDB.cpp:1796:7: warning: 'offsetInLinetable' may be used uninitialized [-Wmaybe-uninitialized] 1796 | if (ln.Offset > offsetInLinetable) { | ^~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/PDB.cpp:1786:12: note: 'offsetInLinetable' was declared here 1786 | uint32_t offsetInLinetable; | ^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm15/include/llvm/Support/Chrono.h:13, from /usr/lib/llvm15/include/llvm/Support/VirtualFileSystem.h:23, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Config.h:18, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/Chunks.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/COFFLinkerContext.h:12, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/COFF/DebugTypes.cpp:10: In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int&]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int&]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)', inlined from 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:135:35, inlined from 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]' at /usr/lib/llvm15/include/llvm/Support/FormatVariadicDetails.h:40:45: /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:95:27: warning: 'HS' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (isPrefixedHexStyle(Style)) | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm15/include/llvm/Support/FormatProviders.h: In member function 'void llvm::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) [with T = long unsigned int]': /usr/lib/llvm15/include/llvm/Support/FormatProviders.h:132:19: note: 'HS' was declared here 132 | HexPrintStyle HS; | ^~ [118/130] Linking CXX shared library lib/liblldCommon.so.15 [119/130] Creating library symlink lib/liblldCommon.so [120/130] Linking CXX shared library lib/liblldWasm.so.15 [121/130] Linking CXX shared library lib/liblldMachO.so.15 [122/130] Creating library symlink lib/liblldWasm.so [123/130] Creating library symlink lib/liblldMachO.so In lambda function, inlined from 'static Ret llvm::function_ref::callback_fn(intptr_t, Params ...) [with Callable = lld::elf::ThunkCreator::createInitialThunkSections(llvm::ArrayRef)::; Ret = void; Params = {lld::elf::OutputSection*, lld::elf::InputSectionDescription*}]' at /usr/lib/llvm15/include/llvm/ADT/STLFunctionalExtras.h:45:52: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1992:24: warning: 'isecLimit' may be used uninitialized [-Wmaybe-uninitialized] 1992 | addThunkSection(os, isd, isecLimit); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp: In static member function 'static Ret llvm::function_ref::callback_fn(intptr_t, Params ...) [with Callable = lld::elf::ThunkCreator::createInitialThunkSections(llvm::ArrayRef)::; Ret = void; Params = {lld::elf::OutputSection*, lld::elf::InputSectionDescription*}]': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1978:18: note: 'isecLimit' was declared here 1978 | uint32_t isecLimit; | ^~~~~~~~~ In lambda function, inlined from 'static Ret llvm::function_ref::callback_fn(intptr_t, Params ...) [with Callable = lld::elf::ThunkCreator::createInitialThunkSections(llvm::ArrayRef)::; Ret = void; Params = {lld::elf::OutputSection*, lld::elf::InputSectionDescription*}]' at /usr/lib/llvm15/include/llvm/ADT/STLFunctionalExtras.h:45:52, inlined from 'Ret llvm::function_ref::operator()(Params ...) const [with Ret = void; Params = {lld::elf::OutputSection*, lld::elf::InputSectionDescription*}]' at /usr/lib/llvm15/include/llvm/ADT/STLFunctionalExtras.h:68:12, inlined from 'void forEachInputSectionDescription(llvm::ArrayRef, llvm::function_ref)' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1737:11, inlined from 'void lld::elf::ThunkCreator::createInitialThunkSections(llvm::ArrayRef)' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1966:33: /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1992:24: warning: 'isecLimit' may be used uninitialized [-Wmaybe-uninitialized] 1992 | addThunkSection(os, isd, isecLimit); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp: In member function 'void lld::elf::ThunkCreator::createInitialThunkSections(llvm::ArrayRef)': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Relocations.cpp:1978:18: note: 'isecLimit' was declared here 1978 | uint32_t isecLimit; | ^~~~~~~~~ [124/130] Linking CXX shared library lib/liblldCOFF.so.15 [125/130] Creating library symlink lib/liblldCOFF.so [126/130] Linking CXX shared library lib/liblldMinGW.so.15 [127/130] Creating library symlink lib/liblldMinGW.so In file included from /usr/lib/llvm15/include/llvm/ADT/DenseSet.h:17, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Config.h:14, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/SyntheticSections.h:23, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/SyntheticSections.cpp:16: In member function 'void llvm::SmallDenseMap::swap(llvm::SmallDenseMap&) [with KeyT = const lld::elf::OutputSection*; ValueT = unsigned int; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]', inlined from 'llvm::SmallDenseMap::SmallDenseMap(llvm::SmallDenseMap&&) [with KeyT = const lld::elf::OutputSection*; ValueT = unsigned int; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' at /usr/lib/llvm15/include/llvm/ADT/DenseMap.h:922:9, inlined from 'llvm::MapVector, llvm::detail::DenseMapPair >, llvm::SmallVector, 16> >::MapVector(llvm::MapVector, llvm::detail::DenseMapPair >, llvm::SmallVector, 16> >&&)' at /usr/lib/llvm15/include/llvm/ADT/MapVector.h:37:7, inlined from 'llvm::SmallMapVector::SmallMapVector(llvm::SmallMapVector&&)' at /usr/lib/llvm15/include/llvm/ADT/MapVector.h:233:8, inlined from 'lld::elf::MipsGotSection::FileGot::FileGot(lld::elf::MipsGotSection::FileGot&&)' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/SyntheticSections.h:329:10, inlined from 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = lld::elf::MipsGotSection::FileGot]' at /usr/include/c++/12.2.1/bits/move.h:204:11, inlined from 'bool lld::elf::MipsGotSection::tryMergeGots(FileGot&, FileGot&, bool)' at /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/SyntheticSections.cpp:864:12: /usr/lib/llvm15/include/llvm/ADT/DenseMap.h:986:14: warning: '*(std::remove_reference::type*)((char*)&__tmp + offsetof(lld::elf::MipsGotSection::FileGot, lld::elf::MipsGotSection::FileGot::pagesMap.llvm::SmallMapVector::.llvm::MapVector, llvm::detail::DenseMapPair >, llvm::SmallVector, 16> >::Map.llvm::SmallDenseMap, llvm::detail::DenseMapPair >::storage.llvm::AlignedCharArrayUnion[16], llvm::SmallDenseMap, llvm::detail::DenseMapPair >::LargeRep>::buffer[8]))' may be used uninitialized [-Wmaybe-uninitialized] 986 | LargeRep TmpRep = std::move(*LargeSide.getLargeRep()); | ^~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_pair.h:61, from /usr/include/c++/12.2.1/utility:69, from /usr/lib/llvm15/include/llvm/Support/type_traits.h:18, from /usr/lib/llvm15/include/llvm/ADT/Hashing.h:50, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/include/lld/Common/LLVM.h:19, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/include/lld/Common/ErrorHandler.h:71, from /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/Config.h:12: /usr/include/c++/12.2.1/bits/move.h: In member function 'bool lld::elf::MipsGotSection::tryMergeGots(FileGot&, FileGot&, bool)': /usr/include/c++/12.2.1/bits/move.h:204:11: note: '__tmp' declared here 204 | _Tp __tmp = _GLIBCXX_MOVE(__a); | ^~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType]': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp:509:30: warning: 'head' may be used uninitialized [-Wmaybe-uninitialized] 509 | prev->nextInSectionGroup = head; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp:496:21: note: 'head' was declared here 496 | InputSectionBase *head; | ^~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType]': /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp:509:30: warning: 'head' may be used uninitialized [-Wmaybe-uninitialized] 509 | prev->nextInSectionGroup = head; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildozer/aports/community/lld15/src/lld-15.0.7.src/ELF/InputFiles.cpp:496:21: note: 'head' was declared here 496 | InputSectionBase *head; | ^~~~ [128/130] Linking CXX shared library lib/liblldELF.so.15 [129/130] Creating library symlink lib/liblldELF.so [130/130] Linking CXX executable bin/lld >>> lld15: Entering fakeroot... -- Install configuration: "Release" -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Version.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/ErrorHandler.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Timer.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Driver.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/CommonLinkerContext.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Memory.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Arrays.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/DWARF.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/LLVM.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Strings.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Reproduce.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Filesystem.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/TargetOptionsCommandFlags.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/include/lld/Common/Args.h -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldCommon.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldCommon.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/bin/lld -- Up-to-date: /home/buildozer/aports/community/lld15/pkg/lld15/usr/bin/lld CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:243 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): /usr/lib/cmake/llvm15/LLVMInstallSymlink.cmake:5 (include) build/tools/lld/cmake_install.cmake:66 (include) build/cmake_install.cmake:52 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Creating lld-link -- Creating ld.lld -- Creating ld64.lld -- Creating wasm-ld -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldCOFF.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldCOFF.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldELF.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldELF.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldMachO.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldMachO.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldMinGW.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldMinGW.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldWasm.so.15 -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/liblldWasm.so -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/cmake/lld/LLDTargets.cmake -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/cmake/lld/LLDTargets-release.cmake -- Installing: /home/buildozer/aports/community/lld15/pkg/lld15/usr/lib/cmake/lld/LLDConfig.cmake >>> lld15-libs*: Running split function libs... >>> lld15-libs*: Preparing subpackage lld15-libs... >>> lld15-libs*: Stripping binaries >>> lld15-libs*: Running postcheck for lld15-libs >>> lld15-dev*: Running split function dev... >>> lld15-dev*: Preparing subpackage lld15-dev... >>> lld15-dev*: Stripping binaries >>> lld15-dev*: Running postcheck for lld15-dev >>> lld15*: Running postcheck for lld15 >>> lld15*: Preparing package lld15... >>> lld15*: Stripping binaries >>> lld15-dev*: Scanning shared objects >>> lld15-libs*: Scanning shared objects >>> lld15*: Scanning shared objects >>> lld15-dev*: Tracing dependencies... lld15-libs=15.0.7-r3 >>> lld15-dev*: Package size: 108.0 KB >>> lld15-dev*: Compressing data... >>> lld15-dev*: Create checksum... >>> lld15-dev*: Create lld15-dev-15.0.7-r3.apk >>> lld15-libs*: Tracing dependencies... so:libLLVM-15.so so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 so:libz.so.1 >>> lld15-libs*: Package size: 6.3 MB >>> lld15-libs*: Compressing data... >>> lld15-libs*: Create checksum... >>> lld15-libs*: Create lld15-libs-15.0.7-r3.apk >>> lld15*: Tracing dependencies... !lld scudo-malloc so:libLLVM-15.so so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:liblldCOFF.so.15 so:liblldCommon.so.15 so:liblldELF.so.15 so:liblldMachO.so.15 so:liblldMinGW.so.15 so:liblldWasm.so.15 so:libstdc++.so.6 >>> lld15*: Package size: 56.0 KB >>> lld15*: Compressing data... >>> lld15*: Create checksum... >>> lld15*: Create lld15-15.0.7-r3.apk >>> lld15: Build complete at Tue, 25 Apr 2023 14:44:54 +0000 elapsed time 0h 1m 21s >>> lld15: Cleaning up srcdir >>> lld15: Cleaning up pkgdir >>> lld15: Uninstalling dependencies... (1/40) Purging .makedepends-lld15 (20230425.144336) (2/40) Purging cmake (3.26.3-r1) (3/40) Purging compiler-rt (16.0.2-r0) (4/40) Purging scudo-malloc (16.0.2-r0) (5/40) Purging libedit-dev (20221030.3.1-r1) (6/40) Purging bsd-compat-headers (0.7.2-r5) (7/40) Purging ncurses-dev (6.4_p20230401-r6) (8/40) Purging libncurses++ (6.4_p20230401-r6) (9/40) Purging llvm15-dev (15.0.7-r5) (10/40) Purging llvm15 (15.0.7-r5) (11/40) Purging libffi-dev (3.4.4-r2) (12/40) Purging linux-headers (6.2-r0) (13/40) Purging zstd-dev (1.5.5-r3) (14/40) Purging zstd (1.5.5-r3) (15/40) Purging llvm15-test-utils (15.0.7-r5) (16/40) Purging llvm15-libs (15.0.7-r5) (17/40) Purging llvm15-static (15.0.7-r5) (18/40) Purging llvm-libunwind-dev (16.0.2-r0) (19/40) Purging llvm-libunwind (16.0.2-r0) (20/40) Purging patchelf (0.18.0-r0) (21/40) Purging samurai (1.2-r3) (22/40) Purging zlib-dev (1.2.13-r1) (23/40) Purging libarchive (3.6.2-r2) (24/40) Purging libformw (6.4_p20230401-r6) (25/40) Purging libmenuw (6.4_p20230401-r6) (26/40) Purging libuv (1.44.2-r2) (27/40) Purging libxml2 (2.10.4-r2) (28/40) Purging python3-pyc (3.11.3-r10) (29/40) Purging python3-pycache-pyc0 (3.11.3-r10) (30/40) Purging pyc (0.1-r0) (31/40) Purging rhash-libs (1.4.3-r2) (32/40) Purging python3 (3.11.3-r10) (33/40) Purging gdbm (1.23-r1) (34/40) Purging libbz2 (1.0.8-r5) (35/40) Purging libffi (3.4.4-r2) (36/40) Purging libpanelw (6.4_p20230401-r6) (37/40) Purging mpdecimal (2.5.1-r2) (38/40) Purging readline (8.2.1-r1) (39/40) Purging sqlite-libs (3.41.2-r2) (40/40) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r8.trigger OK: 392 MiB in 98 packages >>> lld15: Updating the community/x86_64 repository index... >>> lld15: Signing the index...