From owner-cvs-src@FreeBSD.ORG Wed Oct 18 02:56:51 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 908C716A407; Wed, 18 Oct 2006 02:56:49 +0000 (UTC) (envelope-from davidxu@freebsd.org) Message-ID: <453597F9.5060403@freebsd.org> Date: Wed, 18 Oct 2006 10:56:57 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20060725 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <200610180209.k9I29kMa062324@repoman.freebsd.org> <4535915D.8010002@freebsd.org> In-Reply-To: <4535915D.8010002@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, obrien@freebsd.org Subject: Re: cvs commit: src/sys/powerpc/powerpc copyinout.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 02:56:52 -0000 Peter Grehan wrote: >> Attempt to fix compiling problem. > > > Not quite there, you need to add: > > < (void) atomic_cmpset_32(p, old, new); > --- > > (void) atomic_cmpset_32((volatile uint32_t *)p, old, new); > > I'm waiting for PR amd64/102996 to be fixed before putting powerpc into > the universe target since 64-bit build hosts don't currently work :( > That should help resolve some of these type of issues. > > David O'Brien, did you have any objection to the proposed solution in > amd64/102996 ?? > > later, > > Peter. > > Yes, it will be very helpful if we can cross-compile powerpc binary on AMD64.