From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 8 14:58:55 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 1D12616A4CE; Tue, 8 Mar 2005 14:58:55 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7B2943D53; Tue, 8 Mar 2005 14:58:54 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j28Ews4l007021; Tue, 8 Mar 2005 06:58:54 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j28Ewsww007020; Tue, 8 Mar 2005 06:58:54 -0800 Date: Tue, 8 Mar 2005 06:58:54 -0800 From: Brooks Davis To: Ron Chen Message-ID: <20050308145854.GA31278@odin.ac.hmc.edu> References: <20050308031115.42240.qmail@web41314.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20050308031115.42240.qmail@web41314.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-hackers@freebsd.org cc: freebsd-cluster@freebsd.org Subject: Re: Failed to compile Gridengine 6.0u3 on FreeBSD 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, 08 Mar 2005 14:58:55 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 07, 2005 at 07:11:15PM -0800, Ron Chen wrote: > I just got access to a FreeBSD 5.3 box, and I find > that Gridengine (SGE) fails to compile. (SGE 5.3p6 was > OK on FreeBSD 4.x/5.x) >=20 > I find that it is caused by pthread_t is undefined. > For Linux, "sys/types.h" includes > "bits/pthreadtypes.h", and thus it's OK - and other > OSes are similar too. >=20 > So I am wondering if it is a bug in FreeBSD, or if > Gridengine really needs to include pthread.h to get > pthread_t. According to The Open Group Base Specifications Issue 6, this is indeed a bug. There should be no harm in also including pthread.h since that is also required to define pthread_t identicaly to sys/types.h. freebsd-threads is the appropriate place to raise this issue. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCLb2tXY6L6fI4GtQRAkrXAJ979WuUoHZ/HO2Sk68MDVL4OPkudACfVuAM ZspzgvVplT+jQS0EEdUfLdE= =5cJC -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--