On Sep 22, 2007, at 5:13 PM, David Relson wrote:

Now that my old AthlonXP mobo has been replaced by an AMD 64 X2 mobo,
it's time for upgrading CHOST :->

According to http://www.gentoo.org/doc/en/change-chost.xml after a
couple of changes to /etc/make.conf, i.e.

  from:
       USE="x86 ..."
       CHOST="i686-pc-linux-gnu"
       CFLAGS="-O2 -march=athlon-xp -pipe"

  to:
      USE="amd64 ..."
      CHOST="amd64-pc-linux-gnu"
      CFLAGS="-O2 -march=x86-64 -pipe"

The next step is:

    emerge -av1 binutils gcc glibc

The emerge of binutils works fine.  However the emerge of gcc fails
with:

  In file included from .../gcc/unwind-dw2.c:257:
  gcc/config/i386/linux-unwind.h: In function
     'x86_64_fallback_frame_state':
  gcc/config/i386/linux-unwind.h:63:
    error: 'struct sigcontext' has no member named 'rsp'

A quick search of BGO didn't show anything relevant.

Any suggestions???

Thanks.

You're getting that _specific_ error because there is no register 'RSP' (the 64-bit stack pointer in the AMD64 world) in the 32-bit x86 world. (You have a 32-bit stack pointer 'esp' instead.)
--
[EMAIL PROTECTED] mailing list

Reply via email to