From owner-freebsd-current@freebsd.org Sun Mar 6 14:15:23 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7860A95998 for ; Sun, 6 Mar 2016 14:15:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE1A075A for ; Sun, 6 Mar 2016 14:15:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::c8cc:92f5:a9cb:d8ee] (unknown [IPv6:2001:7b8:3a7:0:c8cc:92f5:a9cb:d8ee]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E07C83EF05; Sun, 6 Mar 2016 15:15:14 +0100 (CET) Subject: Re: HEADS UP: clang/llvm/lldb/compiler-rt 3.8.0 imported Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5993FD40-B04D-41D4-BF0A-063C0E48799A"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: Date: Sun, 6 Mar 2016 15:15:10 +0100 Cc: FreeBSD CURRENT Message-Id: <232E493E-9B22-4D1E-A1C8-619B573C56E1@FreeBSD.org> References: <06A7CAA8-1F51-4A86-97D1-F0DA938C2BC4@FreeBSD.org> <0CAC6D2A-D16B-4BD5-90F0-3A1E2F1FC375@FreeBSD.org> <613F619A-DE9E-4030-BF11-CE30465B9538@FreeBSD.org> To: Larry Rosenman X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 14:15:24 -0000 --Apple-Mail=_5993FD40-B04D-41D4-BF0A-063C0E48799A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 06 Mar 2016, at 06:20, Larry Rosenman wrote: > > On 2016-03-05 18:46, Dimitry Andric wrote: >> On 06 Mar 2016, at 00:30, Dimitry Andric wrote: >>> On 05 Mar 2016, at 22:32, Dimitry Andric wrote: >>>> I imported the (tentative) 3.8.0 release of clang, llvm, lldb and >>>> compiler-rt into head, in r296417. The upstream release is going to be >>>> very soon now, but I do not expect any changes anymore. >>>> This was tested with make universe, and a few exp-runs, but there is >>>> always a chance that you might run into something unexpected, either >>>> with the base system or ports. In such cases, please file bugs, and >>>> make sure you note somewhere in the description that it is related to >>>> this import. >>> Please hold off upgrading for now, if you are on amd64, and loading the >>> aesni.ko module. It appears that loading this module can cause the >>> kernel ELF linker to panic, but it is not yet clear why. This is being >>> tracked in PR207729 [1]. >> It should be safe again after r296419. Thanks to Kostik Belousov for >> the quick fix. (Clang 3.8.0 generates a different type for unwind >> sections on amd64, and this was unexpected in the kernel linker.) >> -Dimitry >> [1] https://svnweb.freebsd.org/changeset/base/296419 > I'm getting a crash at startup (mi_startup) with a clang 3.8.0 kernel. > > Picture at: > http://www.lerctr.org/~ler/FreeBSD/20160305_225532.jpg It's pretty hard to make out, but it looks like it is panic'ing in link_elf_reloc_local(). That should have been fixed with r296419, but maybe there is yet another edge case that wasn't fixed. Do you have a crash dump and/or a backtrace? Which modules are you preloading? -Dimitry --Apple-Mail=_5993FD40-B04D-41D4-BF0A-063C0E48799A 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.29 iEYEARECAAYFAlbcO3IACgkQsF6jCi4glqNlNQCgpDlOyOJyb+zsoFM4SDLatulN EBgAnRVT9ew60Wne8Y5deDN8SSdDYmmE =SWSf -----END PGP SIGNATURE----- --Apple-Mail=_5993FD40-B04D-41D4-BF0A-063C0E48799A--