Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Feb 2003 04:31:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Feb 2003 04:31:41 -0500 Received: from [81.80.245.157] ([81.80.245.157]:23263 "EHLO smtp-out.fr.alcove.com") by vger.kernel.org with ESMTP id ; Tue, 18 Feb 2003 04:31:36 -0500 Date: Tue, 18 Feb 2003 10:37:47 +0100 From: Stelian Pop To: Jeff Garzik , sam@ravnborg.org, kai@tp1.ruhr-uni-bochum.de, greg@kroah.com, linux-kernel@vger.kernel.org Cc: Marcelo Tosatti Subject: Re: [RFC] klibc for 2.5.59 bk Message-ID: <20030218093747.GB3980@cedar.alcove-fr> Reply-To: Stelian Pop Mail-Followup-To: Stelian Pop , Jeff Garzik , sam@ravnborg.org, kai@tp1.ruhr-uni-bochum.de, greg@kroah.com, linux-kernel@vger.kernel.org, Marcelo Tosatti References: <20030209125759.GA14981@kroah.com> <20030217180246.GA26112@mars.ravnborg.org> <1911.212.181.176.76.1045505249.squirrel@www.zytor.com> <3E512BCB.1010000@pobox.com> <1144.62.20.229.212.1045558700.squirrel@www.zytor.com> <3E51FA1C.7060807@pobox.com> <20030218093601.GA3980@cedar.alcove-fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030218093601.GA3980@cedar.alcove-fr> User-Agent: Mutt/1.3.25i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1801 Lines: 48 On Tue, Feb 18, 2003 at 10:36:01AM +0100, Stelian Pop wrote: > > H. Peter Anvin wrote: > > >However, I can personally vouch for that it's *not* fixed for the main > > >kernel build as of 2.5.61. > > > > > > Well, if I had a Transmeta-powered laptop or handheld, I'm sure that > > would be fixed too ;-) > > > > Can you give the attached patch a quick once-over? It's obvious enough > > but I would rather the patch got tested nonetheless. This is required for 2.4 too. Rediffed and tested, Marcelo please apply. Stelian. ===== arch/i386/Makefile 1.5 vs edited ===== --- 1.5/arch/i386/Makefile Sun Feb 2 08:50:07 2003 +++ edited/arch/i386/Makefile Tue Feb 18 10:03:19 2003 @@ -61,15 +61,16 @@ endif ifdef CONFIG_MK6 -CFLAGS += $(shell if $(CC) -march=k6 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=k6"; else echo "-march=i586"; fi) +CFLAGS += $(call check_gcc,-march=k6,-march=i586) endif ifdef CONFIG_MK7 -CFLAGS += $(shell if $(CC) -march=athlon -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=athlon"; else echo "-march=i686 -malign-functions=4"; fi) +CFLAGS += $(call check_gcc,-march=athlon,-march=i686 -malign-functions=4) endif ifdef CONFIG_MCRUSOE -CFLAGS += -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0 +CFLAGS += -march=i686 +CFLAGS += $(call check_gcc,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0) endif ifdef CONFIG_MWINCHIPC6 -- Stelian Pop Alcove - http://www.alcove.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/