Grigoriy
Grigoriy

Reputation: 51

Compilation of llvm and clang from their git repos hangs at 96%

I have a problems with compilation of llvm and clang with bpf and x86 targets on debian machine. GCC version is 6.2,python exists on system.Compilation lasts more than 24 hours already.Now it hangs at 96% linking cxx executable ../../bin/opt

What to wait more or to do with this?

Upvotes: 0

Views: 650

Answers (1)

Anton Korobeynikov
Anton Korobeynikov

Reputation: 9324

Most probably your linker is running out of RAM. Few suggestions:

  • Release builds tend to require less RAM for linking compared to Debug one
  • Use gold, not bfd ld
  • Add more RAM :)

Upvotes: 2

Related Questions