HEADS UP: merged llvm/clang 3.4

Dimitry Andric dim at FreeBSD.org
Thu Mar 27 22:32:18 UTC 2014


On 27 Mar 2014, at 01:22, Mark Johnston <markj at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140327/21ff4ec4/attachment.sig>


More information about the freebsd-stable mailing list