From owner-freebsd-java Sun Jul 28 9:13:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9203B37B400; Sun, 28 Jul 2002 09:13:33 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCC343E5E; Sun, 28 Jul 2002 09:13:29 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17Yqfg-0002en-00; Sun, 28 Jul 2002 10:13:28 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17Yqfe-0002eW-00; Sun, 28 Jul 2002 10:13:27 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g6SGDLi79056; Mon, 29 Jul 2002 01:43:21 +0930 (CST) (envelope-from glewis) Date: Mon, 29 Jul 2002 01:43:21 +0930 From: Greg Lewis To: Bill Huey Cc: Huang wen hui , freebsd-java@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: a gcc3.1 bug ? Message-ID: <20020729014321.A79021@misty.eyesbeyond.com> References: <3D4391CF.1020504@mail.gddsn.org.cn> <20020728101101.GA4466@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020728101101.GA4466@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Sun, Jul 28, 2002 at 03:11:01AM -0700 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jul 28, 2002 at 03:11:01AM -0700, Bill Huey wrote: > On Sun, Jul 28, 2002 at 02:40:15PM +0800, Huang wen hui wrote: > > /usr/ports/java/jdk13/work/hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp:41: > > /usr/src/lib/libc_r/uthread/pthread_private.h:947: parse error before > > `__null' > > /usr/src/lib/libc_r/uthread/pthread_private.h:957: parse error before > > `__null' > > /usr/src/lib/libc_r/uthread/pthread_private.h:965: parse error before > > `__null' > ... > > > > but if I change " pthread_attr pthread_attr_default " to other name, the > > compiler will pass. > > > > Does gcc31 have bug ? > > "Revisited" > > Do it like this: > > #undef pthread_attr_default > #undef pthread_mutexattr_default > #undef pthread_condattr_default > > #include > > before the header files is included. > > I'm a bit surprised that my changes to those source files (HotSpot) weren't > included in the latest release. Building it otherwise is just going to > be pure hell. The patchset matches what is in the repository. Are you sure you've committed these changes? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message