Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First installation broken on binutils
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kabads
n00b
n00b


Joined: 10 Sep 2003
Posts: 11
Location: UK

PostPosted: Wed Sep 10, 2003 8:43 pm    Post subject: First installation broken on binutils Reply with quote

Ok, be nice here people, as this is my first install of gentoo.

I'll try and give as much info as possible - starting with the error and then with my setup - the error is pretty much copied over by hand, so please forgive any human errors.

right near the bottom I've got

Quote:
!!! Error: sys-devel/binutils-2.4.90.0.6-rc2 failed
!!! Function src_compile, Line 119 Exitcode 2
!!! (no error message)


Just before that I got
Quote:
makeinfo --split-size=5000000 -I . as.texinfo
make[2]: *** [as.info] Illegal instruction
make[2]: *** Deleting file 'as.info'
make[2]: Leaving directory /var/tmp/portage/binutils-2.4.90.0.6-rc2/work/binutils-2.4.90.0.6-rc2 /gas/doc
make[1]: [Info-recursive] Error 1
make[1]: Leaving directory /var/tmp/portage/binutils-2.4.90.0.6-rc2/work/binutils-2.4.90.0.6-rc2 /gas/
make: *** [Info-gas] Error 1


I'm running AMD k7 1.1Ghz - 288Mb ram on VIA chipset motherboard with NVidia Geforce FX5200 gphx card.

I downloaded the live cd for athlon, burnt it, and booted from it ok. The partitions sit just after a whole load of partitions dedicated to debian.

I went for a stage2 install - followed the documentation closely - and downloaded the latest portage tree.

Any ideas?
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed Sep 10, 2003 9:16 pm    Post subject: Reply with quote

Hi Kabads!

Ok, you mention you have K7 1.1Ghz Chip, is this an Athlon XP chip, because the live cd for Athlon is optimised for XP. Have you modified your CFLAGS at all?

You could try starting from Stage 1 using the X86 ISO, takes a bit longer but well worth it. :-)

Are you overclocking btw?
Back to top
View user's profile Send private message
kabads
n00b
n00b


Joined: 10 Sep 2003
Posts: 11
Location: UK

PostPosted: Wed Sep 10, 2003 10:00 pm    Post subject: Reply with quote

I'm not adding any flags - should I?

Which iso should I download for k7? Just the bog-standard i686?

As for overclocking - nope, nothing that technical, I'm afraid.
Back to top
View user's profile Send private message
kabads
n00b
n00b


Joined: 10 Sep 2003
Posts: 11
Location: UK

PostPosted: Thu Sep 11, 2003 4:22 pm    Post subject: Reply with quote

So, there's no fix for this then?

adam
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Thu Sep 11, 2003 5:16 pm    Post subject: Reply with quote

i686 ISO would work, but more depends on what stage tarball you get. The i686 stage2 tarball has all the bootstraping done for you. But it won't be optimised for Athlon.

If I were you I would start at Stage1, using the x86 tarball.

When you edit your make.conf

Athlon (AMD)

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"

Most of this is covered in the install guide though.
Back to top
View user's profile Send private message
kabads
n00b
n00b


Joined: 10 Sep 2003
Posts: 11
Location: UK

PostPosted: Thu Sep 11, 2003 5:50 pm    Post subject: Reply with quote

Surely, stage1 will still need to compile binutils - all that's happened is that I've bypassed the bootstrap?

I have a i686 cd rom here, so I might give it a whirl in stage1, although the documentation points out that you shouldn't try this if it's your first install.

Thanks for the flags - I didn't see those in the documentation, but then again, it all looks greek to me, and so I wouldn't know what I was looking for.

When it comes to make.conf, do I just put those in there?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum