Re: Failed to initialize dwarf?

From: Ryan Stone <rysto32_at_gmail.com>
Date: Tue, 18 Dec 2012 17:39:45 -0500
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
Received on Tue Dec 18 2012 - 21:39:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC