From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 21:55:32 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 9EFDE707; Sun, 4 Nov 2012 21:55:32 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 484858FC12; Sun, 4 Nov 2012 21:55:32 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD4596B.dip.t-dialin.net [93.212.89.107]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 4143E844096; Sun, 4 Nov 2012 22:55:29 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id B2D16218E; Sun, 4 Nov 2012 22:55:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1352066126; bh=GJh/k4Bbq3KfdIBkt9mYJ8ZCOzXtaU9ZCGdCeoNFBIo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=jZS9/e6Fr9a1yuihitC+pGSEzR734nWREIEinvwN2OiiJTqOk/gRZDn+KZbbnocJF e9xGCOXbpPz3RnQoomd4i3DqJ/lON9XMMol3GzvyzLERayaC1ROSiVJqAB9OiGo/uX kR5Ys9+JF/tvmDp9NV5ZO/ke6zcGHg49iUff78zsN4pSp1zAaHci2njcySQLwKngtk QJSe7YcmCf7w83z8YtNO0Yn9Q3KiV/Jtag914Nx4NW2SM10pl089JlDPKofb3xNfNr Igh8jpJn2TR+fC0ocMnf03tLlXSBruGj/S1+BFhiOtLdnP8ICeYUVIAqj2Vxq0Kn7D OrJw61ljcHM7w== Date: Sun, 4 Nov 2012 22:55:29 +0100 From: Alexander Leidinger To: Dimitry Andric Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? Message-ID: <20121104225529.000028a9@unknown> In-Reply-To: <5095ACC7.1050002@FreeBSD.org> References: <20121103232433.00005eee@unknown> <5095ACC7.1050002@FreeBSD.org> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 4143E844096.ADB97 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.627, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.73, DKIM_SIGNED 0.10, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352670929.40752@Jg34r9xaffkAthVY0yLomg X-EBL-Spam-Status: No 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 21:55:32 -0000 On Sun, 04 Nov 2012 00:46:15 +0100 Dimitry Andric wrote: > On 2012-11-03 23:24, Alexander Leidinger wrote: > > 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. > > Hm, at first I thought you might be running out of RAM, but apparently > that is not the case then. :) The machine has 12 MB RAM (no swap configured), after nearly a day uptime it looks like this: ---snip--- Mem: 348M Active, 599M Inact, 9281M Wired, 264K Cache, 1548M Free ARC: 7117M Total, 1607M MRU, 3996M MFU, 934K Anon, 208M Header, 1307M Other ---snip--- I would not expect an internal compiler error when I run out of RAM. > > The CPU is an Intel(R) Xeon(R) CPU (L5630) with ECC ram. > > What does gcc detect for this CPU with -march=native? You can do: > > gcc -march=native -v -c -x c /dev/null 2>&1 | grep -- -march > > to see what it passes to the second stage. ---snip--- # gcc -march=native -v -c -x c /dev/null 2>&1 | grep -- -march /usr/libexec/cc1 -quiet -v -D_LONGLONG /dev/null -march=core2 -mtune=generic -quiet -dumpbase null -auxbase null -version -o /tmp//cc7kc0JI.s ---snip--- Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137