From owner-freebsd-dtrace@FreeBSD.ORG Tue Dec 9 00:19:16 2014 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 39A4C52F for ; Tue, 9 Dec 2014 00:19:16 +0000 (UTC) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF98B83D for ; Tue, 9 Dec 2014 00:19:15 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id s7so4052231qap.8 for ; Mon, 08 Dec 2014 16:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=FvQuLKQZpSpICI7OxFztYULrWOapEPurAOUO6JXFwvs=; b=eG83b5A4z4rB/EbD49BazXY3I6ABSf3xULLHMSrPgpgJomC1wsLIfKewrMVHI+AxVz NYsvbjrvwUuxDDXhSEpNpGrrtKqlmdFXVDIHJPHeO8NujSLOFqHZgrvbjVoEyLWHV189 MJfZ34e9ADFPbn7+vsSEd0Bypj0SjMDNcnsqGas48pWyUc1dTkm5X6IOA1mDAyzP2NzD 9i4AsWrroZwr2OGLWgO7yIC3OJ34cpDkVdqBjd2NO/Po40J1KTYVRnucuz7Xl9eEdy3U PfM1hUOhyemzejt3kVnvpECeT6yeicCjAnh2J429jSz/nj+ZsIxpBFouHOd/rJT9sC1i mWIA== X-Received: by 10.140.88.100 with SMTP id s91mr152144qgd.65.1418084355014; Mon, 08 Dec 2014 16:19:15 -0800 (PST) Received: from ip-172-31-25-62.ec2.internal (ec2-54-85-57-1.compute-1.amazonaws.com. [54.85.57.1]) by mx.google.com with ESMTPSA id 90sm12001309qgk.42.2014.12.08.16.19.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 16:19:14 -0800 (PST) Sender: Mark Johnston Date: Tue, 9 Dec 2014 00:27:01 +0000 From: Mark Johnston To: Viktor =?utf-8?Q?=C5=A0tujber?= Subject: Re: missing system struct definitions during compilation files in /usr/lib/dtrace/ in local releng/10.1 build Message-ID: <20141209002701.GA41582@ip-172-31-25-62.ec2.internal> References: <5485C63E.3090002@gmail.com> <54863EE8.8050603@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54863EE8.8050603@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-dtrace@freebsd.org" X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 00:19:16 -0000 On Tue, Dec 09, 2014 at 01:14:32AM +0100, Viktor Ć tujber wrote: > I built the kernel using 'make buildkernel' using a kernconf derived > from GENERIC, only difference is some 'device' entries added and > removed. I did keep a backup of the old kernel, so I ran ctfdump -S on > both of them: > > old: total number of struct members = 38700 > new: total number of struct members = 528 > > So there's definitely something to this. If all else fails, I'll remove > make.conf / src.conf and build GENERIC to see if I can get a baseline > setup that works. Can you try recompiling the 10.1 kernel? There were some changes in the transition from clang 3.3 to 3.4 which broke the ctf tools. If the 10.1 kernel was built with the 10.0 ctf* tools, it'll have malformed CTF data; rebuilding the kernel a second time should fix it, since you'd be using the 10.1 tools.