From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755625AbYIHVW3 (ORCPT ); Mon, 8 Sep 2008 17:22:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754051AbYIHVWV (ORCPT ); Mon, 8 Sep 2008 17:22:21 -0400 Received: from terminus.zytor.com ([198.137.202.10]:33361 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbYIHVWU (ORCPT ); Mon, 8 Sep 2008 17:22:20 -0400 Message-ID: <48C5977C.7020109@kernel.org> Date: Mon, 08 Sep 2008 14:22:04 -0700 From: "H. Peter Anvin" Organization: Linux Kernel Organization, Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Sam Ravnborg , linux-kbuild CC: linux@sandersweb.net, linux-kernel@vger.kernel.org, x86 maintainers Subject: Re: [git pull] x86 fixes References: <200809081932.m88JWVZG013061@askone.hos.anvin.org> <200809081634.24257.linux@sandersweb.net> <48C59711.8050502@zytor.com> In-Reply-To: <48C59711.8050502@zytor.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org H. Peter Anvin wrote: > David Sanders wrote: >> On Monday 08 September 2008 15:32, H. Peter Anvin wrote: >>> diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu >>> index e372b58..b72b4f7 100644 >>> --- a/arch/x86/Makefile_32.cpu >>> +++ b/arch/x86/Makefile_32.cpu >>> @@ -45,3 +45,8 @@ cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx >>> # cpu entries >>> cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic,$(call >>> tune,i686)) >> Peter, I'm getting this error: >> as: unrecognized option `-mtune=generic32' >> I have binutils 2.17. >> David > > Oh bloody hell... > > cc-option = $(call try-run,\ > $(CC) $(KBUILD_CFLAGS) $(1) -S -xc /dev/null -o "$$TMP",$(1),$(2)) > > Note the -S. Useless for anything related to the assembler. > > /me wimpers... Sam: Is there a reason cc-option and friends use -S instead of -c? -hpa