From owner-freebsd-threads@FreeBSD.ORG Tue Mar 28 21:12:33 2006 Return-Path: X-Original-To: threads@freebsd.org Delivered-To: freebsd-threads@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A1EB16A400; Tue, 28 Mar 2006 21:12:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B86DC444A8; Tue, 28 Mar 2006 21:12:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A13241A4DC4; Tue, 28 Mar 2006 13:12:32 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 00495516BF; Tue, 28 Mar 2006 16:12:31 -0500 (EST) Date: Tue, 28 Mar 2006 16:12:31 -0500 From: Kris Kennaway To: Daniel Eischen Message-ID: <20060328211231.GB1968@xor.obsecurity.org> References: <20060328200624.GA10800@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: amd64@freebsd.org, threads@freebsd.org, Kris Kennaway Subject: Re: libpthread compile failure X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 21:12:33 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 28, 2006 at 04:09:10PM -0500, Daniel Eischen wrote: > On Tue, 28 Mar 2006, Kris Kennaway wrote: >=20 > > On 7.0 during buildworld: > > > > /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting typ= es for '_pthread_barrier_init' > > /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous de= claration of '_pthread_barrier_init' was here > > /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting typ= es for '_pthread_barrier_init' > > /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous de= claration of '_pthread_barrier_init' was here > > *** Error code 1 > > > > Those two declarations are: > > > > > int > > > _pthread_barrier_init(pthread_barrier_t *barrier, > > > const pthread_barrierattr_t *attr, int count) > > > > > int pthread_barrier_init(pthread_barrier_t *, > > > const pthread_barrierattr_t *, unsigned); > > > > What is odd is that I can't see how this suddenly broke. >=20 > I just applied a fix to this. I'm not sure if this will be the > only bug you find though (I haven't had a chance to test it > with the recent namespace.h changes). Thanks, I'll let you know. Kris --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEKaa/Wry0BWjoQKURAqY1AJ4w8l+uK0eoxpNFpTpYcdGS4ZIqUQCfdS15 8mG90c/0RYSEjKTioThPWto= =J3oG -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--