Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pure 64 bit system.
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
adam_qin
n00b
n00b


Joined: 17 Sep 2012
Posts: 4

PostPosted: Mon Sep 17, 2012 6:37 am    Post subject: Pure 64 bit system. Reply with quote

Hi,I'm adam.
I want a pure 64 bit system.
And I'm squeamish, can I delete lib32 manually?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Sep 17, 2012 6:48 am    Post subject: Reply with quote

Reset your profile to the no multilib 64 bit profile (eselect profile list). Running emerge -auND world followed by emerge -ac should do it.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
adam_qin
n00b
n00b


Joined: 17 Sep 2012
Posts: 4

PostPosted: Mon Sep 17, 2012 7:04 am    Post subject: Reply with quote

Can I delete the lib symbolic link and rename lib64 to lib?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Sep 17, 2012 7:29 am    Post subject: Reply with quote

I would not. The procedure I outlined should handle the transition for you. You will need to change your use flags, which changing your profile does, and clean out any 32 bit dependencies which the emerge world will fix. I don't think it would work to just delete the libraries as that would probably give portage a heart attack. You should let the package manager do its work.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
adam_qin
n00b
n00b


Joined: 17 Sep 2012
Posts: 4

PostPosted: Mon Sep 17, 2012 10:42 am    Post subject: Reply with quote

The Doctor wrote:
I would not. The procedure I outlined should handle the transition for you. You will need to change your use flags, which changing your profile does, and clean out any 32 bit dependencies which the emerge world will fix. I don't think it would work to just delete the libraries as that would probably give portage a heart attack. You should let the package manager do its work.


Thank you very much!
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon Sep 17, 2012 11:47 am    Post subject: Reply with quote

Just curious,what is the advantage of pure 64 over multilib?
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
adam_qin
n00b
n00b


Joined: 17 Sep 2012
Posts: 4

PostPosted: Mon Sep 17, 2012 12:28 pm    Post subject: Reply with quote

gerard82 wrote:
Just curious,what is the advantage of pure 64 over multilib?
Gerard.


Just a eccentricity.
As I said,I'm squeamish. I can't bear that something like lib32 or lib64 apears in my system.
Any solution?
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Mon Oct 01, 2012 7:31 pm    Post subject: Reply with quote

One advantage is that code that has never been updated for
64-bit registers and data structure sizes will commonly fail
to compile and run. So you avoid a lot of "has not been
maintained since before 64-bit cpus were common" software
before finding out about the 32-bit/64-bit data structure bugs
in it.

Somewhere I read that you need to leave 32-bit emulation
on in the kernel config for grub, even if running a no-multilib
system:
Code:

CONFIG_IA32_EMULATION=y

in /usr/src/linux/.config

(I do not know if grub2 requires this.)
_________________
TIA
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Mon Oct 01, 2012 10:24 pm    Post subject: Reply with quote

wcg wrote:
Somewhere I read that you need to leave 32-bit emulation on in the kernel config for grub, even if running a no-multilib system:

Alternatively, emerge "grub-static" instead of "grub".
adam_qin wrote:
As I said,I'm squeamish. I can't bear that something like lib32 or lib64 apears in my system.

That's what I thought, as I never thought I'd needed 32-bit support. Until the day I tried out an alternative video card that used ati-drivers and required IA32 Emulation to be set in the kernel config. And the day I suspected the CPU was faulty and emerged cpuburn, which required a 32-bit GCC to build.

Even without those, I seem to remember that nvidia-drivers always installed stuff in /usr/lib32/ even though I used to use no-multilib. Not sure if that still applies.
_________________
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Oct 02, 2012 1:25 am    Post subject: Reply with quote

foldingathome needed IA-32 in the kernel last time I used it (it had 32-bit static binaries). I've been running no-multilib for years without a problem though; for anything with only 32-bit binaries (games) I keep a chroot around.
Back to top
View user's profile Send private message
helpen
n00b
n00b


Joined: 09 Oct 2012
Posts: 2

PostPosted: Tue Oct 09, 2012 8:55 am    Post subject: Reply with quote

I had the same incident, I have not solved it.
Greetings
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