[PATCH] staging/lustre: fix build errors

Stephen Rothwell sfr at canb.auug.org.au
Wed Jun 5 00:42:50 UTC 2013


Hi,

On Tue, 4 Jun 2013 08:45:41 +0000 "Peng, Tao" <tao.peng at emc.com> wrote:
>
> From 369398c782c914e5f0548d5bbad22c00c6b58b6a Mon Sep 17 00:00:00 2001
> From: Peng Tao <bergwolf at gmail.com>
> Date: Tue, 4 Jun 2013 15:48:17 +0800
> Subject: [PATCH] staging/lustre: fix build errors
> 
> There are several issues:
> 1. set_cpus_allowed() is not available with CONFIG_CPUMASK_OFFSTACK on
> 2. CONFIG_MODULES may not be defined
> 3. CONFIG_MODULE_UNLOAD may not be defined
> 
> Signed-off-by: Peng Tao <tao.peng at emc.com>
> ---
> Stephen, please see if this fixes your build failure. I have tested it locally but only on X86 architecture, with CONFIG_CPUMASK_OFFSTACK on and CONFIG_MODULES/CONFIG_MODULE_UNLOAD off.

I have tried this with an x86_64 allmodconfig build and now I get just
this build problem:

drivers/built-in.o: In function `crc32_pclmul_le_16':
(.text+0x28b9310): multiple definition of `crc32_pclmul_le_16'
arch/x86/built-in.o:(.text+0xe70d0): first defined here

BTW all the build problems I reported yesterday were with the x86_64
allmodconfig build, my PowerPC build was fine (since it doesn't even try
to build the lustre code).

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20130605/9512d9a6/attachment.asc>


More information about the devel mailing list