From owner-freebsd-sparc64@FreeBSD.ORG Fri Feb 3 12:09:10 2006 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6226816A420; Fri, 3 Feb 2006 12:09:10 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B79AD43D46; Fri, 3 Feb 2006 12:09:09 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id k13C968W043483; Fri, 3 Feb 2006 13:09:06 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id k13C91gR043482; Fri, 3 Feb 2006 13:09:01 +0100 (CET) (envelope-from marius) Date: Fri, 3 Feb 2006 13:09:01 +0100 From: Marius Strobl To: Harti Brandt Message-ID: <20060203130901.A42788@newtrinity.zeist.de> References: <20060201165326.6E44E7302F@freebsd-current.sentex.ca> <20060201180223.O52964@beagle.kn.op.dlr.de> <43E0F41C.5020907@samsco.org> <86fyn242w0.fsf@xps.des.no> <20060203090804.Q59587@beagle.kn.op.dlr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20060203090804.Q59587@beagle.kn.op.dlr.de>; from hartmut.brandt@dlr.de on Fri, Feb 03, 2006 at 09:09:43AM +0100 X-AntiVirus-modified: yes X-AntiVirus: checked by AntiVir Milter (version: 1.1.2-1; AVE: 6.33.0.31; VDF: 6.33.0.195; host: newtrinity.zeist.de) Cc: stable@freebsd.org, src-committers@freebsd.org, sparc64@freebsd.org Subject: Re: [releng_6 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 12:09:10 -0000 On Fri, Feb 03, 2006 at 09:09:43AM +0100, Harti Brandt wrote: > On Thu, 2 Feb 2006, Dag-Erling Sm?rgrav wrote: > > DS>Scott Long writes: > DS>> I've been trying to reproduce this on my local hardware, but I can't > DS>> trigger it. > DS> > DS>The ISP driver abuses the inline keyword. As I told mjacob earlier, > DS>the extensive inlining not only breaks the build, but probably hurts > DS>performance as well. > DS> > DS>(what gcc is complaining about, specifically, is that expanding calls > DS>to inlined functions causes isp_target_notify() to grow by more than > DS>100%) > > The interesting point is: why does it build on my real sparc (2-UII CPUs, > 512MByte memory), but not on the tinderbox. Is there something about the > crosscompiler that is different? > GCC apparently does different intermediate optimizations when built as a cross compiler than the native one; in the past we've e.g. seen a GCC bug in the machine code generation that was only triggered when GCC was built as cross compiler and fed with differently optimized intermediate code due to that. Interestingly the resulting object files generated by the cross compiler and the native one for the source file where this triggered where the same once the bug in the machine code generation was fixed. Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.