From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IZdkb-0002mI-Om for garchives@archives.gentoo.org; Mon, 24 Sep 2007 02:32:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l8O2MIOI013906; Mon, 24 Sep 2007 02:22:18 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l8O2G4Nw006147 for ; Mon, 24 Sep 2007 02:16:04 GMT Received: by nf-out-0910.google.com with SMTP id f5so1103930nfh for ; Sun, 23 Sep 2007 19:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=aZPFKkU4VLVROR4slVBhRk8MOG6QnpUVyXkQQX0aQdM=; b=PFPGwA6XhVDG8BxaJ9/SdoUXPYTqNAZ+Jzo6igCQ9sLe7WewO00/woxUE5tc0PypMLEREaL34gPvA/JolqgqSNF4CBomvls5XJvDvZ11EFuRAXZTjBtsWhFpFFurq1m1QtEu4sLqgDcA+m9ZQRD/aWCf4n3UhAGVKG5m9Q4gvhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DxO9kFADBo2HhE902NENKopL11TVEdGDo8Ecu+0k1E7lZt79dAILlOqwkICzc4NmZ7YIE+Qod+JJ9DtHtCO0dSDT10x989ZueKdtlEiIeZ8foktIS3HBzca6ckgnqeMwzc5oVSH5ya8wA6lAype8m/Cz8fS8B/N9q9XQWOM4EW8= Received: by 10.78.177.3 with SMTP id z3mr3262786hue.1190600163712; Sun, 23 Sep 2007 19:16:03 -0700 (PDT) Received: by 10.78.132.17 with HTTP; Sun, 23 Sep 2007 19:16:03 -0700 (PDT) Message-ID: <642958cc0709231916v4588201cuc264f745ff202aee@mail.gmail.com> Date: Sun, 23 Sep 2007 22:16:03 -0400 From: "Mark Shields" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Changing CHOST In-Reply-To: <20070922201346.63f96ad4@osage.osagesoftware.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43384_12442888.1190600163701" References: <20070922201346.63f96ad4@osage.osagesoftware.com> X-Archives-Salt: 1e6d0798-8e4e-42fb-b522-cbc08be888f3 X-Archives-Hash: 969b5e1870f51ec9e9817b1c5a9584e6 ------=_Part_43384_12442888.1190600163701 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/22/07, 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. > > David > -- > gentoo-user@gentoo.org mailing list > > Besides what everyone else has already suggested, I would suggest backing up everything beforehand, or you can continue using your 32-bit environment with your shiny new 64-bit processor, but you will not be able to use any 64-bit binaries. -- - Mark Shields ------=_Part_43384_12442888.1190600163701 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/22/07, David Relson <relson@osagesoftware.com> 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.

David
--
gentoo-user@gentoo.org mailing list


Besides what everyone else has already suggested, I would suggest backing up everything beforehand, or you can continue using your 32-bit environment with your shiny new 64-bit processor, but you will not be able to use any 64-bit binaries.

--
- Mark Shields
------=_Part_43384_12442888.1190600163701-- -- gentoo-user@gentoo.org mailing list