dlang / ci

dlang CI testing pipelines
https://buildkite.com/dlang
Boost Software License 1.0
13 stars 29 forks source link

Fix LDC regression with new Ansible image #422

Closed kinke closed 4 years ago

kinke commented 4 years ago

The LLVM 8 libs seem unusable with the used bfd linker; switch to gold.

kinke commented 4 years ago

Sadly, no change:

/usr/bin/c++   -DDMDV2 -DHAVE_SC_ARG_MAX -g  -fuse-ld=gold utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o  -o bin/gen_gccbuiltins  -rdynamic -lLLVMTableGen -lLLVM-8 -ldl -L/usr/lib/llvm-8/lib -ldl
/usr/bin/ld.gold: error: /usr/lib/llvm-8/lib/libLLVMTableGen.a(Main.cpp.o): invalid section group 55 refers to earlier section 2
dlang-bot commented 4 years ago

Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Please verify that your PR follows this checklist:

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

dnadlinger commented 4 years ago

(NB: Not an LDC bug, but an issue with the system C++ tools; the executable is C++-only. Weird!)