From owner-freebsd-ppc@FreeBSD.ORG Mon May 18 18:09:23 2015 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03783C4D; Mon, 18 May 2015 18:09:23 +0000 (UTC) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C82221D3A; Mon, 18 May 2015 18:09:22 +0000 (UTC) Received: by pabts4 with SMTP id ts4so161609245pab.3; Mon, 18 May 2015 11:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Uks6tmQl0htzMQ0FTN0kbulAU68/s+nZo9gQkuOTgwI=; b=QKiC/vKnUsteBZVotiE92+bVD4V3EGUhu9t/4ID6RmJKHLliXIBOxklzXJi9imMH0X X+OjQ841NoLranmHB0jDeyUEd5v65jo9dPUJcinSrbKC81+F8RNDi+pHx/i6ojQUyL56 4AyAT91bLnZF4LqfTSaes2SPGZlpAnamT8rhY+MhXL5vQUKHRKWen4A1WVRCV0wPnbcr XLo44llfJjbTc6Li03D4gX8vz10RTLVV70+dUyqGiyVTBmH1A7xPDARCxMuDMKkvb2wO 4sv8Fx+jhXCSaNUIGnZxW6FKMvjGXbnx5vrf+hSoBVeqIqrnLBqh1EVB5qPt+a+ewtXN 9KzA== X-Received: by 10.68.189.102 with SMTP id gh6mr46288825pbc.103.1431972562141; Mon, 18 May 2015 11:09:22 -0700 (PDT) Received: from [192.168.1.69] (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3]) by mx.google.com with ESMTPSA id ck4sm10681860pbc.67.2015.05.18.11.09.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 11:09:21 -0700 (PDT) Message-ID: <555A2AB1.3070907@gmail.com> Date: Mon, 18 May 2015 11:08:49 -0700 From: Justin Hibbits User-Agent: Mozilla/5.0 (X11; FreeBSD powerpc; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org CC: dumbbell@freebsd.org Subject: Re: Is this a sign that nobody has tested 10.1-stable on a 32-bit ppc? References: <5559E371.9080602@gmail.com> In-Reply-To: <5559E371.9080602@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 18:09:23 -0000 Hi, On 05/18/15 06:04, Jukka Ukkonen wrote: > Find attached a trailing snippet of build time messages > while running buildkernel on a 32 bit ppc (PowerMac G4 > Quicksilver). > During the last 2 months or so there have been some changes > to sys/dev/drm2/radeon/radeon_fence.c in 10.1-stable which > now break buildkernel. Previously I had rebuilt the whole > operating system on this ppc platform on Apr 23 and then > the build worked just fine. > > Now the whole oddity starts with an announcement... > "cc1: warnings being treated as errors" > and then begin warning messages about implicit declarations > of this and that atomic 64 bit functions and more warnings > about nested extern declarations of those same functions. > I guess that some of the code seen by the compiler was > never intended to be used on a 32 bit ppc system, but those > changes were never actually tested on a 32 bit ppc either. > > Has anyone else noticed this? > > --jau Personally, I don't run stable, I run current, as I do active development. That error message is indicative of drm2/radeon being built for powerpc (32-bit), when currently it should only be built for i386 and amd64. Reviewing the commit history, the likely change that you're seeing was r282199, on April 28. I also perused the Makefile, and the drm2 module is only getting built for i386 and amd64, so check if you have any local modifications that would cause it to be built. (I CC'd the DRM maintainer, in case something else is screwy). - Justin