Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 13:08:02 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Juha Saarinen <juhasaarinen@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Let's use gcc-4.2, not 4.1 -- OpenMP
Message-ID:  <45822DB2.4020902@freebsd.org>
In-Reply-To: <20061215043949.GA9381@troutmask.apl.washington.edu>
References:  <20061213192150.CF83D16A417@hub.freebsd.org>	<200612131711.50921.mi%2Bmx@aldan.algebra.com>	<4580DFAB.3080601@FreeBSD.org> <200612140917.25523@aldan>	<elrr0d$8g1$1@sea.gmane.org>	<20061214183026.GA1532@turion.vk2pj.dyndns.org>	<4581A3E3.9060807@samsco.org>	<20061215015713.GA33730@dragon.NUXI.org>	<45820F35.50802@samsco.org>	<b34be8420612141915k50612a15ma6f7efe3816839e3@mail.gmail.com> <20061215043949.GA9381@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45822DB2.4020902>