Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 08:59:53 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Kimmo Paasiala <kpaasial@icloud.com>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Kernel build when going from WITHOUT_CTF world to WITH_CTF world.
Message-ID:  <32F7628E-D8BF-4534-B74E-38C589125D8F@FreeBSD.org>
In-Reply-To: <08780E49-8FFA-4A8A-A9DD-B60C8CC735D7@icloud.com>
References:  <08780E49-8FFA-4A8A-A9DD-B60C8CC735D7@icloud.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_B9ACBD02-73B0-4E7D-BA45-D66FE49A8AE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On 20 Jan 2014, at 07:23, Kimmo Paasiala <kpaasial@icloud.com> wrote:
>=20
> I=92d like to try to fix an annoyance in the kernel build. If you have =
a world built with WITHOUT_CTF (in my case I had WITHOUT_CDDL that =
includes WITHOUT_CTF) that does not have a ctfmerge binary (and other =
related ones) installed the next buildkernel will fail if you have built =
the world before the kernel build with WITH_CTF set. Of course you can =
manually go and install the ctfmerge and related binaries before =
launching the buildkernel process but that is just too hacky for me.  =
Where should I look and what would be needed to change in the kernel =
build so that it would check for the ctfmerge binaries from the =
buildworld that was done before the buildkernel?

This is unfortunately a long-standing problem.  To fix it, the CTF tools
and libraries should be conditionally added to the kernel-tools stage.

As of r260401 (by scottl), this stage is rather empty: aicasm was really
the only tool built specifically for the kernel.  So you would have to
look at Makefile.inc1 before that revision to have an idea of how to add
the CTF tools.

-Dimitry


--Apple-Mail=_B9ACBD02-73B0-4E7D-BA45-D66FE49A8AE1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlLc13kACgkQsF6jCi4glqPABwCdGbCuTRT1LiXYIa/C4TElt1yZ
RU8AoLP6Mti0caLI5Gc263luwD2z1GMh
=fGmz
-----END PGP SIGNATURE-----

--Apple-Mail=_B9ACBD02-73B0-4E7D-BA45-D66FE49A8AE1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32F7628E-D8BF-4534-B74E-38C589125D8F>