Gentoo Archives: gentoo-user

From: Doug Whitesell <dcw-gentoo-announce@××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Changing CHOST
Date: Sun, 23 Sep 2007 15:49:11
Message-Id: CAFC10DA-69C0-42F1-876E-88DC4AA80A95@screamingdolphin.net
In Reply to: Re: [gentoo-user] Changing CHOST by Volker Armin Hemmann
1 On Sep 23, 2007, at 5:47 AM, Volker Armin Hemmann wrote:
2
3 > On Sonntag, 23. September 2007, David Relson wrote:
4 >> Now that my old AthlonXP mobo has been replaced by an AMD 64 X2 mobo,
5 >> it's time for upgrading CHOST :->
6 >>
7 >> According to http://www.gentoo.org/doc/en/change-chost.xml after a
8 >> couple of changes to /etc/make.conf, i.e.
9 >>
10 >> from:
11 >> USE="x86 ..."
12 >> CHOST="i686-pc-linux-gnu"
13 >> CFLAGS="-O2 -march=athlon-xp -pipe"
14 >>
15 >> to:
16 >> USE="amd64 ..."
17 >> CHOST="amd64-pc-linux-gnu"
18 >> CFLAGS="-O2 -march=x86-64 -pipe"
19 >>
20 >> The next step is:
21 >>
22 >> emerge -av1 binutils gcc glibc
23 >>
24 >> The emerge of binutils works fine. However the emerge of gcc fails
25 >> with:
26 >>
27 >> In file included from .../gcc/unwind-dw2.c:257:
28 >> gcc/config/i386/linux-unwind.h: In function
29 >> 'x86_64_fallback_frame_state':
30 >> gcc/config/i386/linux-unwind.h:63:
31 >> error: 'struct sigcontext' has no member named 'rsp'
32 >>
33 >> A quick search of BGO didn't show anything relevant.
34 >>
35 >> Any suggestions???
36 >>
37 >> Thanks.
38 >>
39 >> David
40 >
41 > boot from cd
42 > mkfs.reiserfs
43 > start stage3 installation.
44 >
45 > It is the only safe way. It is faster and much less problematic.
46 > --
47 > gentoo-user@g.o mailing list
48 >
49 This is true and is the recommended way; what Albert posted is almost
50 effectively a full reinstall.
51
52 I would advocate — and have used — the start-from-scratch process.
53 Unpredictable result from anything else, and such ... (For some
54 reason it's difficult to go from 486 to 686, although by following
55 the posted guidelines at gentoo.org I have never had such trouble...)--
56 gentoo-user@g.o mailing list