From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 29 01:51:46 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3337016A4CE for ; Tue, 29 Mar 2005 01:51:46 +0000 (GMT) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E6643D54 for ; Tue, 29 Mar 2005 01:51:45 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from [192.168.1.100] (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) j2T1pfY4006555; Mon, 28 Mar 2005 20:51:42 -0500 (EST) Message-ID: <4248B723.80907@ec.rr.com> Date: Mon, 28 Mar 2005 21:02:11 -0500 From: jason henson User-Agent: Mozilla Thunderbird 1.0 (X11/20050321) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <423C15C5.6040902@fsn.hu> <20050327133059.3d68a78c@Magellan.Leidinger.net> <20050327134044.GM78512@silverwraith.com> <20050327162839.2fafa6aa@Magellan.Leidinger.net> In-Reply-To: <20050327162839.2fafa6aa@Magellan.Leidinger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: hackers@freebsd.org Subject: Re: 5-STABLE kernel build with icc broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 01:51:46 -0000 Alexander Leidinger wrote: >On Sun, 27 Mar 2005 05:40:44 -0800 >Avleen Vig wrote: > > > >>On Sun, Mar 27, 2005 at 01:30:59PM +0200, Alexander Leidinger wrote: >> >> >>>>It seems to me that building kernel with icc is currently broken, at >>>>least in 5-STABLE. Could somebody investigate this? >>>> >>>> >>>I don't have a problem to compile it with a recent -current and a recent >>>icc (-stable not tested), but the resulting kernel imediatly panics >>>(page fault in _mtx_...()). >>> >>> >>Without intending to start any compiler holy wars, what benefits does >>ICC provide over GCC for the end user? >> >> > >Various: > - auto-vectorizer (no benefit for the kernel, since we can't use > FPU/SIMD instructions at any time... yet (interested hackers can > have a look how DragonFly handles it, I can provide the necessary > commit logs)) > > Are you implying DragonFly uses FPU/SIMD? For that matter does any kernel? Thanks, jason > - optimizations for Intel CPUs direct from the manufacturer of the CPU > (they have a lot of interest to produce very fast code) > - a different set of compiler warnings > - better code quality (if is compilable by more than one compiler it > may be more portable) > >Icc already pointed out some bad code (asm code in the IP checksumming >code... DragonFly changed it already), and the panic as noticed above >may also be an indication that we have some code in the tree which >smells bad. > >Bye, >Alexander. > > >