From owner-freebsd-current@FreeBSD.ORG Tue Dec 18 22:39:53 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 808C8EF0; Tue, 18 Dec 2012 22:39:53 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx1.freebsd.org (Postfix) with ESMTP id 141F08FC16; Tue, 18 Dec 2012 22:39:52 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id fw7so1617783vcb.3 for ; Tue, 18 Dec 2012 14:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9G/qKWQPiiCoZoL/aAYkzZCVynnMsDScIEUU0QjGfp4=; b=mVBqoNCJWqGY7UJW9xFKCulHh8SleS6BvGJBl8dlO6Tk+byRS8M5FAcCvlhoD1xj/0 3jmdYl1o8QVIZ8Po8l4Dyzz6AY4E8ZQY8bdDh5O+dkqbJBdXXwG1XJ0SvY5iU8Kxsoty yz1Foc1GGXMygxU/wX2HH3Z0dnIGcKnjSWnTm9sxjs+arcpwdKmvgbcsv8vsmEFqX7wu 6ZXWMVL4xjPLgVWOC51a8x+K7B/enrs4DHTmVczsbe/CxQ1/EdXjZVGRppVl7mPufW9h Mp90NCNdBJpmxedjjKE9zxDt8JmBfqut9T4mk0ZKS+Bl1kVvFAnSupd6+vWoeyaS7vkJ OJ8Q== MIME-Version: 1.0 Received: by 10.220.240.141 with SMTP id la13mr5646183vcb.39.1355870386131; Tue, 18 Dec 2012 14:39:46 -0800 (PST) Received: by 10.58.207.114 with HTTP; Tue, 18 Dec 2012 14:39:45 -0800 (PST) In-Reply-To: <50D0E672.8020006@FreeBSD.org> References: <50D053E5.3050003@m5p.com> <50D05E7E.4040105@FreeBSD.org> <50D0E672.8020006@FreeBSD.org> Date: Tue, 18 Dec 2012 17:39:45 -0500 Message-ID: Subject: Re: Failed to initialize dwarf? From: Ryan Stone To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: George Mitchell , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 22:39:53 -0000 On Tue, Dec 18, 2012 at 4:56 PM, Dimitry Andric 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