apteryks
apteryks
Hi! The lack of runpath in the binaries was a Guix-specific problem when using ld.gold (for the regular ld, we have a wrapper that adds -rpath directives for every -L...
> > The ideal is to have a 2nd maintained solution to build with, such as a GCC backend > > That's why I've mentioned GDC, the D frontend for...
Mmh, I'm not making much progress; the linking problem (when using shared libraries) is solved, but that didn't resolve any test failure. Even building with Clang 11, instead of GCC...
Indeed, there is no `libldc_rt.profile.a` archive. The compiler-rt libraries are present in the Guix build environment, but they are not found. I've tested with `LDC_INSTALL_LLVM_RUNTIME_LIBS=ON` and I see: ``` --...
After patching the `llvm_lib_path` variable, we're down to the GDB related test failures: ``` -- -- Including LLVM compiler-rt libraries (LDC_INSTALL_LLVM_RUNTIME_LIBS): ON -- -- - /gnu/store/yr3ny3x7q3jc65p2xwpnsydfmrzdr4w1-clang-runtime-11.0.0/lib/linux/libclang_rt.asan-x86_64.a --> libldc_rt.asan.a -- --...
Thanks for the great info! I'm using static libraries to get the tests to pass first, but will polish and retry the shared libraries after that's achieved. The GDB tests...
Good news, I could fix the GDB issue (it was yet another unpatched /bin/sh reference in the Guix GDB package). > You probably want to avoid using `LDC_INSTALL_LLVM_RUNTIME_LIBS` - that's...
It seems I was wrong about linker-gcc.cpp not accounting for the arch; the getCompilerRTLibFilename appends its (triple.getArchName). So I'm not sure why it didn't work the patch I tried was...
The lit-tests test suite fails on 32 bits platforms (i686-linux, armhf-linux); seems it doesn't find the compiler-rt libraries, although the same patching strategy is used (adding the lib/linux directory of...
Perhaps the libraries are simply not found; for the i686-linux system, the suffix on disk is 'i386': ``` ls /gnu/store/20sppx281z264ffy32ffcvybwa87mazg-clang-runtime-12.0.0/lib/linux/ clang_rt.crtbegin-i386.o libclang_rt.scudo_cxx-i386.a clang_rt.crtend-i386.o libclang_rt.scudo_cxx_minimal-i386.a libclang_rt.asan_cxx-i386.a libclang_rt.scudo-i386.a libclang_rt.asan-i386.a libclang_rt.scudo-i386.so libclang_rt.asan-i386.so libclang_rt.scudo_minimal-i386.a...