Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Changing CHOST
Date: Sun, 23 Sep 2007 00:27:39
Message-Id: 20070922201346.63f96ad4@osage.osagesoftware.com
1 Now that my old AthlonXP mobo has been replaced by an AMD 64 X2 mobo,
2 it's time for upgrading CHOST :->
3
4 According to http://www.gentoo.org/doc/en/change-chost.xml after a
5 couple of changes to /etc/make.conf, i.e.
6
7 from:
8 USE="x86 ..."
9 CHOST="i686-pc-linux-gnu"
10 CFLAGS="-O2 -march=athlon-xp -pipe"
11
12 to:
13 USE="amd64 ..."
14 CHOST="amd64-pc-linux-gnu"
15 CFLAGS="-O2 -march=x86-64 -pipe"
16
17 The next step is:
18
19 emerge -av1 binutils gcc glibc
20
21 The emerge of binutils works fine. However the emerge of gcc fails
22 with:
23
24 In file included from .../gcc/unwind-dw2.c:257:
25 gcc/config/i386/linux-unwind.h: In function
26 'x86_64_fallback_frame_state':
27 gcc/config/i386/linux-unwind.h:63:
28 error: 'struct sigcontext' has no member named 'rsp'
29
30 A quick search of BGO didn't show anything relevant.
31
32 Any suggestions???
33
34 Thanks.
35
36 David
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Changing CHOST "Bo Ørsted Andresen" <bo.andresen@××××.dk>
Re: [gentoo-user] Changing CHOST Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
Re: [gentoo-user] Changing CHOST Doug Whitesell <dcw-gentoo-announce@××××××××××××××××.net>
Re: [gentoo-user] Changing CHOST Mark Shields <laebshade@×××××.com>