Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BIG problems: AMD64 install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Catach
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 268
Location: Australia

PostPosted: Fri Feb 13, 2004 7:29 am    Post subject: BIG problems: AMD64 install Reply with quote

I gutted my old AthlonXP motherboard and CPU to install my new Athlon64. The install went quite well, which should have alerted me to a big problem coming, as i can never do anything without big problems arrising :)

I try and compile something and I get what looks like Assembler errors. This was a stage 3 install, plus I saved a number of distfiles and a snapshot of my portage tree from my old AthlonXP motherboard before I gutted my PC and installed for Athlon64.

I'm using my own portage snapshot as (i knew would happen) my modem doesn't work (anyone know of ltmodem drivers for AMD64?). I didn't use genkernel either.

my compile flags are quite normal:
CFLAGS=-O2 -pipe -fomit-frame-pointer

and i kept the CHOST flag as 'i686-pc...' (I tried changing it to 'x86_64-pc...' but that didn't do much. Although now i think about it, i compiled my
kernel under 'i686' could that be a big problem? Anyway I'd really love to get this solved.

gettext failed config with-
Code:

* applying patches...
...
checking for BSD compatible install... /bin/install -c
{standard input} : Assembler Messages:
{standard input} : 32 : Error : cannot represent relocation type BFD_RELOC_64
*** the command 'gcc -o conftest -O -pipe conftest.c' failed.
*** you must set the environment variable CC to a working compiler.

Plenty of other packages fail with the same results as above and along the lines of-
Code:

{standard input} : ... : Error : suffix or opperands invalid for 'movq'
{standard input} : ... : Error : 'mystat (%rip)' is not a valid 32 bit base/index expression


I'm certainly no expert, but it looks to me as it's having troubles with 32 bit instructions as opposed
to 64 bit instructions. I used gentoo-dev-sources-2.6.1 to build my kernel. Was there something in there
that i was supposed to set? i dont recall seeing anything about 32 emulation, in fact the menuconfig looked
exactly like the 2.4 kernels did, which i thought weird, since i'd experimented with development-sources-2.6
which had a different looking menuconfig.

I read so many successful installs for Athlon64 systems that i thought i might try it myself. I should get "if it aint broken, dont fix it" tattooed to my forehead :). My productivity has really ground to a halt, so any help is appreciated.

Thanks
_________________
Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles."
Back to top
View user's profile Send private message
Catach
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 268
Location: Australia

PostPosted: Fri Feb 13, 2004 1:11 pm    Post subject: Reply with quote

(subtle bump)
_________________
Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles."
Back to top
View user's profile Send private message
gebner
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2004
Posts: 100
Location: Wien, EU

PostPosted: Fri Feb 13, 2004 1:37 pm    Post subject: AMD64 install? Reply with quote

Did you install using AMD64 LiveCD + stages?
_________________
clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this."
Back to top
View user's profile Send private message
Catach
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 268
Location: Australia

PostPosted: Fri Feb 13, 2004 3:53 pm    Post subject: Reply with quote

yeah i used the amd64 livecds and used a stage 3 install since i only have a dialup connection (which is why i took my own portage snapshot a few weeks back). I reformatted and started again, as i couldn't even 'make menuconfig' to check my kernel. I'm waiting for the emulation sources to download so i can emerge them before i boot without the livecd, hoping that will help...

...

Hmm, after my new install i can now compile things. If i think back hard it's possible i compiled the kernel and/or gcc with an old make.conf, that still had a CHOST of i686. we'll see how far we get this time ;)
_________________
Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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