From owner-freebsd-stable@FreeBSD.ORG Sun Dec 6 17:05:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8940B106568B for ; Sun, 6 Dec 2009 17:05:17 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id DA3C68FC1B for ; Sun, 6 Dec 2009 17:05:16 +0000 (UTC) Received: (qmail 76945 invoked by uid 89); 6 Dec 2009 17:05:15 -0000 Message-ID: <20091206170515.76944.qmail@avocado.salatschuessel.net> References: <20091206164742.a0b2be18.lehmann@ans-netz.de> <20091206165257.564ae23d.lehmann@ans-netz.de> <20091206161048.GA85914@icarus.home.lan> In-Reply-To: <20091206161048.GA85914@icarus.home.lan> From: "Oliver Lehmann" To: Jeremy Chadwick Date: Sun, 06 Dec 2009 18:05:12 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8-STABLE broken on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 17:05:17 -0000 Hi, Jeremy Chadwick writes: > On Sun, Dec 06, 2009 at 04:52:57PM +0100, Oliver Lehmann wrote: >> Compiling without any optimization (removing -O2) makes the error >> go away by the way.... >> >> Then the asm part gets to: >> >> #APP >> movl %edx,-8(%rbp) > > Does this happen if you remove ccache from the picture, and/or remove > /usr/obj/* prior to building? As said in my intial posting, using base cc causes the same error. Except when I remove -O2 - then both, ccache and base-cc works. And since the error is in the generated asm code I'm not sure how anything in /usr/obj would affect this.... It seems to be just gcc's optimizer which creates invalid ASM code here... for whatever reason.