Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 23:32:11 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        freebsd-stable stable <freebsd-stable@freebsd.org>, Kai Wang <kaiw@FreeBSD.org>
Subject:   Re: HEADS UP: merged llvm/clang 3.4
Message-ID:  <C0345D09-CC49-49F6-ACCA-B85C7882AAC3@FreeBSD.org>
In-Reply-To: <20140327002240.GC49672@raichu>
References:  <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> <20140327002240.GC49672@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 27 Mar 2014, at 01:22, Mark Johnston <markj@freebsd.org> wrote:
> On Fri, Mar 21, 2014 at 07:17:22PM +0100, Dimitry Andric wrote:
>> Hi,
>> 
>> I have just merged llvm and clang 3.4 release to stable/10 (r263508) and
>> stable/9 (r263509).  This already includes a number of post-3.4 fixes,
>> though there are a few that are still awaiting the MFC timeout (e.g. the
>> updated Sparc64 backend, and some things that were just fixed the day
>> before yesterday).
>> 
>> Since the most obvious problems have already been addressed in head, I
>> expect this to be a fairly smooth upgrade.  If you run into something
>> strange anyway, please reply to this message (CC'ing the list).
>> 
>> -Dimitry
>> 
> 
> Hello,
> 
> DTrace seems to no longer work properly on stable/10; I get errors like
> the following
> 
> dtrace: invalid probe specifier pid$target::malloc:entry{ }:
> "/usr/lib/dtrace/io.d", line 49: cannot find type: struct devstat*: Type
> information is in parent and unavailable
> 
> and I know of a couple other users running into the same problem.
> 
> I recall that some changes to libdwarf, libelf and the CTF tools were needed
> in order to work with clang 3.4; do you know if there's any plan to MFC them
> soon as well?

I have taken a look, but libdwarf and libelf were reorganized quite a
bit, and it would require library bumps, which are difficult (but
apparently not unheard of) for stable branches.  I am also not sure if
the actual workarounds can be successfully ported back to the versions
of libdwarf, libelf and CTF in stable/10 and stable/9.

In other words, it is going to take a while to fix it.  If you really
need DTrace, you can compile your kernel with gcc for now.

-Dimitry


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlM0pu8ACgkQsF6jCi4glqPJFwCgggJZfMVoTi8lxo6ykaSFbIFv
kBMAn0gSh05gq/A1AloM0OnedfOYSZ5q
=W9RR
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0345D09-CC49-49F6-ACCA-B85C7882AAC3>