From owner-freebsd-current Sun Jul 28 2:45:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BDCF37B400; Sun, 28 Jul 2002 02:45:46 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D61DF43E31; Sun, 28 Jul 2002 02:45:45 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17YkcD-0000vi-00; Sun, 28 Jul 2002 02:45:29 -0700 Date: Sun, 28 Jul 2002 02:45:29 -0700 To: Huang wen hui Cc: freebsd-java@freebsd.org, freebsd-current@freebsd.org Subject: Re: a gcc3.1 bug ? Message-ID: <20020728094529.GA3569@gnuppy.monkey.org> References: <3D4391CF.1020504@mail.gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D4391CF.1020504@mail.gddsn.org.cn> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-current@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 02:40:15PM +0800, Huang wen hui wrote: > /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' > gmake[2]: *** [os_linux_i486.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_core/jvmg' > gmake[1]: *** [the_vm] Error 2 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_core/jvmg' > gmake: *** [jvmgcore] Error 2 > > > but if I change " pthread_attr pthread_attr_default " to other name, the > compiler will pass. > > Does gcc31 have bug ? Nope, #undef that symbol. And try again. I can't remember exactly what the line is but repeat for all three places. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message