From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 28 21:09:11 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75E0616A422; Tue, 28 Mar 2006 21:09:11 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14B75444A4; Tue, 28 Mar 2006 21:09:10 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k2SL9AQ1011959; Tue, 28 Mar 2006 16:09:10 -0500 (EST) Date: Tue, 28 Mar 2006 16:09:10 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <20060328200624.GA10800@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: amd64@freebsd.org, threads@freebsd.org Subject: Re: libpthread compile failure X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 21:09:11 -0000 On Tue, 28 Mar 2006, Kris Kennaway wrote: > On 7.0 during buildworld: > > /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting types for '_pthread_barrier_init' > /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous declaration of '_pthread_barrier_init' was here > /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting types for '_pthread_barrier_init' > /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous declaration 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. 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). -- DE