Gentoo Archives: gentoo-amd64

From: Peter Davoust <worldgnat@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Meaning of gcc64 USE flag
Date: Thu, 28 Dec 2006 06:26:48
Message-Id: 7c08b4dd0612272224g614c6752h8f84a8c9f6582cd8@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Meaning of gcc64 USE flag by Simon Stelling
1 I may be stating the obvious, depending on what you know, but as far as I
2 understand it goes something like this:
3
4 Info goes to the cpu of a 32 bit machine in chunks of, you guessed it: 32
5 bits. Obviously with 64 bit machines it's 64 bit chunks, but the interesting
6 thing is that many if not all 64 bit chips can recognize when they get
7 chunks of 32 bit code, and emulate. I think that the gcc64 use flag means
8 that you will compile your kernel in 64 bit code. That may mean that you
9 compiled your kernel with a 32 bit compiler before. Now considering you're
10 on the gentoo-amd64 forum, I assume you have x86_64 gentoo and that your
11 arch is set to x86_64, so the use flag seems a bit redundant to me. I'm
12 probably wrong, I have no experience with this, it's late, I'm tired.
13 Please, someone correct me if I'm just being an idiot, or if that's not the
14 question you asked.
15
16 In the unlikely event that I'm right, here would be some pro's and cons. You
17 may not be fully unlocking the potential of your shiny new 64 bit machine by
18 using a 32 bit kernel. The pro would be that you may (not sure, depends on
19 what your kernel is before you recompile) be able to use 32 bit software.
20 Many closed source programs and some programs that emulate the closed source
21 stuff are in 32 bit, and have trouble in 64. I think you'd only run into
22 trouble with java and flash using 64 bit kernel. Adobe still doesn't offer
23 64 bit flash to my knowledge, and java is a bit of a pain in any flavor.
24
25 Again, I may be just babbling, and if I spent this e-mail regurgitating
26 things that you already know, I apologize. That was my interpretation, hope
27 it helped.
28
29 -Peter
30
31
32 On 12/27/06, Simon Stelling <blubb@g.o> wrote:
33 >
34 > Robert Cernansky wrote:
35 > > Can anybody explain more? What are the pros and cons to switch it
36 > on/off?
37 >
38 > The USE flag is only effective on ppc64 and sparc where the kernel
39 > sometimes is the only code that is compiled 64bit and therefore a
40 > seperate, much smaller version of gcc is used to build the kernel. The
41 > flag should in fact be masked everywhere except for those profiles,
42 > which is what bug 144535 [1] deals with.
43 >
44 > [1] http://bugs.gentoo.org/show_bug.cgi?id=144535
45 >
46 > --
47 > Kind Regards,
48 >
49 > Simon Stelling
50 > Gentoo/AMD64 Developer
51 > --
52 > gentoo-amd64@g.o mailing list
53 >
54 >