lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <537BF9D0.1080101@gmail.com>
Date:	Wed, 21 May 2014 08:56:48 +0800
From:	Chen Gang <gang.chen.5i5j@...il.com>
To:	Guan Xuetao <gxt@...c.pku.edu.cn>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arch/unicore32/kernel/ksyms.c: remote 2 export symbols
 to avoid compiling failure


Oh, sorry, the subject has a typo issue, need use 'remove' instead of
'remote'. I will send patch v2 for it.

On 05/21/2014 08:54 AM, Chen Gang wrote:
> 'csum_partial' and 'csum_partial_copy_from_user' have already been
> exported in "lib/", so need not export them again, or it will cause
> compiling error.
> 
> The related error (with allmodconfig under unicore32):
> 
>     LD      vmlinux.o
>   lib/built-in.o:(___ksymtab+csum_partial+0x0): multiple definition of `__ksymtab_csum_partial'
>   arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial+0x0): first defined here
>   lib/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): multiple definition of `__ksymtab_csum_partial_copy_from_user'
>   arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): first defined here
>   make: *** [vmlinux] Error 1
> 
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
> ---
>  arch/unicore32/kernel/ksyms.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c
> index 63afc7f..bc06140 100644
> --- a/arch/unicore32/kernel/ksyms.c
> +++ b/arch/unicore32/kernel/ksyms.c
> @@ -30,10 +30,6 @@ EXPORT_SYMBOL(find_next_bit);
>  EXPORT_SYMBOL(__udelay);
>  EXPORT_SYMBOL(__const_udelay);
>  
> -	/* networking */
> -EXPORT_SYMBOL(csum_partial);
> -EXPORT_SYMBOL(csum_partial_copy_from_user);
> -
>  	/* string / mem functions */
>  EXPORT_SYMBOL(strchr);
>  EXPORT_SYMBOL(strrchr);
> 

-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ