Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2014 00:27:01 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        Viktor =?utf-8?Q?=C5=A0tujber?= <viktor.stujber@gmail.com>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
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>
In-Reply-To: <54863EE8.8050603@gmail.com>
References:  <5485C63E.3090002@gmail.com> <CAFMmRNzcbgxN_0qyMy9QSWF-tBrOZ_J%2B-uyWVtPrqYbTSJ=xxQ@mail.gmail.com> <54863EE8.8050603@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141209002701.GA41582>