LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 12-20-2011, 03:58 PM   #1
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
MAJOR Problem - assistance appreciated


HI

We had a server that failed to compile gcc-4.3.4 or glibc-2.11.x (can't remember version numbers at this point).

I googled around a bit and found a forum entry that suggested you could download these from tinderbox (http://tinderbox.dev.gentoo.org/) and extract them to their proper locations, then emerge to get the system up to date.

Well, long story short, I did this with both, but then started getting ELF32 errors (as it's a 64-bit box). The wisdom of directly trying ANYTHING from the internet notwithstanding, I'm now planning on booting from a minimal install CD to get to a place where I can chroot into the environment to get the files in place that I need to replace these "corrupted" ones.

My plan is to download a stage3 tarball. However, obviously I want to make sure I get the right one. If my previous working environment on this server was :

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
or
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"

which stage3 tarball do I need? or is this the most sane method for recovery

All assistance greatly appreciated!

Last edited by MarcusWebb1966; 12-20-2011 at 03:59 PM. Reason: sanitychecking and correction of minor errors
 
Old 12-20-2011, 09:38 PM   #2
wile_coyote
Member
 
Registered: Aug 2010
Location: Somewhere in NM USA
Distribution: Gentoo, Vector, Slackware , Arch
Posts: 47

Rep: Reputation: 3
MarcusWebb1966, I believe the AMD64 (from the CHOST line of the make.conf you posted) tarball is the one to go with. I may be wrong though. Hopefully, another member maybe able to confirm me or correct me.

Good luck

Last edited by wile_coyote; 12-20-2011 at 09:46 PM. Reason: addition
 
1 members found this post helpful.
Old 12-22-2011, 07:21 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
amd64, yes. However, at this point, I recommend you to save whatever you did by hand (mostly under /etc/, probably) and start from scratch. I can't know at all to what degree your system is corrupted.

If you want to use 32 bits, then pick an x86/i686 stage3, if you want 64, then you need to use amd64, regardless of the manufacturer of your processor.
 
1 members found this post helpful.
Old 12-22-2011, 09:04 AM   #4
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
thanks,both of you. I am about to attempt the same - I'll let you know how things go.

Your assistance is greatly appreciated
 
Old 12-22-2011, 11:30 AM   #5
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Thanks Wile_coyote

However when I finally got in there, downloaded and then went to emerge gentoo-sources I got the following major headache:
emerge gentoo-sources
 
Old 12-22-2011, 11:45 AM   #6
wile_coyote
Member
 
Registered: Aug 2010
Location: Somewhere in NM USA
Distribution: Gentoo, Vector, Slackware , Arch
Posts: 47

Rep: Reputation: 3
No problem. What processor is your box running? Your make has different settings, one for nocona and one for native? Is your processor one that nocona would be used for? On my Core i7 I use the native flag.
 
Old 12-22-2011, 11:54 AM   #7
wile_coyote
Member
 
Registered: Aug 2010
Location: Somewhere in NM USA
Distribution: Gentoo, Vector, Slackware , Arch
Posts: 47

Rep: Reputation: 3
Also, it would be worth checking to see what Python level/version you are at. Do a google search on the first place the error shows up (line 428 of your link I believe). Multiple post from the Gentoo forums will show up as search results.
 
  


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
A small issue with 'symbol lookup error - g_date_time_unref'..assistance appreciated. r2rX Linux - General 5 07-25-2011 04:19 AM
repartitioning disaster - loss of data, assistance appreciated Nishtya Linux - Newbie 6 02-26-2008 05:24 AM
PCMCIA problem -- help would be very much appreciated tallis Puppy 0 08-07-2007 09:27 AM
mandrake 9.1 - a major cock up - idea's appreciated. bigjohn Mandriva 3 03-17-2004 02:06 PM
Major Problem -- Any help appreciated! echid Linux - General 1 10-21-2002 08:08 PM


All times are GMT -5. The time now is 10:53 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