From owner-freebsd-current@FreeBSD.ORG Wed Oct 29 18:16:28 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC6CBE0C; Wed, 29 Oct 2014 18:16:28 +0000 (UTC) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A9FFFF8; Wed, 29 Oct 2014 18:16:28 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id bj1so3668261pad.17 for ; Wed, 29 Oct 2014 11:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=3D084qgIlzMojANO/Yw7gSN0Uf3096r9TquOz1DBuk8=; b=w1uWO6FmMKD+sHjGPl0IJtpS6BO+/0d0SPR4TAbu/uofyfOeCU1ja7UisOJkJldW6b OEkBA0jjco7dwkJ7zk4jskxH+Ojo5J/22X/yvRv4t3Q1cMODk5mr7KMJllno/BlhEvL+ cdfTx+eNlLpxPVY+jz+v0D/4yVAy8xA2dBtW3KLsRNdDkH7gY9Ing8FSPX7dF4z4aFtx WGEy+uBwNsuEigRP0iT9VvMdK77VdfUVXORBJy/VUa7looYl8o71hAPR45E54KrsjXIf qzU7iWAPrLgttpgkln/ST17rqph7ytHsz4S12mlixNxBEjAcVl3kHheHuza25ObaIJxb Twbw== X-Received: by 10.70.38.165 with SMTP id h5mr11779954pdk.121.1414606587992; Wed, 29 Oct 2014 11:16:27 -0700 (PDT) Received: from [10.222.96.105] (mobile-166-171-121-185.mycingular.net. [166.171.121.185]) by mx.google.com with ESMTPSA id y2sm4962981pdp.31.2014.10.29.11.16.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 11:16:27 -0700 (PDT) References: <20141028235011.543be3ea@onyx.thanelange.no> <1414537299.17308.28.camel@revolution.hippie.lan> <20141029003515.28e26444@onyx.thanelange.no> <20141029012432.41e22c7a@onyx.thanelange.no> <20141029143850.5af41378@onyx.thanelange.no> <1414593742.17308.72.camel@revolution.hippie.lan> <20141029174454.GB80471@ip-172-31-25-62.ec2.internal> Mime-Version: 1.0 (1.0) In-Reply-To: <20141029174454.GB80471@ip-172-31-25-62.ec2.internal> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <37A8B971-10B2-4A2D-B6A1-2E6E957C097A@gmail.com> X-Mailer: iPhone Mail (12B411) From: Garrett Cooper Subject: Re: buildkernel: make[2]: exec(ctfconvert) failed (No such file or directory) Date: Wed, 29 Oct 2014 11:16:23 -0700 To: Mark Johnston Cc: Gyrd Thane Lange , FreeBSD Current , Warner Losh , Ian Lepore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 29 Oct 2014 18:16:28 -0000 > On Oct 29, 2014, at 10:44, Mark Johnston wrote: >=20 >> On Wed, Oct 29, 2014 at 09:18:58AM -0700, Garrett Cooper wrote: >>=20 >>> On Oct 29, 2014, at 07:42, Ian Lepore wrote: >>=20 >> ... >>=20 >>> Why are you the only person in the world who has had to do this? >>=20 >> They're not the only one. $work is running into an issue where there's a m= ismatch between the host and build version which is generating corrupt ctf s= ections. >>=20 >> I thought it had been fixed on CURRENT recently, but the converse might b= e true--it might have been broken because it's no longer being built as part= of the bootstrap tools process. >=20 > Are you referring to r266567? I'm looking at whether we could > unconditionally add ctf* to the bootstrap tools. That would address the > OP's problem I think, as well as the corruption issue. >=20 >>=20 >> My gut says that this section is prematurely optimizing it out of the bui= ld, because it's assumed that the host tool will always be binary compatible= with the build tool: >> https://svnweb.freebsd.org/base/head/Makefile.inc1?annotate=3D273755#l127= 0 Yes. ctfconvert always needs to be built with the build tree version instead= of relying on the host version because using the host version will break if= /when the ctf format between the build and host machine changes. Some care m= ight need to be taken with the library dependencies for ctfconvert, but libe= lf is a relatively simple library from what I remember... Thank you!=