From owner-freebsd-stable@FreeBSD.ORG Wed Oct 9 10:25:20 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5DC16FEB for ; Wed, 9 Oct 2013 10:25:20 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC4E2B38 for ; Wed, 9 Oct 2013 10:25:19 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VTqx5-0008BV-Di for freebsd-stable@freebsd.org; Wed, 09 Oct 2013 12:25:11 +0200 Received: from jtotz2.cs.ucl.ac.uk ([128.16.6.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Oct 2013 12:25:11 +0200 Received: from johannes by jtotz2.cs.ucl.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Oct 2013 12:25:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Johannes Totz Subject: Re: Trouble building/upgrading 9-stable Date: Wed, 09 Oct 2013 11:25:02 +0100 Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: jtotz2.cs.ucl.ac.uk User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 10:25:20 -0000 On 09/10/2013 10:44, Dimitry Andric wrote: > On Oct 9, 2013, at 01:39, Johannes Totz wrote: >> I'm having trouble upgrading a system running 9-stable to a new >> revision. buildworld always dies with an "internal compiler error" >> during lib/clang/libllvminstcombine. > ... >> /usr/src/lib/clang/libllvminstcombine/../../../contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:1649: >> internal compiler error: in memory_address_length, at >> config/i386/i386.c:13897 > > Since the tinderboxes for stable/9 are green, it is most likely your > machine has a hardware problem. You should at least run two or three > full passes of memtest on your machine: this type of error typically > occurs when data in RAM gets corrupted. The box has ECC RAM, and runs pure zfs. I don't know what to look out for regarding ECC errors though. There's nothing in the console log that looks suspicious. Also, trying to compile this many times will always trigger the same error, that'd make RAM fault unlikely I would have thought (think random crashes, the box is rock solid otherwise). > If you can't find any hardware problems, you could try to switch off > building clang, using WITHOUT_CLANG in your src.conf. Thanks, will try that!