Skip to content

Instantly share code, notes, and snippets.

@Alessandro-Barbieri
Last active June 22, 2021 18:23
Show Gist options
  • Save Alessandro-Barbieri/f935b3555416cafb479688db7ef37fe5 to your computer and use it in GitHub Desktop.
Save Alessandro-Barbieri/f935b3555416cafb479688db7ef37fe5 to your computer and use it in GitHub Desktop.
* Package: dev-lang/ldc2-1.24.0
* Repository: dlang
* USE: abi_x86_64 amd64 elibc_glibc gdc-9_3_0 kernel_linux userland_GNU
* FEATURES: fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* /etc/portage/package.cflags/cflags -> */*: NOFFLAGS=1
* /etc/portage/package.cflags/cflags -> */*: LDFLAGS-="-Wl,-z,now -Wl,-z,relro"
* /etc/portage/package.cflags/cflags -> */*: USE_NONGNU="" +fPIE +fstack-protector-all +D_FORTIFY_SOURCE=2
* /etc/portage/package.cflags/cflags -> */*: NOLDADD=1
* FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync metadata-transfer mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
* CFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration'
* CXXFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection'
* CPPFLAGS='-D_GLIBCXX_ASSERTIONS'
* FFLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
* FCFLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
* F77FLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
* LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--sort-common'
* MAKEOPTS='-j12 -l15'
* gcc (Gentoo Hardened 10.3.0 p1) 10.3.0
* g++ (Gentoo Hardened 10.3.0 p1) 10.3.0
* LLD 12.0.0 (compatible with GNU linkers)
* Linux ALESSAND-F1E8 5.10.4-rt-rt22-x86_64 #3 SMP PREEMPT_RT Sun Apr 18 16:12:36 CEST 2021 x86_64 AMD Ryzen 5 3600 6-Core Processor AuthenticAMD GNU/Linux
0;emerge 20:09:22 1|1 ldc2 (root@ALESSAND-F1E8)
kemerge 20:09:22 1|1 ldc2 (root@ALESSAND-F1E8)\
>>> Unpacking source...
>>> Unpacking ldc-1.24.0-src.tar.gz to /var/tmp/portage/dev-lang/ldc2-1.24.0/work
>>> Source unpacked in /var/tmp/portage/dev-lang/ldc2-1.24.0/work
>>> Preparing source in /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src ...
* Applying ldc2-1.15.0-link-defaultlib-shared.patch ...
[ ok ]
* Working in BUILD_DIR: "/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src ...
Hardened
* Working in BUILD_DIR: "/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build"
cmake -C /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DD_VERSION=2 -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/1.24 -DD_COMPILER=/usr/x86_64-pc-linux-gnu/gcc-bin/9.3.0/gdmd -DLDC_WITH_LLD=OFF -DBUILD_SHARED_LIBS=ON -DADDITIONAL_DEFAULT_LDC_SWITCHES=, "-relocation-model=pic" -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src
loading initial cache file /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/gentoo_common_config.cmake
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-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/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found host D compiler /usr/x86_64-pc-linux-gnu/gcc-bin/9.3.0/gdmd, with default flags ''
-- Host D compiler ID: GDMD
-- Host D compiler version: gdc (Gentoo Hardened 9.3.0-r2 p4) 9.3.0
-- Host D compiler front-end version: 2076
-- LLVM_NATIVE_ARCH: X86
-- Found LLVM: /usr/lib/llvm/10 (found suitable version "10.0.1", minimum required is "6.0")
-- Could not find mlir-tblgen. Try manually setting MLIR_ROOT_DIR or MLIR_TABLEGEN.
-- Building LDC with MLIR support: OFF
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2")
-- Checking for module 'LLVMSPIRVLib'
-- No package 'LLVMSPIRVLib' found
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- LDC version identifier: 1.24.0
-- Building LDC with dynamic compilation support: ON (LDC_DYNAMIC_COMPILE=ON)
-- Building LDC with integrated LLD: OFF (LDC_WITH_LLD=OFF)
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG - Success
-- Building LDC with plugin support: ON (LDC_ENABLE_PLUGINS=ON)
-- Host D compiler linker program: /usr/libexec/gcc/x86_64-pc-linux-gnu/9.3.0/collect2
-- Host D compiler linker flags: -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0;-L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64;-L/lib/../lib64;-L/usr/lib/../lib64;-L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/lib;-L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../..;-Bstatic;-lgphobos;-lgdruntime;-Bdynamic;-lgcc_s;-lgcc;-lm;-lpthread;-ldl;-lc;-lgcc_s;-lgcc
-- Looking for _SC_ARG_MAX
-- Looking for _SC_ARG_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Using path for Intrinsics.td: /usr/lib/llvm/10/include
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Use custom passes in jit: ON
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL - Success
-- GDB 10.2 detected
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr/lib/ldc2/1.24
Compiler flags:
C -Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration
C++ -Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -DDMDV2 -DHAVE_SC_ARG_MAX
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,--sort-common
Module -Wl,-O1 -Wl,--as-needed -Wl,--sort-common
Shared -Wl,-O1 -Wl,--as-needed -Wl,--sort-common
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-lang/ldc2-1.24.0
>>> Install dev-lang/ldc2-1.24.0 into /var/tmp/portage/dev-lang/ldc2-1.24.0/image
* Working in BUILD_DIR: "/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build"
[9/190] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86-64.cpp.opp.o
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/abi-x86-64.cpp: In member function ‘{anonymous}::RegCount& X86_64TargetABI::getRegCount(IrFuncTy&)’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/abi-x86-64.cpp:177:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
177 | return reinterpret_cast<RegCount &>(fty.tag);
| ~~~~^~~
[31/190] Building CXX object CMakeFiles/LDCShared.dir/gen/asmstmt.cpp.opp.o.cpp.ooo
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asmstmt.cpp:72:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doInstruction()’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2197:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8632::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2197 | memset(operands, 0, sizeof(operands));
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2020:18: note: ‘struct AsmParserx8632::AsmProcessor::Operand’ declared here
2020 | typedef struct {
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doData()’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:3923:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3923 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asmstmt.cpp:74:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doInstruction()’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2197:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2197 | memset(operands, 0, sizeof(operands));
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2020:18: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2020 | typedef struct {
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h: In member function ‘bool AsmParserx8664::AsmProcessor::formatInstruction(int, AsmCode*)’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2608:42: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2608 | memset(operands, 0, sizeof(Operand));
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:2020:18: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2020 | typedef struct {
| ^
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doData()’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/asm-x86.h:3923:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3923 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
[65/190] Building CXX object CMakeFiles/LDCShared.dir/gen/statements.cpp.oo.cpp.otack.cpp.oo
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/statements.cpp: In member function ‘virtual void ToIRVisitor::visit(TryFinallyStatement*)’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/gen/statements.cpp:844:42: warning: ‘cleanupBefore’ may be used uninitialized in this function [-Wmaybe-uninitialized]
844 | irs->funcGen().scopes.runCleanups(cleanupBefore, successbb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[120/190] Building CXX object runtime/CMakeFiles/ldc-jit-rt-so.dir/jit-rt/cpp-so/jit_context.cpp.op.os.cpp.o
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:27,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h: In member function ‘llvm::JITSymbol llvm::orc::LegacyRTDyldObjectLinkingLayer::findSymbol(llvm::StringRef, bool)’:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:433:25: warning: redundant move in return statement [-Wredundant-move]
433 | return std::move(Err);
| ~~~~~~~~~^~~~~
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:433:25: note: remove ‘std::move’ call
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp: In constructor ‘DynamicCompilerContext::DynamicCompilerContext(bool)’:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:116:32: warning: ‘llvm::orc::LegacyRTDyldObjectLinkingLayer::LegacyRTDyldObjectLinkingLayer(llvm::orc::ExecutionSession&, llvm::orc::LegacyRTDyldObjectLinkingLayer::ResourcesGetter, llvm::orc::LegacyRTDyldObjectLinkingLayer::NotifyLoadedFtor, llvm::orc::LegacyRTDyldObjectLinkingLayer::NotifyFinalizedFtor, llvm::orc::LegacyRTDyldObjectLinkingLayer::NotifyFreedFtor)’ is deprecated [-Wdeprecated-declarations]
116 | mainContext(isMainContext) {
| ^
In file included from /usr/lib/llvm/10/include/llvm/Support/ErrorHandling.h:17,
from /usr/lib/llvm/10/include/llvm/ADT/Hashing.h:48,
from /usr/lib/llvm/10/include/llvm/ADT/ArrayRef.h:12,
from /usr/lib/llvm/10/include/llvm/ADT/DenseMapInfo.h:16,
from /usr/lib/llvm/10/include/llvm/ADT/DenseMap.h:16,
from /usr/lib/llvm/10/include/llvm/ADT/MapVector.h:19,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:21,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:359:7: note: declared here
359 | LegacyRTDyldObjectLinkingLayer(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm/10/include/llvm/Support/Compiler.h:305:3: note: in definition of macro ‘LLVM_ATTRIBUTE_DEPRECATED’
305 | decl __attribute__((deprecated))
| ^~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:116:32: warning: ‘llvm::orc::LegacyObjectTransformLayer<BaseLayerT, TransformFtor>::LegacyObjectTransformLayer(BaseLayerT&, TransformFtor) [with BaseLayerT = llvm::orc::LegacyRTDyldObjectLinkingLayer; TransformFtor = DynamicCompilerContext::ModuleListener]’ is deprecated [-Wdeprecated-declarations]
116 | mainContext(isMainContext) {
| ^
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:26,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h:124:1: note: declared here
124 | LegacyObjectTransformLayer<BaseLayerT, TransformFtor>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:116:32: warning: ‘llvm::orc::LegacyIRCompileLayer<BaseLayerT, CompileFtor>::LegacyIRCompileLayer(BaseLayerT&, CompileFtor, llvm::orc::LegacyIRCompileLayer<BaseLayerT, CompileFtor>::NotifyCompiledCallback) [with BaseLayerT = llvm::orc::LegacyObjectTransformLayer<llvm::orc::LegacyRTDyldObjectLinkingLayer, DynamicCompilerContext::ModuleListener>; CompileFtor = llvm::orc::SimpleCompiler; llvm::orc::LegacyIRCompileLayer<BaseLayerT, CompileFtor>::NotifyCompiledCallback = std::function<void(long unsigned int, std::unique_ptr<llvm::Module>)>]’ is deprecated [-Wdeprecated-declarations]
116 | mainContext(isMainContext) {
| ^
In file included from /usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/CompileUtils.h:16,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:23,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h:155:1: note: declared here
155 | LegacyIRCompileLayer<BaseLayerT, CompileFtor>::LegacyIRCompileLayer(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp: In lambda function:
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:214:27: warning: redundant move in return statement [-Wredundant-move]
214 | return std::move(Err);
| ~~~~~~~~~^~~~~
/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:214:27: note: remove ‘std::move’ call
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:27,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h: In instantiation of ‘llvm::JITSymbol::GetAddressFtor llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<MemoryManagerPtrT>::getSymbolMaterializer(std::string) [with MemoryManagerPtrT = std::shared_ptr<llvm::RuntimeDyld::MemoryManager>; llvm::JITSymbol::GetAddressFtor = llvm::unique_function<llvm::Expected<long unsigned int>()>; std::string = std::__cxx11::basic_string<char>]’:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:273:31: required from here
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:279:33: warning: redundant move in return statement [-Wredundant-move]
279 | return std::move(Err);
| ^
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:279:33: note: remove ‘std::move’ call
In file included from /usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:22,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:27,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.cpp:15:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/Legacy.h: In instantiation of ‘llvm::Expected<llvm::DenseSet<llvm::orc::SymbolStringPtr> > llvm::orc::getResponsibilitySetWithLegacyFn(const SymbolNameSet&, FindSymbolFn) [with FindSymbolFn = DynamicCompilerContext::createResolver()::<lambda(const string&)>; llvm::orc::SymbolNameSet = llvm::DenseSet<llvm::orc::SymbolStringPtr>]’:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/Legacy.h:185:45: required from ‘llvm::orc::SymbolNameSet llvm::orc::LegacyLookupFnResolver<LegacyLookupFn>::getResponsibilitySet(const SymbolNameSet&) [with LegacyLookupFn = DynamicCompilerContext::createResolver()::<lambda(const string&)>; llvm::orc::SymbolNameSet = llvm::DenseSet<llvm::orc::SymbolStringPtr>]’
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/Legacy.h:183:17: required from here
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/Legacy.h:126:27: warning: redundant move in return statement [-Wredundant-move]
126 | return std::move(Err);
| ^
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/Legacy.h:126:27: note: remove ‘std::move’ call
[124/190] Building CXX object runtime/CMakeFiles/ldc-jit-rt-so.dir/jit-rt/cpp-so/compile.cpp.oimeCalls.cpp.o
In file included from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/jit_context.h:27,
from /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/cpp-so/compile.cpp:26:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h: In member function ‘llvm::JITSymbol llvm::orc::LegacyRTDyldObjectLinkingLayer::findSymbol(llvm::StringRef, bool)’:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:433:25: warning: redundant move in return statement [-Wredundant-move]
433 | return std::move(Err);
| ~~~~~~~~~^~~~~
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:433:25: note: remove ‘std::move’ call
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h: In instantiation of ‘llvm::JITSymbol::GetAddressFtor llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<MemoryManagerPtrT>::getSymbolMaterializer(std::string) [with MemoryManagerPtrT = std::shared_ptr<llvm::RuntimeDyld::MemoryManager>; llvm::JITSymbol::GetAddressFtor = llvm::unique_function<llvm::Expected<long unsigned int>()>; std::string = std::__cxx11::basic_string<char>]’:
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:273:31: required from here
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:279:33: warning: redundant move in return statement [-Wredundant-move]
279 | return std::move(Err);
| ^
/usr/lib/llvm/10/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:279:33: note: remove ‘std::move’ call
[135/190] Generating objects/ldc/dynamic_compile.omic.o, objects-debug-shared/core/attribute.o, objects-debug-shared/core/bitop.o, objects-debug-shared/core/checkedint.o, objects-debug-shared/core/cpuid.o, objects-debug-shared/core/demangle.o, objects-debug-shared/core/exception.o, objects-debug-shared/core/gc/config.o, objects-debug-shared/core/gc/gcinterface.o, objects-debug-shared/core/gc/registry.o, objects-debug-shared/core/internal/abort.o, objects-debug-shared/core/internal/array/appending.o, objects-debug-shared/core/internal/array/capacity.o, objects-debug-shared/core/internal/array/casting.o, objects-debug-shared/core/internal/array/comparison.o, objects-debug-shared/core/internal/array/concatenation.o, objects-debug-shared/core/internal/array/construction.o, objects-debug-shared/core/internal/array/equality.o, objects-debug-shared/core/internal/array/operations.o, objects-debug-shared/core/internal/array/utils.o, objects-debug-shared/core/internal/atomic.o, objects-debug-shared/core/internal/attributes.o, objects-debug-shared/core/internal/convert.o, objects-debug-shared/core/internal/dassert.o, objects-debug-shared/core/internal/destruction.o, objects-debug-shared/core/internal/elf/dl.o, objects-debug-shared/core/internal/elf/io.o, objects-debug-shared/core/internal/entrypoint.o, objects-debug-shared/core/internal/execinfo.o, objects-debug-shared/core/internal/hash.o, objects-debug-shared/core/internal/lifetime.o, objects-debug-shared/core/internal/moving.o, objects-debug-shared/core/internal/parseoptions.o, objects-debug-shared/core/internal/postblit.o, objects-debug-shared/core/internal/spinlock.o, objects-debug-shared/core/internal/string.o, objects-debug-shared/core/internal/switch_.o, objects-debug-shared/core/internal/traits.o, objects-debug-shared/core/internal/utf.o, objects-debug-shared/core/internal/util/array.o, objects-debug-shared/core/internal/vararg/aarch64.o, objects-debug-shared/core/internal/vararg/sysv_x64.o, objects-debug-shared/core/lifetime.o, objects-debug-shared/core/math.o, objects-debug-shared/core/memory.o, objects-debug-shared/core/runtime.o, objects-debug-shared/core/simd.o, objects-debug-shared/core/stdc/assert_.o, objects-debug-shared/core/stdc/complex.o, objects-debug-shared/core/stdc/config.o, objects-debug-shared/core/stdc/ctype.o, objects-debug-shared/core/stdc/errno.o, objects-debug-shared/core/stdc/fenv.o, objects-debug-shared/core/stdc/float_.o, objects-debug-shared/core/stdc/inttypes.o, objects-debug-shared/core/stdc/limits.o, objects-debug-shared/core/stdc/locale.o, objects-debug-shared/core/stdc/math.o, objects-debug-shared/core/stdc/signal.o, objects-debug-shared/core/stdc/stdarg.o, objects-debug-shared/core/stdc/stddef.o, objects-debug-shared/core/stdc/stdint.o, objects-debug-shared/core/stdc/stdio.o, objects-debug-shared/core/stdc/stdlib.o, objects-debug-shared/core/stdc/string.o, objects-debug-shared/core/stdc/tgmath.o, objects-debug-shared/core/stdc/time.o, objects-debug-shared/core/stdc/wchar_.o, objects-debug-shared/core/stdc/wctype.o, objects-debug-shared/core/stdcpp/allocator.o, objects-debug-shared/core/stdcpp/array.o, objects-debug-shared/core/stdcpp/exception.o, objects-debug-shared/core/stdcpp/memory.o, objects-debug-shared/core/stdcpp/new_.o, objects-debug-shared/core/stdcpp/string.o, objects-debug-shared/core/stdcpp/string_view.o, objects-debug-shared/core/stdcpp/type_traits.o, objects-debug-shared/core/stdcpp/typeinfo.o, objects-debug-shared/core/stdcpp/utility.o, objects-debug-shared/core/stdcpp/vector.o, objects-debug-shared/core/stdcpp/xutility.o, objects-debug-shared/core/sync/barrier.o, objects-debug-shared/core/sync/condition.o, objects-debug-shared/core/sync/config.o, objects-debug-shared/core/sync/event.o, objects-debug-shared/core/sync/exception.o, objects-debug-shared/core/sync/mutex.o, objects-debug-shared/core/sync/rwmutex.o, objects-debug-shared/core/sync/semaphore.o, objects-debug-shared/core/thread/context.o, objects-debug-shared/core/thread/fiber.o, objects-debug-shared/core/thread/osthread.o, objects-debug-shared/core/thread/package.o, objects-debug-shared/core/thread/threadbase.o, objects-debug-shared/core/thread/threadgroup.o, objects-debug-shared/core/thread/types.o, objects-debug-shared/core/time.o, objects-debug-shared/core/vararg.o, objects-debug-shared/core/volatile.o, objects-debug-shared/gc/bits.o, objects-debug-shared/gc/impl/conservative/gc.o, objects-debug-shared/gc/impl/manual/gc.o, objects-debug-shared/gc/impl/proto/gc.o, objects-debug-shared/gc/os.o, objects-debug-shared/gc/pooltable.o, objects-debug-shared/gc/proxy.o, objects-debug-shared/ldc/asan.o, objects-debug-shared/ldc/attributes.o, objects-debug-shared/ldc/dcompute.o, objects-debug-shared/ldc/eh_msvc.o, objects-debug-shared/ldc/sanitizer_common.o, objects-debug-shared/ldc/sanitizers_optionally_linked.o, objects-debug-shared/object.o, objects-debug-shared/rt/aApply.o, objects-debug-shared/rt/aApplyR.o, objects-debug-shared/rt/aaA.o, objects-debug-shared/rt/adi.o, objects-debug-shared/rt/arrayassign.o, objects-debug-shared/rt/arraycat.o, objects-debug-shared/rt/backtrace/dwarf.o, objects-debug-shared/rt/backtrace/elf.o, objects-debug-shared/rt/backtrace/macho.o, objects-debug-shared/rt/cast_.o, objects-debug-shared/rt/config.o, objects-debug-shared/rt/cover.o, objects-debug-shared/rt/critical_.o, objects-debug-shared/rt/deh.o, objects-debug-shared/rt/deh_win64_posix.o, objects-debug-shared/rt/dmain2.o, objects-debug-shared/rt/dwarfeh.o, objects-debug-shared/rt/ehalloc.o, objects-debug-shared/rt/invariant.o, objects-debug-shared/rt/lifetime.o, objects-debug-shared/rt/memory.o, objects-debug-shared/rt/minfo.o, objects-debug-shared/rt/monitor_.o, objects-debug-shared/rt/profilegc.o, objects-debug-shared/rt/qsort.o, objects-debug-shared/rt/sections.o, objects-debug-shared/rt/sections_android.o, objects-debug-shared/rt/sections_darwin_64.o, objects-debug-shared/rt/sections_elf_shared.o, objects-debug-shared/rt/sections_ldc.o, objects-debug-shared/rt/sections_win64.o, objects-debug-shared/rt/tlsgc.o, objects-debug-shared/rt/trace.o, objects-debug-shared/rt/tracegc.o, objects-debug-shared/rt/unwind.o, objects-debug-shared/rt/util/container/array.o, objects-debug-shared/rt/util/container/common.o, objects-debug-shared/rt/util/container/hashtab.o, objects-debug-shared/rt/util/container/treap.o, objects-debug-shared/rt/util/random.o, objects-debug-shared/rt/util/typeinfo.o, objects-debug-shared/rt/util/utility.o, objects-debug-shared/core/sys/posix/aio.o, objects-debug-shared/core/sys/posix/arpa/inet.o, objects-debug-shared/core/sys/posix/config.o, objects-debug-shared/core/sys/posix/dirent.o, objects-debug-shared/core/sys/posix/dlfcn.o, objects-debug-shared/core/sys/posix/fcntl.o, objects-debug-shared/core/sys/posix/grp.o, objects-debug-shared/core/sys/posix/iconv.o, objects-debug-shared/core/sys/posix/inttypes.o, objects-debug-shared/core/sys/posix/libgen.o, objects-debug-shared/core/sys/posix/locale.o, objects-debug-shared/core/sys/posix/mqueue.o, objects-debug-shared/core/sys/posix/net/if_.o, objects-debug-shared/core/sys/posix/netdb.o, objects-debug-shared/core/sys/posix/netinet/in_.o, objects-debug-shared/core/sys/posix/netinet/tcp.o, objects-debug-shared/core/sys/posix/poll.o, objects-debug-shared/core/sys/posix/pthread.o, objects-debug-shared/core/sys/posix/pwd.o, objects-debug-shared/core/sys/posix/sched.o, objects-debug-shared/core/sys/posix/semaphore.o, objects-debug-shared/core/sys/posix/setjmp.o, objects-debug-shared/core/sys/posix/signal.o, objects-debug-shared/core/sys/posix/spawn.o, objects-debug-shared/core/sys/posix/stdc/time.o, objects-debug-shared/core/sys/posix/stdio.o, objects-debug-shared/core/sys/posix/stdlib.o, objects-debug-shared/core/sys/posix/string.o, objects-debug-shared/core/sys/posix/strings.o, objects-debug-shared/core/sys/posix/sys/filio.o, objects-debug-shared/core/sys/posix/sys/ioccom.o, objects-debug-shared/core/sys/posix/sys/ioctl.o, objects-debug-shared/core/sys/posix/sys/ipc.o, objects-debug-shared/core/sys/posix/sys/mman.o, objects-debug-shared/core/sys/posix/sys/msg.o, objects-debug-shared/core/sys/posix/sys/resource.o, objects-debug-shared/core/sys/posix/sys/select.o, objects-debug-shared/core/sys/posix/sys/shm.o, objects-debug-shared/core/sys/posix/sys/socket.o, objects-debug-shared/core/sys/posix/sys/stat.o, objects-debug-shared/core/sys/posix/sys/statvfs.o, objects-debug-shared/core/sys/posix/sys/time.o, objects-debug-shared/core/sys/posix/sys/ttycom.o, objects-debug-shared/core/sys/posix/sys/types.o, objects-debug-shared/core/sys/posix/sys/uio.o, objects-debug-shared/core/sys/posix/sys/un.o, objects-debug-shared/core/sys/posix/sys/utsname.o, objects-debug-shared/core/sys/posix/sys/wait.o, objects-debug-shared/core/sys/posix/syslog.o, objects-debug-shared/core/sys/posix/termios.o, objects-debug-shared/core/sys/posix/time.o, objects-debug-shared/core/sys/posix/ucontext.o, objects-debug-shared/core/sys/posix/unistd.o, objects-debug-shared/core/sys/posix/utime.o, objects-debug-shared/core/sys/linux/config.o, objects-debug-shared/core/sys/linux/dlfcn.o, objects-debug-shared/core/sys/linux/elf.o, objects-debug-shared/core/sys/linux/epoll.o, objects-debug-shared/core/sys/linux/err.o, objects-debug-shared/core/sys/linux/errno.o, objects-debug-shared/core/sys/linux/execinfo.o, objects-debug-shared/core/sys/linux/fcntl.o, objects-debug-shared/core/sys/linux/ifaddrs.o, objects-debug-shared/core/sys/linux/link.o, objects-debug-shared/core/sys/linux/netinet/in_.o, objects-debug-shared/core/sys/linux/netinet/tcp.o, objects-debug-shared/core/sys/linux/sched.o, objects-debug-shared/core/sys/linux/stdio.o, objects-debug-shared/core/sys/linux/string.o, objects-debug-shared/core/sys/linux/sys/auxv.o, objects-debug-shared/core/sys/linux/sys/eventfd.o, objects-debug-shared/core/sys/linux/sys/file.o, objects-debug-shared/core/sys/linux/sys/inotify.o, objects-debug-shared/core/sys/linux/sys/mman.o, objects-debug-shared/core/sys/linux/sys/prctl.o, objects-debug-shared/core/sys/linux/sys/signalfd.o, objects-debug-shared/core/sys/linux/sys/socket.o, objects-debug-shared/core/sys/linux/sys/sysinfo.o, objects-debug-shared/core/sys/linux/sys/time.o, objects-debug-shared/core/sys/linux/sys/xattr.o, objects-debug-shared/core/sys/linux/termios.o, objects-debug-shared/core/sys/linux/time.o, objects-debug-shared/core/sys/linux/timerfd.o, objects-debug-shared/core/sys/linux/tipc.o, objects-debug-shared/core/sys/linux/unistd.o, objects-debug-shared/core/sys/bionic/err.o, objects-debug-shared/core/sys/bionic/fcntl.o, objects-debug-shared/core/sys/bionic/string.o, objects-debug-shared/core/sys/bionic/unistd.o
FAILED: runtime/objects/ldc/dynamic_compile.o
cd /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/d && /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/bin/ldc2 -c --output-o -enable-dynamic-compile -w -de -dip1000 -preview=dtorfields -O3 -release -od=/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/runtime/objects -op ldc/dynamic_compile.d
Error: Error while reading config file: /var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/bin/ldc2.conf
line 21: Was expecting token "string". Got ',' instead.
Error: cannot find source code for runtime library file 'object.d'
ldc2 might not be correctly installed.
Please check your ldc2.conf configuration file.
Installation instructions can be found at http://wiki.dlang.org/LDC.
Specify path to file 'object.d' with -I switch
[139/190] Generating objects/etc/c/curl.o, objects/etc/c/odbc/sql.o, objects/etc/c/odbc/sqlext.o, objects/etc/c/odbc/sqltypes.o, objects/etc/c/odbc/sqlucode.o, objects/etc/c/sqlite3.o, objects/etc/c/zlib.o, objects/std/algorithm/comparison.o, objects/std/algorithm/internal.o, objects/std/algorithm/iteration.o, objects/std/algorithm/mutation.o, objects/std/algorithm/package.o, objects/std/algorithm/searching.o, objects/std/algorithm/setops.o, objects/std/algorithm/sorting.o, objects/std/array.o, objects/std/ascii.o, objects/std/base64.o, objects/std/bigint.o, objects/std/bitmanip.o, objects/std/compiler.o, objects/std/complex.o, objects/std/concurrency.o, objects/std/container/array.o, objects/std/container/binaryheap.o, objects/std/container/dlist.o, objects/std/container/package.o, objects/std/container/rbtree.o, objects/std/container/slist.o, objects/std/container/util.o, objects/std/conv.o, objects/std/csv.o, objects/std/datetime/date.o, objects/std/datetime/interval.o, objects/std/datetime/package.o, objects/std/datetime/stopwatch.o, objects/std/datetime/systime.o, objects/std/datetime/timezone.o, objects/std/demangle.o, objects/std/digest/crc.o, objects/std/digest/digest.o, objects/std/digest/hmac.o, objects/std/digest/md.o, objects/std/digest/murmurhash.o, objects/std/digest/package.o, objects/std/digest/ripemd.o, objects/std/digest/sha.o, objects/std/encoding.o, objects/std/exception.o, objects/std/experimental/allocator/building_blocks/affix_allocator.o, objects/std/experimental/allocator/building_blocks/aligned_block_list.o, objects/std/experimental/allocator/building_blocks/allocator_list.o, objects/std/experimental/allocator/building_blocks/ascending_page_allocator.o, objects/std/experimental/allocator/building_blocks/bitmapped_block.o, objects/std/experimental/allocator/building_blocks/bucketizer.o, objects/std/experimental/allocator/building_blocks/fallback_allocator.o, objects/std/experimental/allocator/building_blocks/free_list.o, objects/std/experimental/allocator/building_blocks/free_tree.o, objects/std/experimental/allocator/building_blocks/kernighan_ritchie.o, objects/std/experimental/allocator/building_blocks/null_allocator.o, objects/std/experimental/allocator/building_blocks/package.o, objects/std/experimental/allocator/building_blocks/quantizer.o, objects/std/experimental/allocator/building_blocks/region.o, objects/std/experimental/allocator/building_blocks/scoped_allocator.o, objects/std/experimental/allocator/building_blocks/segregator.o, objects/std/experimental/allocator/building_blocks/stats_collector.o, objects/std/experimental/allocator/common.o, objects/std/experimental/allocator/gc_allocator.o, objects/std/experimental/allocator/mallocator.o, objects/std/experimental/allocator/mmap_allocator.o, objects/std/experimental/allocator/package.o, objects/std/experimental/allocator/showcase.o, objects/std/experimental/allocator/typed.o, objects/std/experimental/checkedint.o, objects/std/experimental/logger/core.o, objects/std/experimental/logger/filelogger.o, objects/std/experimental/logger/multilogger.o, objects/std/experimental/logger/nulllogger.o, objects/std/experimental/logger/package.o, objects/std/experimental/typecons.o, objects/std/file.o, objects/std/format.o, objects/std/functional.o, objects/std/getopt.o, objects/std/internal/attributes.o, objects/std/internal/cstring.o, objects/std/internal/digest/sha_SSSE3.o, objects/std/internal/math/biguintarm.o, objects/std/internal/math/biguintcore.o, objects/std/internal/math/biguintnoasm.o, objects/std/internal/math/biguintx86.o, objects/std/internal/math/errorfunction.o, objects/std/internal/math/gammafunction.o, objects/std/internal/memory.o, objects/std/internal/scopebuffer.o, objects/std/internal/test/dummyrange.o, objects/std/internal/test/range.o, objects/std/internal/test/uda.o, objects/std/internal/unicode_comp.o, objects/std/internal/unicode_decomp.o, objects/std/internal/unicode_grapheme.o, objects/std/internal/unicode_norm.o, objects/std/internal/unicode_tables.o, objects/std/internal/windows/advapi32.o, objects/std/json.o, objects/std/math.o, objects/std/mathspecial.o, objects/std/meta.o, objects/std/mmfile.o, objects/std/net/curl.o, objects/std/net/isemail.o, objects/std/numeric.o, objects/std/outbuffer.o, objects/std/package.o, objects/std/parallelism.o, objects/std/path.o, objects/std/process.o, objects/std/random.o, objects/std/range/interfaces.o, objects/std/range/package.o, objects/std/range/primitives.o, objects/std/regex/internal/backtracking.o, objects/std/regex/internal/generator.o, objects/std/regex/internal/ir.o, objects/std/regex/internal/kickstart.o, objects/std/regex/internal/parser.o, objects/std/regex/internal/tests.o, objects/std/regex/internal/tests2.o, objects/std/regex/internal/thompson.o, objects/std/regex/package.o, objects/std/signals.o, objects/std/socket.o, objects/std/stdint.o, objects/std/stdio.o, objects/std/string.o, objects/std/system.o, objects/std/traits.o, objects/std/typecons.o, objects/std/typetuple.o, objects/std/uni/package.o, objects/std/uri.o, objects/std/utf.o, objects/std/uuid.o, objects/std/variant.o, objects/std/xml.o, objects/std/zip.o, objects/std/zlib.o/std/range/primitives.o, objects-debug/std/regex/internal/backtracking.o, objects-debug/std/regex/internal/generator.o, objects-debug/std/regex/internal/ir.o, objects-debug/std/regex/internal/kickstart.o, objects-debug/std/regex/internal/parser.o, objects-debug/std/regex/internal/tests.o, objects-debug/std/regex/internal/tests2.o, objects-debug/std/regex/internal/thompson.o, objects-debug/std/regex/package.o, objects-debug/std/signals.o, objects-debug/std/socket.o, objects-debug/std/stdint.o, objects-debug/std/stdio.o, objects-debug/std/string.o, objects-debug/std/system.o, objects-debug/std/traits.o, objects-debug/std/typecons.o, objects-debug/std/typetuple.o, objects-debug/std/uni/package.o, objects-debug/std/uri.o, objects-debug/std/utf.o, objects-debug/std/uuid.o, objects-debug/std/variant.o, objects-debug/std/xml.o, objects-debug/std/zip.o, objects-debug/std/zlib.o, objects-shared/core/sys/posix/netdb.o, objects-shared/core/sys/posix/netinet/in_.o, objects-shared/core/sys/posix/netinet/tcp.o, objects-shared/core/sys/posix/poll.o, objects-shared/core/sys/posix/pthread.o, objects-shared/core/sys/posix/pwd.o, objects-shared/core/sys/posix/sched.o, objects-shared/core/sys/posix/semaphore.o, objects-shared/core/sys/posix/setjmp.o, objects-shared/core/sys/posix/signal.o, objects-shared/core/sys/posix/spawn.o, objects-shared/core/sys/posix/stdc/time.o, objects-shared/core/sys/posix/stdio.o, objects-shared/core/sys/posix/stdlib.o, objects-shared/core/sys/posix/string.o, objects-shared/core/sys/posix/strings.o, objects-shared/core/sys/posix/sys/filio.o, objects-shared/core/sys/posix/sys/ioccom.o, objects-shared/core/sys/posix/sys/ioctl.o, objects-shared/core/sys/posix/sys/ipc.o, objects-shared/core/sys/posix/sys/mman.o, objects-shared/core/sys/posix/sys/msg.o, objects-shared/core/sys/posix/sys/resource.o, objects-shared/core/sys/posix/sys/select.o, objects-shared/core/sys/posix/sys/shm.o, objects-shared/core/sys/posix/sys/socket.o, objects-shared/core/sys/posix/sys/stat.o, objects-shared/core/sys/posix/sys/statvfs.o, objects-shared/core/sys/posix/sys/time.o, objects-shared/core/sys/posix/sys/ttycom.o, objects-shared/core/sys/posix/sys/types.o, objects-shared/core/sys/posix/sys/uio.o, objects-shared/core/sys/posix/sys/un.o, objects-shared/core/sys/posix/sys/utsname.o, objects-shared/core/sys/posix/sys/wait.o, objects-shared/core/sys/posix/syslog.o, objects-shared/core/sys/posix/termios.o, objects-shared/core/sys/posix/time.o, objects-shared/core/sys/posix/ucontext.o, objects-shared/core/sys/posix/unistd.o, objects-shared/core/sys/posix/utime.o, objects-shared/core/sys/linux/config.o, objects-shared/core/sys/linux/dlfcn.o, objects-shared/core/sys/linux/elf.o, objects-shared/core/sys/linux/epoll.o, objects-shared/core/sys/linux/err.o, objects-shared/core/sys/linux/errno.o, objects-shared/core/sys/linux/execinfo.o, objects-shared/core/sys/linux/fcntl.o, objects-shared/core/sys/linux/ifaddrs.o, objects-shared/core/sys/linux/link.o, objects-shared/core/sys/linux/netinet/in_.o, objects-shared/core/sys/linux/netinet/tcp.o, objects-shared/core/sys/linux/sched.o, objects-shared/core/sys/linux/stdio.o, objects-shared/core/sys/linux/string.o, objects-shared/core/sys/linux/sys/auxv.o, objects-shared/core/sys/linux/sys/eventfd.o, objects-shared/core/sys/linux/sys/file.o, objects-shared/core/sys/linux/sys/inotify.o, objects-shared/core/sys/linux/sys/mman.o, objects-shared/core/sys/linux/sys/prctl.o, objects-shared/core/sys/linux/sys/signalfd.o, objects-shared/core/sys/linux/sys/socket.o, objects-shared/core/sys/linux/sys/sysinfo.o, objects-shared/core/sys/linux/sys/time.o, objects-shared/core/sys/linux/sys/xattr.o, objects-shared/core/sys/linux/termios.o, objects-shared/core/sys/linux/time.o, objects-shared/core/sys/linux/timerfd.o, objects-shared/core/sys/linux/tipc.o, objects-shared/core/sys/linux/unistd.o, objects-shared/core/sys/bionic/err.o, objects-shared/core/sys/bionic/fcntl.o, objects-shared/core/sys/bionic/string.o, objects-shared/core/sys/bionic/unistd.objects-debug-shared/core/sys/linux/err.o, objects-debug-shared/core/sys/linux/errno.o, objects-debug-shared/core/sys/linux/execinfo.o, objects-debug-shared/core/sys/linux/fcntl.o, objects-debug-shared/core/sys/linux/ifaddrs.o, objects-debug-shared/core/sys/linux/link.o, objects-debug-shared/core/sys/linux/netinet/in_.o, objects-debug-shared/core/sys/linux/netinet/tcp.o, objects-debug-shared/core/sys/linux/sched.o, objects-debug-shared/core/sys/linux/stdio.o, objects-debug-shared/core/sys/linux/string.o, objects-debug-shared/core/sys/linux/sys/auxv.o, objects-debug-shared/core/sys/linux/sys/eventfd.o, objects-debug-shared/core/sys/linux/sys/file.o, objects-debug-shared/core/sys/linux/sys/inotify.o, objects-debug-shared/core/sys/linux/sys/mman.o, objects-debug-shared/core/sys/linux/sys/prctl.o, objects-debug-shared/core/sys/linux/sys/signalfd.o, objects-debug-shared/core/sys/linux/sys/socket.o, objects-debug-shared/core/sys/linux/sys/sysinfo.o, objects-debug-shared/core/sys/linux/sys/time.o, objects-debug-shared/core/sys/linux/sys/xattr.o, objects-debug-shared/core/sys/linux/termios.o, objects-debug-shared/core/sys/linux/time.o, objects-debug-shared/core/sys/linux/timerfd.o, objects-debug-shared/core/sys/linux/tipc.o, objects-debug-shared/core/sys/linux/unistd.o, objects-debug-shared/core/sys/bionic/err.o, objects-debug-shared/core/sys/bionic/fcntl.o, objects-debug-shared/core/sys/bionic/string.o, objects-debug-shared/core/sys/bionic/unistd.o
ninja: build stopped: subcommand failed.
* ERROR: dev-lang/ldc2-1.24.0::dlang failed (install phase):
* died running ninja install
*
* Call stack:
* ebuild.sh, line 127: Called src_install
* environment, line 4334: Called dlang_src_install
* environment, line 2748: Called __dlang_phase_wrapper 'install'
* environment, line 1667: Called dlang_single_config 'dlang_phase' 'install'
* environment, line 2736: Called __dlang_use_build_vars 'dlang_phase' 'install'
* environment, line 1769: Called dlang_phase 'install'
* environment, line 1656: Called d_src_install
* environment, line 2606: Called cmake_src_install
* environment, line 2513: Called die
* The specific snippet of code:
* DESTDIR="${D}" ${CMAKE_MAKEFILE_GENERATOR} install "$@" || die "died running ${CMAKE_MAKEFILE_GENERATOR} install";
*
* If you need support, post the output of `emerge --info '=dev-lang/ldc2-1.24.0::dlang'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/ldc2-1.24.0::dlang'`.
* The complete build log is located at '/var/log/portage/build/dev-lang/ldc2-1.24.0:20210622-180920.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ldc2-1.24.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/ldc2-1.24.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build'
* S: '/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src'
// See comments in driver/config.d in ldc source tree for grammar description of
// this config file.
// For cross-compilation, you can add sections for specific target triples by
// naming the sections as (quoted) regex patterns. See LDC's `-v` output
// (`config` line) to figure out your normalized triple, depending on the used
// `-mtriple`, `-m32` etc. E.g.:
//
// "^arm.*-linux-gnueabihf$": { … };
// "86(_64)?-.*-linux": { … };
// "i[3-6]86-.*-windows-msvc": { … };
//
// Later sections take precedence and override settings from previous matching
// sections while inheriting unspecified settings from previous sections.
// A `default` section always matches (treated as ".*") and is therefore usually
// the first section.
default:
{
// default switches injected before all explicit command-line switches
switches = [
"-defaultlib=phobos2-ldc,druntime-ldc",, "-relocation-model=pic"
"-link-defaultlib-shared",
];
// default switches appended after all explicit command-line switches
post-switches = [
"-I/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/druntime/src",
"-I/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/runtime/import",
"-I/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/jit-rt/d",
"-I/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc-1.24.0-src/runtime/phobos",
];
// default directories to be searched for libraries when linking
lib-dirs = [
"/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/lib64",
];
// default rpath when linking against the shared default libs
rpath = "/var/tmp/portage/dev-lang/ldc2-1.24.0/work/ldc2-1.24.0_build/lib64";
};
"^wasm(32|64)-":
{
switches = [
"-defaultlib=",
"-L--export-dynamic",
];
lib-dirs = [];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment