1 |
felix@×××××××.com wrote: |
2 |
> I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)". |
3 |
> |
4 |
> It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity. |
5 |
> |
6 |
> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux". |
7 |
|
8 |
Take note - it's a x86_64 host environment. |
9 |
|
10 |
> |
11 |
> I installed the latest stage3 tarball and set up make.conf as |
12 |
|
13 |
Which stage3 tarball exactly? |
14 |
|
15 |
> |
16 |
> ACCEPT_KEYWORDS=~x86 |
17 |
> CFLAGS="-O2 -march=i686 -pipe" |
18 |
> CHOST="i686-pc-linux-gnu" |
19 |
> |
20 |
|
21 |
This suggests that you unpacked an 32-bit stage tarball. If that is |
22 |
indeed the case, you should execute the chroot in a different fashion:- |
23 |
|
24 |
# linux32 chroot /mnt/gentoo/bin/bash |
25 |
|
26 |
Alternatively, use an amd64 stage tarball. As a side note, you do not |
27 |
need to set CHOST at all in make.conf. |
28 |
|
29 |
> When I try to compile gentoo-sources-3.5.3, it tells me |
30 |
> |
31 |
> scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 instruction set |
32 |
> |
33 |
> My home system is dual Athlon, ancient, and ~amd64.. I haven't kept track of all the Intel processors, but the kernel config doesn't have many choices. |