View previous topic :: View next topic |
Author |
Message |
dminca n00b
Joined: 01 Oct 2018 Posts: 6 Location: Romania
|
Posted: Tue Dec 18, 2018 2:06 pm Post subject: [SOLVED] Issues installing Gentoo on VMware |
|
|
I've got a laptop with the following hardware specs:
Code: |
Processor: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz, 2901 Mhz, 4 Core(s), 8 Logical Processor(s)
VGA: NVIDIA GeForce 940MX
3D: Intel(R) HD Graphics 630
PCIe Controller: Intel(R) Xeon(R) E3 - 1200/1500 v5/6th Gen Intel(R) Core(TM) PCIe Controller (x16)
Wireless Adapter: Intel(R) Dual Band Wireless-AC 8265
Ethernet Adatper: Realtek USB GbE Family Controller |
when I boot the Gentoo minimal iso in the VMware for instalation, I get the following hardware specs:
Code: |
VideoCard: VMware SVGA II Adapter
Detected 2 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz, 2901 Mhz |
This is my make.conf: http://dpaste.com/25ZNGCB
This is the LLVM failing compilation log: http://dpaste.com/2QT6KFA
This is the LLVM environment file: http://dpaste.com/2PQ10M0
I don't know why on earth it's failing, I've tried building both with -march=native and -march=broadwell, also tried increasing the jobs to 2, but all these didn't bring any results...
Could someone help me figure out what I'm doing wrong? I'm just trying to install Gentoo inside VMware workstation (Gentoo installation in VMware guest). _________________
Code: | PGP FP = C4A3 8F02 9F1F 6567 6957 BC34 90CD 7C62 81DF 875D |
Last edited by dminca on Wed Dec 19, 2018 8:19 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Tue Dec 18, 2018 2:17 pm Post subject: |
|
|
Code: | FAILED: utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/TableGen -I/var/tmp/portage/sys-devel/llvm-7.0.0-r1/work/llvm-7.0.0.src/utils/TableGen -I/usr/include/libxml2 -Iinclude -I/var/tmp/portage/sys-devel/llvm-7.0.0-r1/work/llvm-7.0.0.src/include -DNDEBUG -march=broadwell -O2 -pipe -mno-bmi -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -MD -MT utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o -MF utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o -c /var/tmp/portage/sys-devel/llvm-7.0.0-r1/work/llvm-7.0.0.src/utils/TableGen/GlobalISelEmitter.cpp
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus) |
OOM killer in action. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
dminca n00b
Joined: 01 Oct 2018 Posts: 6 Location: Romania
|
Posted: Tue Dec 18, 2018 2:34 pm Post subject: |
|
|
Ouch. So I'll have to increase Memory.
I gave it 1024 MB of RAM, 1 CPU (2 cores), what should be enough?
Do I have to change the MAKEOPTS="-j2" from my make.conf as well? _________________
Code: | PGP FP = C4A3 8F02 9F1F 6567 6957 BC34 90CD 7C62 81DF 875D |
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Wed Dec 19, 2018 2:27 am Post subject: |
|
|
Memory requirements increase with the number of jobs. If you are memory constrained, reducing the number of parallel jobs can reduce memory pressure, which may let you build with less RAM. |
|
Back to top |
|
|
dminca n00b
Joined: 01 Oct 2018 Posts: 6 Location: Romania
|
Posted: Wed Dec 19, 2018 8:18 am Post subject: |
|
|
Noted.
Thank you guys, I've increased the RAM to 4096 and it went through successfully. _________________
Code: | PGP FP = C4A3 8F02 9F1F 6567 6957 BC34 90CD 7C62 81DF 875D |
|
|
Back to top |
|
|
|