-- 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 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.3 -- Found Git: /usr/bin/git (found version "2.30.2") -- Configuring done (2.2s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build >>> host-lld 15.0.3 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/host-lld-15.0.3//buildroot-build -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 0%] Built target intrinsics_gen [ 1%] Building Options.inc... make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 1%] Building Options.inc... [ 2%] Building Options.inc... [ 3%] Building Options.inc... [ 4%] Building Options.inc... [ 5%] Generating VCSVersion.inc make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 5%] Built target WasmOptionsTableGen make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 5%] Built target COFFOptionsTableGen [ 5%] Built target MinGWOptionsTableGen [ 5%] Built target ELFOptionsTableGen [ 5%] Built target MachOOptionsTableGen make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 6%] Building CXX object Common/CMakeFiles/lldCommon.dir/Args.cpp.o [ 7%] Building CXX object Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o [ 8%] Building CXX object Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o [ 9%] Building CXX object Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o [ 9%] Building CXX object Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o [ 10%] Building CXX object Common/CMakeFiles/lldCommon.dir/Memory.cpp.o [ 11%] Building CXX object Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o [ 12%] Building CXX object Common/CMakeFiles/lldCommon.dir/Strings.cpp.o [ 13%] Building CXX object Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o [ 14%] Building CXX object Common/CMakeFiles/lldCommon.dir/Version.cpp.o [ 14%] Building CXX object Common/CMakeFiles/lldCommon.dir/Timer.cpp.o [ 15%] Linking CXX static library ../lib/liblldCommon.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 15%] Built target lldCommon make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 19%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o [ 19%] Building CXX object wasm/CMakeFiles/lldWasm.dir/InputChunks.cpp.o [ 19%] Building CXX object wasm/CMakeFiles/lldWasm.dir/Driver.cpp.o [ 20%] Building CXX object wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o [ 20%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o [ 24%] Building CXX object wasm/CMakeFiles/lldWasm.dir/LTO.cpp.o [ 24%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o [ 24%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM.cpp.o [ 24%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o [ 24%] Building CXX object ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o [ 27%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o [ 26%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o [ 27%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o [ 27%] Building CXX object wasm/CMakeFiles/lldWasm.dir/MapFile.cpp.o [ 27%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o [ 28%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o [ 29%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o [ 29%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o [ 30%] Building CXX object MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o [ 31%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o [ 32%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o [ 33%] Building CXX object MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o [ 34%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o [ 35%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o [ 36%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o [ 36%] Building CXX object MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o [ 37%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o [ 37%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o [ 38%] Building CXX object MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o [ 39%] Building CXX object MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o [ 40%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o [ 41%] Building CXX object MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o [ 42%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o [ 43%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o [ 44%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o [ 44%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o [ 45%] Building CXX object MachO/CMakeFiles/lldMachO.dir/InputSection.cpp.o [ 46%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o [ 47%] Building CXX object MachO/CMakeFiles/lldMachO.dir/LTO.cpp.o [ 48%] Building CXX object wasm/CMakeFiles/lldWasm.dir/MarkLive.cpp.o [ 48%] Building CXX object MachO/CMakeFiles/lldMachO.dir/MapFile.cpp.o [ 49%] Building CXX object wasm/CMakeFiles/lldWasm.dir/OutputSections.cpp.o [ 50%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o [ 51%] Building CXX object wasm/CMakeFiles/lldWasm.dir/OutputSegment.cpp.o [ 52%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o [ 53%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o [ 54%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o [ 55%] Building CXX object wasm/CMakeFiles/lldWasm.dir/Relocations.cpp.o [ 55%] Building CXX object wasm/CMakeFiles/lldWasm.dir/SymbolTable.cpp.o [ 55%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o [ 56%] Building CXX object MachO/CMakeFiles/lldMachO.dir/MarkLive.cpp.o /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/Arch/PPC64.cpp: In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)': /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/Arch/PPC64.cpp:234:38: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] 234 | 4 * (buf.size() - first)), | ^~~~~ [ 57%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o [ 58%] Building CXX object MachO/CMakeFiles/lldMachO.dir/ObjC.cpp.o [ 59%] Building CXX object MachO/CMakeFiles/lldMachO.dir/OutputSection.cpp.o [ 60%] Building CXX object MachO/CMakeFiles/lldMachO.dir/OutputSegment.cpp.o [ 60%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Relocations.cpp.o [ 61%] Building CXX object wasm/CMakeFiles/lldWasm.dir/Symbols.cpp.o [ 62%] Building CXX object ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o [ 63%] Building CXX object wasm/CMakeFiles/lldWasm.dir/SyntheticSections.cpp.o [ 64%] Building CXX object wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o [ 65%] Building CXX object wasm/CMakeFiles/lldWasm.dir/WriterUtils.cpp.o [ 66%] Building CXX object MachO/CMakeFiles/lldMachO.dir/SectionPriorities.cpp.o [ 67%] Building CXX object MachO/CMakeFiles/lldMachO.dir/SymbolTable.cpp.o [ 68%] Building CXX object ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o [ 69%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Symbols.cpp.o [ 70%] Building CXX object MachO/CMakeFiles/lldMachO.dir/SyntheticSections.cpp.o [ 70%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Target.cpp.o [ 71%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o [ 72%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o [ 72%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o [ 73%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o [ 74%] Building CXX object MachO/CMakeFiles/lldMachO.dir/UnwindInfoSection.cpp.o [ 75%] Building CXX object MachO/CMakeFiles/lldMachO.dir/Writer.cpp.o [ 76%] Building CXX object ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o [ 77%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o [ 78%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Symbols.cpp.o [ 78%] Building CXX object ELF/CMakeFiles/lldELF.dir/DWARF.cpp.o [ 79%] Building CXX object ELF/CMakeFiles/lldELF.dir/Driver.cpp.o [ 80%] Building CXX object ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o [ 81%] Building CXX object ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o [ 82%] Building CXX object ELF/CMakeFiles/lldELF.dir/ICF.cpp.o [ 83%] Building CXX object ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o [ 83%] Building CXX object ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o [ 84%] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Writer.cpp.o [ 85%] Building CXX object ELF/CMakeFiles/lldELF.dir/LTO.cpp.o [ 86%] Building CXX object ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o [ 87%] Building CXX object ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/MachO/SyntheticSections.cpp: In member function 'void lld::macho::ObjCImageInfoSection::finalizeContents()': /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/MachO/SyntheticSections.cpp:1688:60: warning: 'firstFile' may be used uninitialized in this function [-Wmaybe-uninitialized] 1688 | error("Swift version mismatch: " + toString(firstFile) + " has version " + | ^ [ 88%] Building CXX object ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o [ 88%] Building CXX object ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o [ 89%] Building CXX object ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o [ 90%] Building CXX object ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o [ 91%] Building CXX object ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o [ 92%] Building CXX object ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o [ 93%] Linking CXX static library ../lib/liblldMachO.a /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/COFF/PDB.cpp: In function 'llvm::Optional > lld::coff::getFileLineCodeView(const lld::coff::SectionChunk*, uint32_t)': /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/COFF/PDB.cpp:1796:7: warning: 'offsetInLinetable' may be used uninitialized in this function [-Wmaybe-uninitialized] 1796 | if (ln.Offset > offsetInLinetable) { | ^~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 93%] Built target lldMachO [ 93%] Building CXX object ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o [ 94%] Building CXX object ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o [ 95%] Building CXX object ELF/CMakeFiles/lldELF.dir/Target.cpp.o [ 96%] Building CXX object ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o [ 97%] Building CXX object ELF/CMakeFiles/lldELF.dir/Writer.cpp.o [ 98%] Linking CXX static library ../lib/liblldWasm.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 98%] Built target lldWasm [ 98%] Linking CXX static library ../lib/liblldCOFF.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 98%] Built target lldCOFF make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 99%] Building CXX object MinGW/CMakeFiles/lldMinGW.dir/Driver.cpp.o /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/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/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/Relocations.cpp:1992:24: warning: 'isecLimit' may be used uninitialized in this function [-Wmaybe-uninitialized] 1992 | addThunkSection(os, isd, isecLimit); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/Relocations.cpp:1978:18: note: 'isecLimit' was declared here 1978 | uint32_t isecLimit; | ^~~~~~~~~ [ 99%] Linking CXX static library ../lib/liblldMinGW.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 99%] Built target lldMinGW /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType]': /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/InputFiles.cpp:509:30: warning: 'head' may be used uninitialized in this function [-Wmaybe-uninitialized] 509 | prev->nextInSectionGroup = head; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType]': /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/ELF/InputFiles.cpp:509:30: warning: 'head' may be used uninitialized in this function [-Wmaybe-uninitialized] 509 | prev->nextInSectionGroup = head; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 99%] Linking CXX static library ../lib/liblldELF.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 99%] Built target lldELF make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [ 99%] Building CXX object tools/lld/CMakeFiles/lld.dir/lld.cpp.o [100%] Linking CXX executable ../../bin/lld make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' [100%] Built target lld make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build' >>> host-lld 15.0.3 Installing to host directory GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" /home/buildroot/instance-0/output-1/host/bin/cmake --install /home/buildroot/instance-0/output-1/build/host-lld-15.0.3//buildroot-build -- Install configuration: "" -- Up-to-date: /home/buildroot/instance-0/output-1/host/include -- Installing: /home/buildroot/instance-0/output-1/host/include/lld -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/CommonLinkerContext.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Driver.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/TargetOptionsCommandFlags.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/LLVM.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/DWARF.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Filesystem.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Strings.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Arrays.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Timer.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Reproduce.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Args.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/ErrorHandler.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Version.h -- Installing: /home/buildroot/instance-0/output-1/host/include/lld/Common/Memory.h -- Installing: /home/buildroot/instance-0/output-1/host/lib/liblldCommon.a -- Installing: /home/buildroot/instance-0/output-1/host/bin/lld -- Up-to-date: /home/buildroot/instance-0/output-1/host/bin/lld CMake Warning (dev) at /home/buildroot/instance-0/output-1/host/share/cmake-3.30/Modules/GNUInstallDirs.cmake:253 (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): /home/buildroot/instance-0/output-1/host/lib/cmake/llvm/LLVMInstallSymlink.cmake:5 (include) /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-build/tools/lld/cmake_install.cmake:66 (include) /home/buildroot/instance-0/output-1/build/host-lld-15.0.3/buildroot-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/buildroot/instance-0/output-1/host/lib/liblldCOFF.a -- Installing: /home/buildroot/instance-0/output-1/host/lib/liblldELF.a -- Installing: /home/buildroot/instance-0/output-1/host/lib/liblldMachO.a -- Installing: /home/buildroot/instance-0/output-1/host/lib/liblldMinGW.a -- Installing: /home/buildroot/instance-0/output-1/host/lib/liblldWasm.a -- Installing: /home/buildroot/instance-0/output-1/host/lib/cmake/lld/LLDTargets.cmake -- Installing: /home/buildroot/instance-0/output-1/host/lib/cmake/lld/LLDTargets-noconfig.cmake -- Installing: /home/buildroot/instance-0/output-1/host/lib/cmake/lld/LLDConfig.cmake mkdir -p /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/bin ln -sf /home/buildroot/instance-0/output-1/host/bin/lld /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/bin/lld ln -sf /home/buildroot/instance-0/output-1/host/bin/lld /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/bin/ld.lld lmbench-3.0-a9.tgz: OK (sha256: cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551) >>> lmbench 3.0-a9 Extracting gzip -d -c /home/buildroot/instance-0/dl/lmbench/lmbench-3.0-a9.tgz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9 -xf - >>> lmbench 3.0-a9 Patching Applying 0001-scripts-build-use-bin-bash-as-shell.patch using patch: patching file scripts/build Applying 0002-src-Makefile-add-lmbench-to-list-of-executables.patch using patch: patching file src/Makefile Applying 0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch using patch: patching file src/memsize.c Applying 0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch using patch: patching file src/lat_rpc.c >>> lmbench 3.0-a9 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9 -name $file); do cp support/gnuconfig/$file $i; done; done >>> lmbench 3.0-a9 Configuring sed -i 's/CFLAGS=/CFLAGS+=/g' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile sed -i 's/LDLIBS=/LDLIBS+=/g' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/scripts/build sed -i '/cd .*doc/d' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile sed -i '/include/d' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile touch /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/.stamp_configured >>> lmbench 3.0-a9 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 `/home/buildroot/instance-0/output-1/host/bin/pkg-config --cflags libtirpc`" LDLIBS="`/home/buildroot/instance-0/output-1/host/bin/pkg-config --libs libtirpc`" OS=armeb CC="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc" -C /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_tcp.c -o ../bin/armeb/lib_tcp.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_udp.c -o ../bin/armeb/lib_udp.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_unix.c -o ../bin/armeb/lib_unix.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_timing.c -o ../bin/armeb/lib_timing.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_mem.c -o ../bin/armeb/lib_mem.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_stats.c -o ../bin/armeb/lib_stats.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_debug.c -o ../bin/armeb/lib_debug.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c getopt.c -o ../bin/armeb/getopt.o /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_sched.c -o ../bin/armeb/lib_sched.o rm -f ../bin/armeb/lmbench /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -o ../bin/armeb/msleep msleep.c VERSION=`../scripts/version`; \ sed -e "s//${VERSION}/g" < ../scripts/lmbench > ../bin/armeb/lmbench /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -I/home/buildroot/instance-0/output-1/host/bin/../armeb-buildroot-linux-gnueabi/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -DMAIN -o ../bin/armeb/flushdisk flushdisk.c chmod +x ../bin/armeb/lmbench In file included from lib_unix.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from lib_timing.c:17: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from lib_tcp.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from lib_debug.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from getopt.c:24: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ lib_debug.c: In function 'print_mem': lib_debug.c:107:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | base = (uint64)addr; | ^ lib_debug.c:109:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 109 | off = (uint64)p - base; | ^ gmake[2]: *** [Makefile:228: ../bin/armeb/lib_unix.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:230: ../bin/armeb/lib_debug.o] Error 1 gmake[2]: *** [Makefile:224: ../bin/armeb/lib_tcp.o] Error 1 gmake[2]: *** [Makefile:236: ../bin/armeb/getopt.o] Error 1 lib_timing.c: In function 'benchmp_parent': lib_timing.c:401:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(start_signal, signals, parallel * sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:446:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | write(result_signal, buf, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:487:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(exit_signal, results, parallel * sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c: In function 'benchmp_interval': lib_timing.c:693:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 693 | read(state->start_signal, &c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:699:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 699 | write(state->response, &c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:729:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | write(state->response, (void*)&c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:744:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 744 | read(state->result_signal, (void*)&c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:745:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 745 | write(state->response, (void*)get_results(), state->r_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_timing.c:753:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 753 | read(state->exit_signal, (void*)&c, sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:220: ../bin/armeb/lib_timing.o] Error 1 In file included from lib_mem.c:15: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from lib_udp.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from lib_stats.c:2: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from lib_sched.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ In file included from msleep.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from bench.h:17: /home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/unistd.h:274:21: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 274 | typedef __socklen_t socklen_t; | ^~~~~~~~~ gmake[2]: *** [Makefile:226: ../bin/armeb/lib_udp.o] Error 1 gmake[2]: *** [Makefile:433: ../bin/armeb/msleep] Error 1 gmake[2]: *** [Makefile:234: ../bin/armeb/lib_sched.o] Error 1 gmake[2]: *** [Makefile:232: ../bin/armeb/lib_stats.o] Error 1 gmake[2]: *** [Makefile:222: ../bin/armeb/lib_mem.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' make[1]: *** [Makefile:114: lmbench] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'