Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757102AbcLAJDy (ORCPT ); Thu, 1 Dec 2016 04:03:54 -0500 Received: from lb1-smtp-cloud6.xs4all.net ([194.109.24.24]:48309 "EHLO lb1-smtp-cloud6.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbcLAJDu (ORCPT ); Thu, 1 Dec 2016 04:03:50 -0500 Message-ID: <1480582887.27962.48.camel@tiscali.nl> Subject: Re: Odd build breakage in 4.9-rc7 From: Paul Bolle To: Jarod Wilson , Nicolas Pitre Cc: Tony Luck , Linus Torvalds , Prarit Bhargava , linux-kernel@vger.kernel.org In-Reply-To: <4330d00e-ed4f-35fe-586e-f3d5dd6db875@redhat.com> References: <20161130172435.GG8563@redhat.com> <1480539150.27962.11.camel@tiscali.nl> <942ca543-de49-abda-7e3b-a8a31c0c2c88@redhat.com> <222b47f2-55e0-3410-c87d-183ca5e2a0fe@redhat.com> <1480542127.27962.17.camel@tiscali.nl> <1480543047.27962.23.camel@tiscali.nl> <4330d00e-ed4f-35fe-586e-f3d5dd6db875@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 01 Dec 2016 10:01:27 +0100 Mime-Version: 1.0 X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 21 [Added Nicolas, for whom this all might be painfully obvious.] On Wed, 2016-11-30 at 18:40 -0500, Jarod Wilson wrote: > My config had MODVERSIONS set, yes. For the record triggering this flood of ERRORs for undefined symbols that you ran into has been possible ever since TRIM_UNUSED_KSYMS was added to the tree (in v4.7). I just tested that. Perhaps this is all documented somewhere. But even then it would be nice if the build would fail right at the start. Ie, the build probably should fail if one does "make bzImage" while having a .config with     CONFIG_TRIM_UNUSED_KSYMS=y     CONFIG_MODULES=y     # CONFIG_MODVERSIONS is not set Because it seems in that case the subsequent "make modules" will then end in this flood of ERRORs.  Paul Bolle