From owner-freebsd-current@FreeBSD.ORG Fri Dec 15 05:08:01 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 1C2CC16A40F; Fri, 15 Dec 2006 05:07:59 +0000 (UTC) (envelope-from davidxu@freebsd.org) Message-ID: <45822DB2.4020902@freebsd.org> Date: Fri, 15 Dec 2006 13:08:02 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20061204 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <20061213192150.CF83D16A417@hub.freebsd.org> <200612131711.50921.mi+mx@aldan.algebra.com> <4580DFAB.3080601@FreeBSD.org> <200612140917.25523@aldan> <20061214183026.GA1532@turion.vk2pj.dyndns.org> <4581A3E3.9060807@samsco.org> <20061215015713.GA33730@dragon.NUXI.org> <45820F35.50802@samsco.org> <20061215043949.GA9381@troutmask.apl.washington.edu> In-Reply-To: <20061215043949.GA9381@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Juha Saarinen , freebsd-current@freebsd.org Subject: Re: Let's use gcc-4.2, not 4.1 -- OpenMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 15 Dec 2006 05:08:01 -0000 Steve Kargl wrote: > On Fri, Dec 15, 2006 at 04:15:23PM +1300, Juha Saarinen wrote: > >>So... silly question perhaps, but does -CURRENT (world + kernel) build >>with gcc 4.2 and -fopenmp? What about -STABLE and -RELEASE? >> > > > -fopenmp will be a completely useless option for world > unless someone starts to sprinkle OpenMP compiler directives > throughout /usr/src. I seriously doubt anyone will ever > sprinkle OpenMP directives in kernel sources (ie., do > you want to link your kernel with libthr or libpthread?). > I think kernel has to implement its own libgomp if -fopenmp will be used for kernel, though I don't have any idea that openmp will be used in kernel. but for application, openmp is worth be to tried. Regards, David Xu