Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 01:43:21 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Bill Huey <billh@gnuppy.monkey.org>
Cc:        Huang wen hui <hwh@ns.gddsn.org.cn>, freebsd-java@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: a gcc3.1 bug ?
Message-ID:  <20020729014321.A79021@misty.eyesbeyond.com>
In-Reply-To: <20020728101101.GA4466@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Sun, Jul 28, 2002 at 03:11:01AM -0700
References:  <3D4391CF.1020504@mail.gddsn.org.cn> <20020728101101.GA4466@gnuppy.monkey.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <uthread/pthread_private.h>
> 
> 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




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