Summary: | dev-lang/rust-1.34.0-r2: compilation gets stuck (system-llvm) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Ziak (atomsymbol) <0xe2.0x9a.0x9b> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | mva |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Accidental htop screenshot showing CPU time of rand_hc
build.log |
Created attachment 573008 [details]
build.log
looks like it's no more issue with llvm/clang-8.0.0 and rust-1.35.0:
```
[ebuild R ] sys-devel/llvm-8.0.0 USE="exegesis* gold libffi ncurses xar* xml -debug -doc -libedit -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Lanai* MSP430 Mips NVPTX WebAssembly (X86) -Hexagon -PowerPC -Sparc -SystemZ -XCore"
[ebuild R ] sys-devel/clang-8.0.0 USE="static-analyzer xml z3* -debug -default-compiler-rt -default-libcxx -doc -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Lanai* MSP430 Mips NVPTX WebAssembly (X86) -Hexagon -PowerPC -Sparc -SystemZ -XCore"
PYTHON_TARGETS="python2_7"
[ebuild N ] dev-lang/rust-1.35.0 USE="clippy rls rustfmt system-llvm wasm -debug -doc -libressl" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Lanai MSP430 Mips NVPTX WebAssembly (X86) -Hexagon -PowerPC -Sparc -SystemZ -XCore"
<...>
>>> Emerging (4 of 6) sys-devel/llvm-8.0.0::gentoo
>>> Installing (4 of 6) sys-devel/llvm-8.0.0::gentoo
>>> Recording sys-devel/llvm in "world" favorites file...
>>> Emerging (5 of 6) sys-devel/clang-8.0.0::gentoo
>>> Installing (5 of 6) sys-devel/clang-8.0.0::gentoo
>>> Recording sys-devel/clang in "world" favorites file...
>>> Emerging (6 of 6) dev-lang/rust-1.35.0::gentoo
>>> Installing (6 of 6) dev-lang/rust-1.35.0::gentoo
```
|
Created attachment 573006 [details] Accidental htop screenshot showing CPU time of rand_hc Hi. I tried to build dev-lang/rust-1.34.0-r2 and it got stuck compiling a single crate. I let the build run in the background and aborted it when the "rand_hc" crate consumed 1h49m of CPU time. This may be related to having "system-llvm" in use flags. This is the first time I tried to build dev-lang/rust with the "system-llvm" use flag. I don't know whether this issue is reproducible.