From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 18:10:11 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 720A316A409 for ; Fri, 22 Feb 2008 18:10:11 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 7A78613C46E for ; Fri, 22 Feb 2008 18:10:10 +0000 (UTC) (envelope-from kaiwang27@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so626662fka.11 for ; Fri, 22 Feb 2008 10:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=0j0o1OpE5RYf9v/S8DdNpEcNbP6ABNrQY612zncOGU4=; b=IhlugeAle9Jbm3y0/E8beNAc5h57z9W/G//6/9cK3ZMnEJ9Q4QgZlBpeiwavSTcJfEEoZnoXDrUAylefm/mF218xnxBkow6OiFcH2I/FhTiQ8Svgd60DRd/gpJOHt1g3qEmF4tAe5uA99/8Xx9zBE7ZqGndcm6kV6uHgGTsef0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=UhPmOPrB0ni+pyG+27XPGkRmpyrmm3BvRYRVOJMpD3R3cXxgs7UM8w/FeLepH1NvQwF/VXsakRkkdvkbYWZBXtH67qWDYLKR0u7A/r2lKvD/DLbLpVeZMquOiqPMXegufcSvXe8P8lfQ5rEigxF6zJIjA8Fpf3tP9OdKEXoyNQ8= Received: by 10.82.114.3 with SMTP id m3mr546747buc.2.1203703807702; Fri, 22 Feb 2008 10:10:07 -0800 (PST) Received: from plan0.kaiwan.csbnet.se ( [193.11.244.12]) by mx.google.com with ESMTPS id z37sm2698698ikz.1.2008.02.22.10.10.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Feb 2008 10:10:06 -0800 (PST) Received: from localhost ([127.0.0.1] helo=plan0.kaiwan.csbnet.se) by plan0.kaiwan.csbnet.se with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JScLI-0000nd-Cw; Fri, 22 Feb 2008 19:09:52 +0100 Received: (from kaffir@localhost) by plan0.kaiwan.csbnet.se (8.14.2/8.14.2/Submit) id m1MI9qal003076; Fri, 22 Feb 2008 19:09:52 +0100 (CET) (envelope-from kaiwang27@gmail.com) X-Authentication-Warning: plan0.kaiwan.csbnet.se: kaffir set sender to kaiwang27@gmail.com using -f Date: Fri, 22 Feb 2008 19:09:52 +0100 From: Kai Wang To: Ruslan Ermilov Message-ID: <20080222180952.GB2622@plan0.kaiwan.csbnet.se> Mail-Followup-To: Ruslan Ermilov , obrien@freebsd.org, "Dag-Erling C. Smorgrav" , Joseph Koshy , current@freebsd.org References: <20080221131209.GA2022@plan0.kaiwan.csbnet.se> <20080221140247.GC2022@plan0.kaiwan.csbnet.se> <20080221143351.GP57756@deviant.kiev.zoral.com.ua> <20080221152549.GB21518@team.vega.ru> <20080221173150.GA93693@dragon.NUXI.org> <20080222070728.GA56282@team.vega.ru> <20080222091642.GB57428@team.vega.ru> <20080222093234.GB17107@dragon.NUXI.org> <20080222102409.GD57428@team.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080222102409.GD57428@team.vega.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Joseph Koshy , "Dag-Erling C. Smorgrav" , current@freebsd.org Subject: Re: [HEADS UP] ar(1) front-end committed. (notes for cross compile) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 18:10:11 -0000 On Fri, Feb 22, 2008 at 01:24:09PM +0300, Ruslan Ermilov wrote: > Currently, we always build binutils as part of cross-tools, including > GNU ar(1) and ranlib(1). These binaries are then used during the build. > The BSD ar(1) doesn't need to be a cross-tool -- it doesn't depend on > TARGET_ARCH/TARGET and is platform-neutral. (I hope I'm right about it, > otherwise it all doesn't make sense and cross-builds are broken.) That's true, platform-neutral ELF parsing is a feature of libelf. Kai