From owner-freebsd-current@freebsd.org Sun Mar 6 14:54:14 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 EE254AC0B51 for ; Sun, 6 Mar 2016 14:54:14 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB49A66A for ; Sun, 6 Mar 2016 14:54:14 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=PDyiJ1an5Nz4cQR6/ANMWSE1i+IQzH7Tn3dDu54Sb88=; b=EXgAXKJqJn+btRkX6mQi4s/V+7 3Q3AABQ7J+7f6NU765jXgtYxJ9HNQ9oq2a4YnSO47OtwCw4W7Uw/BBJ2ojyNlNDWo/2TzX5nA50qX W4ELpBtsngFbGB9xaVDU8srTlMBl/08k+6F5Xks3VE13VXXLb8o5+FPcAz5lkaEPDeHE=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:14514 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1aca4U-000AiG-1b; Sun, 06 Mar 2016 08:54:14 -0600 Received: from 2605:6000:ec17:200:a93e:2e53:9aeb:5dd2 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sun, 06 Mar 2016 08:54:13 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 06 Mar 2016 08:54:13 -0600 From: Larry Rosenman To: Nikolai Lifanov Cc: Freebsd current Subject: Re: HEADS UP: clang/llvm/lldb/compiler-rt 3.8.0 imported In-Reply-To: References: <06A7CAA8-1F51-4A86-97D1-F0DA938C2BC4@FreeBSD.org> <0CAC6D2A-D16B-4BD5-90F0-3A1E2F1FC375@FreeBSD.org> <613F619A-DE9E-4030-BF11-CE30465B9538@FreeBSD.org> <232E493E-9B22-4D1E-A1C8-619B573C56E1@FreeBSD.org> <20160306142032.GA4063@trivet.lerctr.org> <7c0070cf1cf21e8a66b0e5c4567aa0c7@mail.lifanov.com> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.4 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 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:54:15 -0000 On 2016-03-06 08:49, Larry Rosenman wrote: > On 2016-03-06 08:40, Nikolai Lifanov wrote: >> On 2016-03-06 09:28, Larry Rosenman wrote: >>> On 2016-03-06 08:20, Larry Rosenman wrote: >>>> On Sun, Mar 06, 2016 at 03:15:10PM +0100, Dimitry Andric wrote: >>>>> 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 >>>>> >>>> >>>> loader,conf: >>>> >>>> kern.msgbuf_clear="1" >>>> kern.geom.label.disk_ident.enable="0" >>>> kern.geom.label.gptid.enable="0" >>>> zfs_load="YES" >>>> ichsmb_load="YES" >>>> hwpmc_load="YES" >>>> aesni_load="YES" >>>> cryptodev_load="YES" >>>> dtraceall_load="YES" >>>> cpuctl_load="YES" >>>> cuse_load="YES" >>>> coretemp_load="YES" >>>> #hw.usb.quirk.0="0x0bda 0x0129 0x3960 0x3960 >>>> UQ_MSC_FORCE_WIRE_BBB,UQ_MSC_FORCE_PROTO_SCSI" >>>> #hw.usb.umass.debug="-1" >>>> >>>> I'll see if I can get a better pic with a backtrace. This crash is >>>> WAY early, so no dump :( >>>> >>>> >>>> >>>> acpi_dsdt_load="YES" # DSDT Overriding >>>> acpi_dsdt_name="/boot/dsdt.aml" >>>> #hw.psm.synaptics_support="1" >>> >>> new pic: http://www.lerctr.org/~ler/FreeBSD/20160306_082426.jpg >> >> I loaded everything in this list other than acpi_dsdt override. >> >> - Nikolai Lifanov > > still breaks for me without the dsdt override :( +list -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961