From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29781 invoked by alias); 19 May 2004 16:24:02 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 29728 invoked from network); 19 May 2004 16:24:01 -0000 Received: from unknown (HELO ftpbox.mot.com) (129.188.136.101) by sourceware.org with SMTP; 19 May 2004 16:24:01 -0000 Received: from az33exr04.mot.com (pobox4.mot.com [10.64.251.243]) by ftpbox.mot.com (Motorola/Ftpbox) with ESMTP id i4JGNQVE017943; Wed, 19 May 2004 09:23:26 -0700 (MST) Received: from [10.82.17.247] ([10.82.17.247]) by az33exr04.mot.com (Motorola/az33exr04) with ESMTP id i4JGNDNK003757; Wed, 19 May 2004 11:23:14 -0500 In-Reply-To: <20040519051040.GD12690@bubble.modra.org> References: <3A3FC75F7C72D711A7DC009027AC9C4B1788D9@jupiter> <20040519033008.GC12690@bubble.modra.org> <200405190427.i4J4RYiU027950@desire.geoffk.org> <20040519051040.GD12690@bubble.modra.org> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: , , , , Geoff Keating From: Kumar Gala Subject: Re: Powerpc Linux build fails Date: Wed, 19 May 2004 16:24:00 -0000 To: Alan Modra X-SW-Source: 2004-05/txt/msg00370.txt.bz2 Is .machine support in binutils-2.15? - kumar On May 19, 2004, at 12:10 AM, Alan Modra wrote: > On Tue, May 18, 2004 at 09:27:34PM -0700, Geoff Keating wrote: >> I am not sure about this new -mstrict. I am sure someone is expecting >> -mpower3 to really mean 'power3 only' and will get a nasty surprise >> when they use a power4 instruction by mistake and their program >> crashes. > > Probably true. However, the feedback I'm getting at the moment is that > it's a nasty surprise that the Linux kernel doesn't compile.. The same > goes for current powerpc64 glibc with VMX extensions. > >> It is perfectly acceptable to say "GAS version X will only work with >> GCC version > Y". People using old GCC can always use old binutils >> with it. (They can also hack their specs file to pass -many, if >> that's what they really want.) >> >> The fully-correct way to do this is to have GCC generate a directive >> after option parsing, like '.machine 7400' or so, and have GAS >> interpret it, otherwise you end up in specs hell. (Doesn't ppc gas >> already have a directive like that? I seem to remember seeing such a >> patch fly by...) > > Yes, .machine was implemented 2003-11-22. > > -- > Alan Modra > IBM OzLabs - Linux Technology Centre