Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683452 - dev-lang/rust-1.34.0-r2: compilation gets stuck (system-llvm)
Summary: dev-lang/rust-1.34.0-r2: compilation gets stuck (system-llvm)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-16 13:48 UTC by Jan Ziak (atomsymbol)
Modified: 2020-06-17 17:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Accidental htop screenshot showing CPU time of rand_hc (desktop cron 2019-04-16 15:16:18+02:00.png,57.61 KB, image/png)
2019-04-16 13:48 UTC, Jan Ziak (atomsymbol)
Details
build.log (dev-lang:rust-1.34.0-r2:20190416-110513.log,110.62 KB, text/plain)
2019-04-16 13:49 UTC, Jan Ziak (atomsymbol)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziak (atomsymbol) 2019-04-16 13:48:00 UTC
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.
Comment 1 Jan Ziak (atomsymbol) 2019-04-16 13:49:15 UTC
Created attachment 573008 [details]
build.log
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2019-06-05 03:11:20 UTC
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
```