From owner-freebsd-hackers@FreeBSD.ORG Tue May 19 11:45:52 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3195B10656E6; Tue, 19 May 2009 11:45:52 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 6557E8FC33; Tue, 19 May 2009 11:45:51 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ewy3 with SMTP id 3so4624115ewy.43 for ; Tue, 19 May 2009 04:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to; bh=9XATr+GI5yK1MFJzhqh9e52bpdMTkb4BVq0cWweoM5M=; b=A4shTtU3SxCMYhm+/FYNW5rgHefiSCUZbjoEVZIYJZQyP1z5WgSd54MTdEx7EbxKf5 Dfeg4k0+m8W3gY6O6xYS9MB7lP5qWS5Ghn2kCdigvL1baSA/c3J94fKVwWqrkssmMu/4 cULC+udP9LnM0QYE+aYmgm88aYA8Pp/Sz/htg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=IoYWQutTYVg2QbvPTy7F/55Nb7MVeHOFDpzs06MoGFnb/0LYdMNsvEO8EKY6sPdYZ4 ByYgqO6p2Yemb4lrsX+QGCM8hNUr/Hvr9AfpeelaiS+ZxH7mDCp3OCYKx97qyHt2Gdq+ cM5zFd4GvqnzLQ3YCseSsP2Ox2VUkmZMTQPAU= Received: by 10.210.71.12 with SMTP id t12mr4980902eba.8.1242733550519; Tue, 19 May 2009 04:45:50 -0700 (PDT) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id 2sm6777705ewy.62.2009.05.19.04.45.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 May 2009 04:45:49 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 36F8C5D59; Tue, 19 May 2009 11:45:48 +0000 (UTC) Date: Tue, 19 May 2009 12:45:48 +0100 From: xorquewasp@googlemail.com To: Daniel Eischen Message-ID: <20090519114548.GA8610@logik.internal.network> References: <20090505005128.GA4519@logik.internal.network> <20090505022151.GA32477@logik.internal.network> <20090506140325.GA69468@logik.internal.network> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-hackers@freebsd.org Subject: Re: bootstrapping gnat GCC on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 11:45:53 -0000 On 2009-05-18 18:36:15, Daniel Eischen wrote: > Well, I used a newer binutils on sparc when I did the original > port. Once I built the cross compiler and binutils toolset, > I was done with it. After the native compiler is built using > the cross tools, you should be able to rebuild the native > compiler _again_ but this time with the system (amd64) > binutils. I probably should point out that I don't think this is the case anymore. GCC apparently detects what capabilities the currently selected binutils have so when the first native compiler has been compiled using the cross, it will emit code that can't be assembled using the system binutils (because it uses features from the new binutils that aren't supported by the older system ones). In other words, you can't rebuild the native compiler using the system binutils. If the worst comes to the worst, I can create a dependency on the devel/cross-binutils port. xw