LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-04-2016, 02:33 PM   #1
KeeganDeathman
Member
 
Registered: Jun 2015
Distribution: Ubuntu 15.10
Posts: 33

Rep: Reputation: Disabled
Question Chapter 6 GCC-5.3.0 Computer reboots during compilation


I decided to just let GCC run while I worked on other projects on my laptop. However, I look up to see that my desktop has restarted. I have 10gbs put into this partition, 8gbs of ram, and a genrous 16gb of swap. Any ideas why it may be crashing?
 
Old 04-04-2016, 08:34 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Could be anything, but you should first try to reduplicate the issue by running the compiler for LFS by itself without doing anything else.

16GB of swap is actually excessive. You really shouldn't use more than 8GB even building large projects like LibreOffice, Firefox, SeaMonkey, or the such.

If the problem reoccurs with the compiler running by itself, you need to start looking at other things.

1. You should monitor your hardware temperatures and see if your CPU might be having heat issues during high load stages. Often high heat can cause a problem and force a shutdown or reboot.

2. Try running checks on the hard disks. Bad blocks can cause problems at times with write backs and could trigger some systems to have a fail safe where it reboots or shuts down a system should a system crash occur.

3. Check your system logs carefully for any fatal errors and such.
 
Old 04-04-2016, 09:35 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Not exactly sure if 16gb swap is good or not. I suspect that it can't hurt to have it. (or I may not understand your config)

Restarting could be from any source agreed. Looking at logs would be first step I'd think.


My guess would be one of two things maybe. Overheating or memory overrun. But could end up being almost any cause.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 7.6 chapter 6, gcc test suite computer reboot KeeganDeathman Linux From Scratch 2 07-10-2015 03:08 PM
[SOLVED] chapter 5.5 building gcc cannot find gcc directory sfzombie13 Linux From Scratch 14 04-16-2014 07:31 PM
[SOLVED] Gcc error building tools on 7.4.rc1 chapter 5.10. GCC-4.8.1 - Pass 2 Keith Hedger Linux From Scratch 3 08-29-2013 11:30 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration