Failed to initialize dwarf?
Ryan Stone
rysto32 at gmail.com
Tue Dec 18 22:39:53 UTC 2012
On Tue, Dec 18, 2012 at 4:56 PM, Dimitry Andric <dim at 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 at 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
More information about the freebsd-current
mailing list