Date: Tue, 18 Dec 2012 17:39:45 -0500 From: Ryan Stone <rysto32@gmail.com> To: Dimitry Andric <dim@freebsd.org> Cc: George Mitchell <george+freebsd@m5p.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Failed to initialize dwarf? Message-ID: <CAFMmRNwF-1LTp7RkgB5-HrAEcWBzvf1D80sAsftU2RF_oQkocA@mail.gmail.com> In-Reply-To: <50D0E672.8020006@FreeBSD.org> References: <50D053E5.3050003@m5p.com> <50D05E7E.4040105@FreeBSD.org> <CAFMmRNwBw46VNBOjHc=koMz1bmBkZ602PC5M85U0Vo%2B-kcsGFQ@mail.gmail.com> <50D0E672.8020006@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 18, 2012 at 4:56 PM, Dimitry Andric <dim@freebsd.org> wrote:
> The question is if ctfconvert (and dependencies) are rebuilt when you do
> kernel-toolchain. Can you figure out if it runs ctfconvert from base?
>
Aha! You're right:
[rstone@rstone-laptop vll]make buildenv
Entering world for amd64:amd64
$ which ctfconvert
/usr/bin/ctfconvert
$ which cc
/home/rstone/obj/usr/home/rstone/git/vll/tmp/usr/bin/cc
I think that this (in Makefile.incl1) might be the culprit?
# dtrace tools are required for older bootstrap env and cross-build
.if ${MK_CDDL} != "no" && \
((${BOOTSTRAPPING} < 800038 && \
!(${BOOTSTRAPPING} >= 700112 && ${BOOTSTRAPPING} < 799999)) \
|| (${MACHINE} != ${TARGET} || ${MACHINE_ARCH} != ${TARGET_ARCH}))
_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge
.endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNwF-1LTp7RkgB5-HrAEcWBzvf1D80sAsftU2RF_oQkocA>
