Date: Wed, 29 Oct 2014 11:16:23 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Mark Johnston <markj@freebsd.org> Cc: Gyrd Thane Lange <gyrd-se@thanelange.no>, FreeBSD Current <freebsd-current@freebsd.org>, Warner Losh <imp@FreeBSD.org>, Ian Lepore <ian@FreeBSD.org> Subject: Re: buildkernel: make[2]: exec(ctfconvert) failed (No such file or directory) Message-ID: <37A8B971-10B2-4A2D-B6A1-2E6E957C097A@gmail.com> In-Reply-To: <20141029174454.GB80471@ip-172-31-25-62.ec2.internal> References: <20141028235011.543be3ea@onyx.thanelange.no> <1414537299.17308.28.camel@revolution.hippie.lan> <20141029003515.28e26444@onyx.thanelange.no> <CAGHfRMB5y_wwnvDkfr=p-A=a06rb1z74Am9rCk7jOy-_9X4Krg@mail.gmail.com> <20141029012432.41e22c7a@onyx.thanelange.no> <20141029143850.5af41378@onyx.thanelange.no> <1414593742.17308.72.camel@revolution.hippie.lan> <D0913506-6E96-41B8-A5D1-A020DCC95AC1@gmail.com> <20141029174454.GB80471@ip-172-31-25-62.ec2.internal>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 29, 2014, at 10:44, Mark Johnston <markj@freebsd.org> 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 <ian@FreeBSD.org> 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!=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A8B971-10B2-4A2D-B6A1-2E6E957C097A>