From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 13 19:45:33 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 233C510656F1 for ; Sat, 13 Dec 2008 19:45:33 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.250]) by mx1.freebsd.org (Postfix) with ESMTP id E97E88FC17 for ; Sat, 13 Dec 2008 19:45:32 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0708.google.com with SMTP id k29so2504968rvb.0 for ; Sat, 13 Dec 2008 11:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ihndBGy8LH6/tuKsqRDa5qhrTjZiVtfSaOTL8wRsBZQ=; b=XjGXUugTdGAMpntX/bTBLbUSz45stjhdIzZdbhRYyIbVl6NUtxwHhHRLW1Nl8sNb4F Irl6KDo8yvgKqcrRQDijv40CvW9ziOpBJjLSf5m7hYgUIFg1+OJe2LcT9SAdx2rj8MDn ONPLz0P60LFfXEMB2bPRA90n3Aj7yDsRMB+8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EHKM8GqYuRcEj/ZWqzxcHA1TJ8iuF4A4Q/Fmj9rpvF7jdmu0o/J+3IBudP1sgFFkX0 f1HrKXRaAj0BgW7jzZo0zYORa3rWlGmm5XiNwJAF5xkqW4q7Cjx++jkmo3+CPQPxsBux DXv31YqH4taibPHHX4A6s5iay0v0PmVFjlqeY= Received: by 10.141.152.8 with SMTP id e8mr2685372rvo.77.1229197532625; Sat, 13 Dec 2008 11:45:32 -0800 (PST) Received: by 10.140.158.13 with HTTP; Sat, 13 Dec 2008 11:45:32 -0800 (PST) Message-ID: <7d6fde3d0812131145i4560cdb3rbea4c8a072452145@mail.gmail.com> Date: Sat, 13 Dec 2008 11:45:32 -0800 From: "Garrett Cooper" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1229075882.1832.85.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1229075882.1832.85.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: Two issues. One minor, one major. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 19:45:33 -0000 On Fri, Dec 12, 2008 at 1:58 AM, Horst G=FCnther Burkhardt III wrote: > On Thu, 2008-12-11 at 11:32 +0100, Andreas Tobler wrote: >> -mcpu=3D7400 does imply -mppc -maltivec. See the rs6000.h in the >> gcc/config/rs6000 directory. >> I'd suggest to build w/o special cpu flags. > > Thanks. > > OK. Idea: > > -Put patch in devel/gcc and patch in the base system that either > > makes altivec do nothing (NOT a good idea) > makes mcpu not imply maltivec ( a better idea, as it can just be undone > when the kernel gets altivec instruction support ) > > > good idea y/y? > > (also, so it seems the fix is just explicitly supply -mno-altivec in the > commandline) > > --Horst I think that putting some logic in the ports and src makefiles to automatically add -mno-altivec would be wise. -Garrett