On Tue, 15 May 2018 16:38:37 -0400
Admin <te...@fourthoracle.com> wrote:

> BTW, the VM has enough resources - 6G RAM & 128 GB HDD (LFS partition).


I would not be so certain about this. Today, 6GB RAM is not as much as you
might think. For example, the short C++ code shown here:

https://kristerw.blogspot.com/2017/10/excessive-gcc-memory-usage-for-large.html

requires 8GB of RAM for gcc to compile.

Also, gcc requires more memory with increasing levels of optimization. So,
this would explain why -O1 works. Can you increase the VM memory allocation
to say, 12GB and see if that has any effect?


  Cheers,

  Mike Shell
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to