GNU ld aborted for internal error when building LLVM
0
When I tried to build LLVM 8 using gcc tool chains, some problems happened. First ld was killed, and as the build skipped this failure and continued, ld aborted itself with an internal error. Given a situation like this, what should I do to solve the problem and build LLVM successfully? It is known that LLVM demands a great deal of the host compiler. Below I try to provide as detailed configuration as possible: Host machine: Ubuntu 18.04.1 LTS bionic LLVM version: 8, obtained with command: git clone https://git.llvm.org/git/llvm.git/ ld version: 2.30 gcc version: 7.3.0 cmake version: 3.10.2 ninja version: 1.8.2 (I am using it in place of Unix Makefile) cmake command used: cmake -DCMAKE_INSTALL_PREFIX=$HOME -DLLVM_TARGETS_TO_BUILD="Mips;X86" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_OPT