From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 09:43:21 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86580530 for ; Sun, 4 Nov 2012 09:43:21 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 08BF58FC12 for ; Sun, 4 Nov 2012 09:43:20 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id c10so2362061eaa.13 for ; Sun, 04 Nov 2012 01:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TecccP5x4jGkK4VydkAsstm/6mbxWZFcJSO5h8U0Vk0=; b=Ij9Vqy05w6sV79GQ6KHGRQWk3i9YWqKnh46wW6tyF4yI2DdDbyAwtF2DAqr2lNXoFz uR71JPxQKJ5ZfGCg71R0Od8g6fBF5lFd7+BgC9UQky6K3CRftPExdXF9tVf2tCVghVEr oG0+hIdXg9cdpKmyTkYtlawu6tqGDOFLB4XmL+sILenrKpvg56i3vO8GKSt7NoDFMc9p FqMyhFFMiIx3vs3xVcat9LQ2558er2/SRto/AUDtJ1g67pI0sP1JyEqdod0VKPgF7PRG b27g9tbub4cAjuYwdxJ6IOyuyY/Rq6/9aTodEnGAcNBeZzAxMQAqVRkhelBbSNXVnDz0 2c9A== MIME-Version: 1.0 Received: by 10.14.182.9 with SMTP id n9mr25052665eem.24.1352022193991; Sun, 04 Nov 2012 01:43:13 -0800 (PST) Received: by 10.14.188.136 with HTTP; Sun, 4 Nov 2012 01:43:13 -0800 (PST) In-Reply-To: <20121103232433.00005eee@unknown> References: <20121103232433.00005eee@unknown> Date: Sun, 4 Nov 2012 03:43:13 -0600 Message-ID: Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? From: Scot Hetzel To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Nov 2012 09:43:21 -0000 On Sat, Nov 3, 2012 at 5:24 PM, Alexander Leidinger wrote: > Hi, > > while trying to update from r239708 to r242511 (amd64 arch) I tried to > compile the world with "make -j8". After a short while I got an > internal error in the clang compile (this is a gcc-compiled system, I > don't use clang). The CFLAGS/COPTFLAGS are -O2 -pipe. > > Without the -j8 it compiles just fine. > Without the CPUTYPE?=native it compiles even with -j8. > > The CPU is an Intel(R) Xeon(R) CPU (L5630) with ECC ram. > > The r239708 world runs stable since I installed it (build with > CPUTYPE=native). The r242511 world (no CPUTYPE set) doesn't run stable > (not only the watchdogd segfault I reported in another mail some minutes > ago, but also some other kind of reboot every X minutes I haven't > investigated yet). > > Does someone run -current on a similar system on a similar revision and > can comment about the stability? > Not sure if your hitting the same bug, that was found in PR 112997. When you set CPUTYPE?=native, bsd.cpu.mk doesn't set MACHINE_CPU to the correct values for your CPUTYPE. See http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/112997 for a patch to bsd.cpu.mk. Does your system compile correctly, if you specify the CPUTYPE? Scot