Re: [tip:x86/urgent] x86/vdso: Discard the __bug_table section

From: H. Peter Anvin
Date: Tue Jun 24 2014 - 14:29:55 EST


This is a multi-part message in MIME format.On 06/22/2014 01:47 AM, Ingo Molnar wrote:
>
> * tip-bot for Andy Lutomirski <tipbot@xxxxxxxxx> wrote:
>
>> Commit-ID: 5f56e7167e6d438324fcba87018255d81e201383
>> Gitweb: http://git.kernel.org/tip/5f56e7167e6d438324fcba87018255d81e201383
>> Author: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>> AuthorDate: Wed, 18 Jun 2014 15:59:46 -0700
>> Committer: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
>> CommitDate: Thu, 19 Jun 2014 15:44:51 -0700
>>
>> x86/vdso: Discard the __bug_table section
>>
>> It serves no purpose in user code.
>>
>> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>> Link: http://lkml.kernel.org/r/2a5bebff42defd8a5e81d96f7dc00f21143c80e8.1403129369.git.luto@xxxxxxxxxxxxxx
>> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
>> ---
>> arch/x86/vdso/vdso-layout.lds.S | 1 +
>> 1 file changed, 1 insertion(+)
>
> One of the recent x86/urgent vdso commits causes this build failure:
>
> Error: too many copied sections (max = 13)
> make[2]: *** [arch/x86/vdso/vdso-image-64.c] Error 1
> make[1]: *** [arch/x86/vdso] Error 2
> make: *** [arch/x86] Error 2
>
> with the attached config.
>

Hi Ingo,

Could you try this with the attached patch?

-hpa