From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ocs.com.au ([202.134.241.204]:17963 "EHLO mail.ocs.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752713AbYFEJnY (ORCPT ); Thu, 5 Jun 2008 05:43:24 -0400 From: Keith Owens Subject: Re: [RFC PATCH] drop support for KALLSYMS_EXTRA_PASS In-reply-to: Your message of "Tue, 03 Jun 2008 23:07:32 +0200." <20080603210732.GA6247@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Jun 2008 19:19:24 +1000 Message-ID: <17789.1212657564@ocs10w> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: linux-kbuild , LKML , Paulo Marques Sam Ravnborg (on Tue, 3 Jun 2008 23:07:32 +0200) wrote: >We have not seen any reports on inconsistent kallsysms data recently >as in the last one or two years. At least I do not recall these >and google had no hits in my searching. > >So I suggest removing this as to simplify the final linking. >When doing "make allyesconfig" build this extra linking >takes considerably time (and I usually forgoet to turn it off). > >In addition this patch removes the debug target: debug_kallsyms > >diff --git a/Makefile b/Makefile >-define verify_kallsyms >- $(Q)$(if $($(quiet)cmd_sysmap), \ >- echo ' $($(quiet)cmd_sysmap) .tmp_System.map' &&) \ >- $(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map >- $(Q)cmp -s System.map .tmp_System.map || \ >- (echo Inconsistent kallsyms data; \ >- echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; \ >- rm .tmp_kallsyms* ; /bin/false ) >-endef I am not happy about removing the check for inconsistent kallsyms data. Changes to the tool chain could cause this problem to recur and we would not pick up on it. If we do keep the check for inconsistent data then we still need some way for the user to continue while the problem is investigated. Since your real complaint seems to be the extra time taken in make allyesconfig then the solution is easy. Change CONFIG_KALLSYMS_EXTRA_PASS to a Makefile option, KALLSYMS_EXTRA_PASS=y. No extra time required in make allyesconfig.