Re: [Patch] uml: fix a link error

Andrew Morton
2009-01-16T20:42:46Z

On Thu, 15 Jan 2009 19:40:33 +0000
Am__rico Wang <xiyou.wangcong@gmail.com> wrote:

>
> This patch fixes the following link error:
>
> LD .tmp_vmlinux1
> arch/um/sys-i386/built-in.o: In function sys_call_table':
> (.rodata+0x308): undefined reference to sys_sigprocmask'
> collect2: ld returned 1 exit status
> KSYM .tmp_kallsyms1.S
> nm: '.tmp_vmlinux1': No such file
> AS .tmp_kallsyms1.o
> LD .tmp_vmlinux2
> arch/um/sys-i386/built-in.o: In function sys_call_table':
> (.rodata+0x308): undefined reference to sys_sigprocmask'
> collect2: ld returned 1 exit status
> make[1]: *** [.tmp_vmlinux2] Error 1
> make: *** [sub-make] Error 2
>
>
> Signed-off-by: WANG Cong <wangcong@zeuux.org>
> Cc: Jeff Dike <jdike@addtoit.com>
>
> ---
> diff --git a/arch/um/sys-i386/sys_call_table.S b/arch/um/sys-i386/sys_call_table.S
> index 00e5f52..04147dc 100644
> --- a/arch/um/sys-i386/sys_call_table.S
> +++ b/arch/um/sys-i386/sys_call_table.S
> @@ -6,6 +6,7 @@
>
> #define sys_vm86old sys_ni_syscall
> #define sys_vm86 sys_ni_syscall
> +#define sys_sigprocmask sigprocmask
>
> #define old_mmap old_mmap_i386
>

For how long has this problem been present?

Why aren't lots of other people reporting it?