LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-11-2011, 08:17 PM   #1
rajcan
LQ Newbie
 
Registered: Jul 2010
Distribution: Opensuse
Posts: 12

Rep: Reputation: 0
Trying to install gentoo on Pentium 2 machine, and gcc keeps seg faulting


So I've got an old P2 machine that's previously had Win2k, FreeBSD, and Ubuntu Server on it. Now I'm trying to install gentoo, but I've run into a little problem. I'm trying to compile the kernel now and gcc keeps seg faulting. And it's not in the same spot. It'll randomly do it, but if I execute 'make && make modules_install' again, it'll pick back up where it left off. I tried emerging gcc but I get the same error.
 
Old 02-12-2011, 01:50 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Random segfaults usually equal to hardware failure, so, I'd start by running memtest86+. Most livecds do have an option in their boot menu to do so.
 
1 members found this post helpful.
Old 02-12-2011, 09:50 PM   #3
rajcan
LQ Newbie
 
Registered: Jul 2010
Distribution: Opensuse
Posts: 12

Original Poster
Rep: Reputation: 0
ok, yeah, one of my ram sticks was bad, so now I've got a new problem, as that leaves me with only 128mb for ram. I wasn't planning on only having commandline, but even still, that doesn't seem like that'd be enough.
 
Old 02-13-2011, 04:48 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
You have little options there.

Either buy more ram (second hand, which means that you will have to memtest it before paying) or look for a binary distro that suits you. There are many that could run in your hardware.

With enough swap space you could compile anything, but current (2011) toolchain will probably take quite a lot to compile (days, weeks, who knows).
 
Old 02-14-2011, 01:11 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
More options.

If you have a network with at least one powerful machine you can setup a distributed compilation environment, look into distcc.

If you don't, you could try to use uclibc just like you'd do on an embedded system. That will probably make it much lighter, but I have no experience with uclibc myself.
 
Old 02-15-2011, 02:59 PM   #6
rajcan
LQ Newbie
 
Registered: Jul 2010
Distribution: Opensuse
Posts: 12

Original Poster
Rep: Reputation: 0
Whoops, I meant to say that I was only gonna have commandline. I've had freebsd and ubuntu server on this machine, so I know it can handle it, I'm trying gentoo now in the hope of knocking out some generic stuff from the kernel. It's got a 15GB hard drive, I'm just wondering if 128MB is enough for commandline only.
 
  


Reply

Tags
gcc, gentoo


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache + mod_ldap seg faulting - what am I doing wrong? patniemeyer Fedora 3 03-05-2009 04:12 PM
mv seg faulting? Tweakin Linux - General 1 05-05-2006 12:05 PM
Seg Faulting C. Where? DaveyB Programming 9 11-04-2004 02:00 PM
Compiler seg faulting fitz9948 Slackware 2 05-11-2004 03:04 PM
My program is seg faulting? eggs Programming 2 10-06-2002 02:32 AM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration