Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64 ~ x86?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eyeL
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 82
Location: Missouri

PostPosted: Wed Nov 16, 2005 3:22 am    Post subject: AMD64 ~ x86? Reply with quote

Ok, I have an AMD64 (see my signature) but i've compiled everything using x86, in my keywords, in my package, all that jazz.

With this hurt my performance? if so, how would I go about changing it without completely reinstalling?
_________________
[theNPA - down for updates] | [Adopt an unanswered post]
gentoo 2005.1 [lazy] - gcc 4.1.1
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Nov 16, 2005 10:37 am    Post subject: Reply with quote

OK, I have 32 bit and 64 bit (see my signature).

I asked a similar question a while back and only got a reinstall suggestion.

I'll tag along here and see if we get a better reply.

Even allowing for the fact a few packages would surely break or be blocked we must be able to run a few commands, emerge for 3-4 days and get it done.

We'll see.
Back to top
View user's profile Send private message
eyeL
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 82
Location: Missouri

PostPosted: Wed Nov 16, 2005 3:12 pm    Post subject: Reply with quote

yeah, hopefully someone will have something.

I'm thinking I just have to change keywords to amd64?

Not sure.
_________________
[theNPA - down for updates] | [Adopt an unanswered post]
gentoo 2005.1 [lazy] - gcc 4.1.1
Back to top
View user's profile Send private message
sebv
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 78
Location: Savoie (France)

PostPosted: Wed Nov 16, 2005 3:29 pm    Post subject: Reply with quote

If you have compile with x86_64 options and you define ACCEPT_KEYWORDS to x86...

I'm not sure that x86,amd64 keywsords realy impact the compilation process on all package (maybe there is exception) but just say if the package run or not (I think)

So maybe the only problem you could have is that some package will install and won't realy work

Try to check if your package are compile in 64bit
One mean to do this is to launch a program, to get his pid (with "ps aux") and to cat the /proc/{pid}/maps file, you can see if he links on lib64 or not.

I think there is a better mean to do this but...

If it's good maybe you can try to change your keyword from x86 to amd64, and try to do "emerge -p --newuse world"
maybe it work, if not maybe you can do an update, emerge will check all package and say somthing if you installed packages for x86 only.

But i'm not sure, put your data in security before doing this.
_________________
-La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
-Définissez-moi d'abord ce que vous entendez par Dieu et je vous dirai si j'y crois.
[Einstein]


Last edited by sebv on Wed Nov 16, 2005 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Nov 16, 2005 3:56 pm    Post subject: Reply with quote

Quote:
But i'm not sure, put your data in security before doing this.


You can not go from x86 to amd64 without reinstalling using an amd64 live cd. You can leave your data where it is as long as you skip the partitioning step.

I believe the reason for this is 32 bit gcc can not make 64 bit executables and you must boot off a 64 bit kernel to run 64 bit executables...
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Thu Nov 17, 2005 1:01 am    Post subject: Reply with quote

well, I bet you could do it with crossdev, but figuring out how to build a complate and clean toolchain in the wrong environment is probably harder than just grabbing an install-CD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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