From owner-freebsd-stable@FreeBSD.ORG Thu Mar 27 22:32:18 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C3D0534; Thu, 27 Mar 2014 22:32:18 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3652BF59; Thu, 27 Mar 2014 22:32:18 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::4597:60bd:daa3:e698] (unknown [IPv6:2001:7b8:3a7:0:4597:60bd:daa3:e698]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C499E5C43; Thu, 27 Mar 2014 23:32:15 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_58351506-7559-4C63-9F7F-7BF6F40FE9EC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: HEADS UP: merged llvm/clang 3.4 From: Dimitry Andric In-Reply-To: <20140327002240.GC49672@raichu> Date: Thu, 27 Mar 2014 23:32:11 +0100 Message-Id: References: <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> <20140327002240.GC49672@raichu> To: Mark Johnston X-Mailer: Apple Mail (2.1874) Cc: freebsd-stable stable , Kai Wang X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 22:32:18 -0000 --Apple-Mail=_58351506-7559-4C63-9F7F-7BF6F40FE9EC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Mar 2014, at 01:22, Mark Johnston wrote: > On Fri, Mar 21, 2014 at 07:17:22PM +0100, Dimitry Andric wrote: >> Hi, >>=20 >> 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). >>=20 >> 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). >>=20 >> -Dimitry >>=20 >=20 > Hello, >=20 > DTrace seems to no longer work properly on stable/10; I get errors = like > the following >=20 > 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 >=20 > and I know of a couple other users running into the same problem. >=20 > 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 --Apple-Mail=_58351506-7559-4C63-9F7F-7BF6F40FE9EC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlM0pu8ACgkQsF6jCi4glqPJFwCgggJZfMVoTi8lxo6ykaSFbIFv kBMAn0gSh05gq/A1AloM0OnedfOYSZ5q =W9RR -----END PGP SIGNATURE----- --Apple-Mail=_58351506-7559-4C63-9F7F-7BF6F40FE9EC--