Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Changing CHOST
Date: Sun, 23 Sep 2007 13:03:22
Message-Id: 200709231447.44009.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] Changing CHOST by David Relson
1 On Sonntag, 23. September 2007, David Relson wrote:
2 > Now that my old AthlonXP mobo has been replaced by an AMD 64 X2 mobo,
3 > it's time for upgrading CHOST :->
4 >
5 > According to http://www.gentoo.org/doc/en/change-chost.xml after a
6 > couple of changes to /etc/make.conf, i.e.
7 >
8 > from:
9 > USE="x86 ..."
10 > CHOST="i686-pc-linux-gnu"
11 > CFLAGS="-O2 -march=athlon-xp -pipe"
12 >
13 > to:
14 > USE="amd64 ..."
15 > CHOST="amd64-pc-linux-gnu"
16 > CFLAGS="-O2 -march=x86-64 -pipe"
17 >
18 > The next step is:
19 >
20 > emerge -av1 binutils gcc glibc
21 >
22 > The emerge of binutils works fine. However the emerge of gcc fails
23 > with:
24 >
25 > In file included from .../gcc/unwind-dw2.c:257:
26 > gcc/config/i386/linux-unwind.h: In function
27 > 'x86_64_fallback_frame_state':
28 > gcc/config/i386/linux-unwind.h:63:
29 > error: 'struct sigcontext' has no member named 'rsp'
30 >
31 > A quick search of BGO didn't show anything relevant.
32 >
33 > Any suggestions???
34 >
35 > Thanks.
36 >
37 > David
38
39 boot from cd
40 mkfs.reiserfs
41 start stage3 installation.
42
43 It is the only safe way. It is faster and much less problematic.
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Changing CHOST Doug Whitesell <dcw-gentoo-announce@××××××××××××××××.net>
Re: [gentoo-user] Changing CHOST Marc Redmann <mr_spuck_2001@×××××.de>