LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-11-2004, 11:16 AM   #1
derryp
LQ Newbie
 
Registered: Dec 2003
Location: TX
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Unhappy GCC 3.4.0 Compilation Crashes


Hi all,

Ok, got a little problem here. I've downloaded the packages required to build LFS, Binutils compiles perfectly, no problems at all. However it seems that when I am compiling GCC-core-3.4.0 when it gets to certain files i.e. expect.o (That's the only one I can remember) it crashes. During compilation it goes through what "looks" like it's probing exactly what my processor is capable of (?)

One of the files I can remember is,

tmp-attr(something).h

This takes 99.8% of my CPU time.

The file that it stops on each time is different (that can be expected), and I'm really getting tired of having to reset my computer every three or four minutes!

Tell me if I'm wrong but would hardware configuration have anything to do with this.

I've got 768MB of DDR2100 (I think, might be 2700) RAM
-Thoroughbred AMD XP 2400+
-ECS K7VTA3 REV 8
-Linksys Tulip Class Ethernet Card
-Radeon 7500PCI
-TV Wonder VE
-WD600 60GB Drive IDE 100
-WD800 80GB Drive IDE 100
-Slackware 9.1 (Reportedly has some problems, might this be the problem?)


The system also reported I/O Errors during compilation last night,
confdefs.h

libiberty.a, this one also caused problems said it was invalid format (This was before the make ended and was trying to read the debugging symbols).

I can get more information regarding what is going on, this is what I can remember off the top of my head.

Thanks,

Paul
 
Old 06-11-2004, 12:42 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Excuse my ignorance, but which version of the book compiles just the core of gcc-3.4.0? Your problem sounds like this one http://www.linuxquestions.org/questi...hreadid=180837 You say "The file that it stops on each time is different" - this makes me think it's a hardware problem. If it was a software problem it would stop at the same place in the same way each time.
 
Old 06-11-2004, 03:07 PM   #3
derryp
LQ Newbie
 
Registered: Dec 2003
Location: TX
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
It might very well be a hardware problem because glibc has troubles compiling, and when I run 'make check' it crashes as well. very peculiar. I've never had a single problem with this until when I started trying to put together LFS.

Do some processors or motherboards have problems with running full blast for long periods of time? I know I never had any problems compiling a kernel before and that took near 20 minutes.

I'll look around in the case, take temperatures, etc.

Oh, 5.1.1 says to use the core.

Quote:
Unpack only the GCC-core tarball, as we won't be needing the C++ compiler nor the test suite here.
I was wondering whether or not to compile GCC-3.4.0 instead?
 
Old 06-11-2004, 04:22 PM   #4
derryp
LQ Newbie
 
Registered: Dec 2003
Location: TX
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Eureka!

I found it!

The processor's temperature reached 68 Degrees celsius during the compilation right before it crashed. Heat's to blame! Sounds exactly like the other guy's case.

I don't think I've ever run something at 100% CPU utilization before, and now I have. There's a floor fan blowing into the case, helps some, it's at around 60 Degrees celsius right now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
compilation prob with gcc srinis Programming 4 03-15-2005 04:53 AM
compilation prob with gcc srinis Linux - Newbie 2 03-11-2005 04:06 PM
GCC Compilation Errors The_Dish Programming 7 10-08-2004 04:33 PM
Sun jdk 1.4.1 crashes on compilation juby Programming 1 06-28-2003 05:36 AM
gcc compilation error Proger Programming 1 03-22-2003 12:32 PM

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

All times are GMT -5. The time now is 07:05 AM.

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