| Summary: | sys-devel/llvm-5.0.2 is not build on new system with -mtune=generic | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michail Shurutov <shurutov> |
| Component: | Current packages | Assignee: | LLVM support project <llvm> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | jstein, mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log from var/tmp/portage/sys-devel/llvm-5.0.2/temp/
Environment of build process Out of `emerge --info '=sys-devel/llvm-5.0.2'` out of dmesg and free command |
||
Created attachment 536324 [details]
Environment of build process
Created attachment 536326 [details]
Out of `emerge --info '=sys-devel/llvm-5.0.2'`
I need -mtune=generic because I have AMD FX-8320E on my desktop and Intel processors on my laptops and I want to use distcc for build any products, as libreoffice, mozilla firefox etc. in order to locate the source of trouble: Can you compile without -mtune=generic? My first guess is that you've run out of memory. Please check 'dmesg' for any indications of OOM-killer activity. Thanks for answers guys. Jonas, disabling "-mtune=generic" was not affected. Building llvm was crashed. Michał Górny, my guess was similar, but I didn't see dmesg. I'm attached file llvm.lowmem with out of dmesg and free command Created attachment 536758 [details]
out of dmesg and free command
> [119386.716316] lowmemorykiller: send sigkill to 8525 (cc1plus), adj 0, size 113604
Looks like it is indeed the case. -j9 is definitely too many for 3G of memory. I manage to build LLVM with -j5 on 4G of mem, and that's at the edge of OOM (and some swap).
|
Created attachment 536322 [details] build log from var/tmp/portage/sys-devel/llvm-5.0.2/temp/ I cannot build llvm on new system (HP EliteBook 840 G5). build.log is too attached.