1 |
On Sep 22, 2007, at 5:13 PM, David Relson wrote: |
2 |
|
3 |
> Now that my old AthlonXP mobo has been replaced by an AMD 64 X2 mobo, |
4 |
> it's time for upgrading CHOST :-> |
5 |
> |
6 |
> According to http://www.gentoo.org/doc/en/change-chost.xml after a |
7 |
> couple of changes to /etc/make.conf, i.e. |
8 |
> |
9 |
> from: |
10 |
> USE="x86 ..." |
11 |
> CHOST="i686-pc-linux-gnu" |
12 |
> CFLAGS="-O2 -march=athlon-xp -pipe" |
13 |
> |
14 |
> to: |
15 |
> USE="amd64 ..." |
16 |
> CHOST="amd64-pc-linux-gnu" |
17 |
> CFLAGS="-O2 -march=x86-64 -pipe" |
18 |
> |
19 |
> The next step is: |
20 |
> |
21 |
> emerge -av1 binutils gcc glibc |
22 |
> |
23 |
> The emerge of binutils works fine. However the emerge of gcc fails |
24 |
> with: |
25 |
> |
26 |
> In file included from .../gcc/unwind-dw2.c:257: |
27 |
> gcc/config/i386/linux-unwind.h: In function |
28 |
> 'x86_64_fallback_frame_state': |
29 |
> gcc/config/i386/linux-unwind.h:63: |
30 |
> error: 'struct sigcontext' has no member named 'rsp' |
31 |
> |
32 |
> A quick search of BGO didn't show anything relevant. |
33 |
> |
34 |
> Any suggestions??? |
35 |
> |
36 |
> Thanks. |
37 |
> |
38 |
You're getting that _specific_ error because there is no register |
39 |
'RSP' (the 64-bit stack pointer in the AMD64 world) in the 32-bit x86 |
40 |
world. (You have a 32-bit stack pointer 'esp' instead.) |
41 |
-- |
42 |
gentoo-user@g.o mailing list |