From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 8 Nov 2012 15:28:31 +0000 Subject: BUG: ARM build failures due to Xen In-Reply-To: <20121106175749.GO28327@n2100.arm.linux.org.uk> References: <20121106175749.GO28327@n2100.arm.linux.org.uk> Message-ID: <201211081528.31968.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday 06 November 2012, Russell King - ARM Linux wrote: > My build system is giving me the following errors against an OMAP4 > randconfig build against the latest Linus' kernel plus arm-soc: > > ERROR: "privcmd_call" [drivers/xen/xen-privcmd.ko] undefined! > make[2]: *** [__modpost] Error 1 > make[2]: Target `_modpost' not remade because of errors. > make[1]: *** [modules] Error 2 > make: *** [sub-make] Error 2 > make: Target `uImage' not remade because of errors. > make: Target `modules' not remade because of errors. > > Full build results and configuration are here: > > http://www.arm.linux.org.uk/developer/build/result.php?type=build&idx=2627 > http://www.arm.linux.org.uk/developer/build/file.php?type=config&idx=2627 > I can reproduce the same thing with mainline v3.7-rc4. 8<------ xen/arm: export privcmd_call privcmd_call may get called from a module, so it has to be exported. Signed-off-by: Arnd Bergmann diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 59bcb96..ff5e300 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -17,6 +17,9 @@ #include #include +/* from hypercall.S */ +EXPORT_SYMBOL_GPL(privcmd_call); + struct start_info _xen_start_info; struct start_info *xen_start_info = &_xen_start_info; EXPORT_SYMBOL_GPL(xen_start_info); From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: BUG: ARM build failures due to Xen Date: Thu, 8 Nov 2012 15:28:31 +0000 Message-ID: <201211081528.31968.arnd@arndb.de> References: <20121106175749.GO28327@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121106175749.GO28327@n2100.arm.linux.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Russell King - ARM Linux Cc: xen-devel@lists.xensource.com, arm@kernel.org, linux-arm-kernel@lists.infradead.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tuesday 06 November 2012, Russell King - ARM Linux wrote: > My build system is giving me the following errors against an OMAP4 > randconfig build against the latest Linus' kernel plus arm-soc: > > ERROR: "privcmd_call" [drivers/xen/xen-privcmd.ko] undefined! > make[2]: *** [__modpost] Error 1 > make[2]: Target `_modpost' not remade because of errors. > make[1]: *** [modules] Error 2 > make: *** [sub-make] Error 2 > make: Target `uImage' not remade because of errors. > make: Target `modules' not remade because of errors. > > Full build results and configuration are here: > > http://www.arm.linux.org.uk/developer/build/result.php?type=build&idx=2627 > http://www.arm.linux.org.uk/developer/build/file.php?type=config&idx=2627 > I can reproduce the same thing with mainline v3.7-rc4. 8<------ xen/arm: export privcmd_call privcmd_call may get called from a module, so it has to be exported. Signed-off-by: Arnd Bergmann diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 59bcb96..ff5e300 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -17,6 +17,9 @@ #include #include +/* from hypercall.S */ +EXPORT_SYMBOL_GPL(privcmd_call); + struct start_info _xen_start_info; struct start_info *xen_start_info = &_xen_start_info; EXPORT_SYMBOL_GPL(xen_start_info);