[Debian] undefined reference to `compat_sys_rt_sigsuspend' on ia64

Vasily Tarasov vtaras at openvz.org
Thu Apr 12 04:51:17 EDT 2007


Ola Lundquist wrote:
> Privet Vasily
> 
> On Thu, Apr 12, 2007 at 11:59:40AM +0400, Vasily Tarasov wrote:
>> Ola Lundqvist wrote:
>>> Hi Kiril
>>>
>>>
>>> On Wed, Apr 11, 2007 at 08:02:37PM +0400, Kirill Korotaev wrote:
>>>> Ola, I attached the patch which is already in git.
>>>> It should help.
>>>>
>>>> I will also ask Vasiliy to prepare 028stab028 patch for you for debian.
>>> You do not need to do that. I can do that myself.
>> If you'll need some help - feel free to contact me.
> 
> I'll do. However this was a very easy fix, so I do not think I need that.
> 
> The more dramatic change however is that I think they will change
> the kernel version to next point release of Debian. I'm not sure yet but
> I have seen 2.6.20 in the archive. I do not know if that is intended for
> etch 4.0R1 or lenny though.

We're currently working on OpenVZ patch for 2.6.20 kernel, so if they'll 
change kernel version to 2.6.20 - it'll be not a problem. But if they'll 
decide to use other kernel version (2.6.21 for example) - it'll be 
definitely harder for porting... So, when you'll investigate what 2.6.20 
kernel in Debian archive for, please, inform us :)

Thanks!

> 
> Regards,
> 
> // Ola
> 
>> Thanks,
>> Vasily.
>>
>>> Regards,
>>>
>>> // Ola
>>>
>>>> Thanks,
>>>> Kirill
>>>>
>>>> Ola Lundqvist wrote:
>>>>> Hi
>>>>>
>>>>> Today I was able to get access to an ia64 machine to build
>>>>> the patch against the etch version of kernel sources.
>>>>>
>>>>> However I get some problems.
>>>>>
>>>>>  AS      arch/ia64/lib/xor.o
>>>>>  AR      arch/ia64/lib/lib.a
>>>>>  GEN     .version
>>>>>  CHK     include/linux/compile.h
>>>>>  UPD     include/linux/compile.h
>>>>>  CC      init/version.o
>>>>>  LD      init/built-in.o
>>>>>  LD      .tmp_vmlinux1
>>>>> arch/ia64/ia32/built-in.o: In function `ia32_syscall_table':
>>>>> (.rodata+0x598): undefined reference to `compat_sys_rt_sigsuspend'
>>>>> make[1]: *** [.tmp_vmlinux1] Error 1
>>>>> make[1]: Leaving directory `/home/opal/openvz-2.6/linux-source-2.6.18'
>>>>> make: *** [debian/stamp-build-kernel] Error 2
>>>>>
>>>>>
>>>>> I have the full build log, but have problem with cut and paste.
>>>>>
>>>>> Is it some kernel option that I need to disable or enable in order
>>>>> to make it work?
>>>>>
>>>>> sys_rt_sigsuspend is not mentioned in any other place in the build
>>>>> log.
>>>>>
>>>>> Regards,
>>>>>
>>>>> // Ola
>>>>>
>>>> diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h
>>>> index 141c44e..7cc039f 100644
>>>> --- a/include/asm-ia64/unistd.h
>>>> +++ b/include/asm-ia64/unistd.h
>>>> @@ -321,6 +321,7 @@ # define __ARCH_WANT_SYS_OLD_GETRLIMIT
>>>> # define __ARCH_WANT_SYS_OLDUMOUNT
>>>> # define __ARCH_WANT_SYS_SIGPENDING
>>>> # define __ARCH_WANT_SYS_SIGPROCMASK
>>>> +# define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
>>>> # define __ARCH_WANT_COMPAT_SYS_TIME
>>>> #endif
>>>>
>>>
>>
> 



More information about the Debian mailing list