lkml.org 
[lkml]   [2014]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13)
On Wed, Jul 2, 2014 at 2:28 PM, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Tue, 1 Jul 2014 00:09:13 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
>
>> Testing the latest kernel (3.16-rc3) I hit this build bug:
>>
>> VDSO2C arch/x86/vdso/vdso-image-64.c
>> Error: too many copied sections (max = 13)
>> /arch/x86/vdso/Makefile:61: recipe for target 'arch/x86/vdso/vdso-image-64.c' failed
>> make[3]: *** [arch/x86/vdso/vdso-image-64.c] Error 1
>> /scripts/Makefile.build:404: recipe for target 'arch/x86/vdso' failed
>> make[2]: *** [arch/x86/vdso] Error 2
>>
>> I bisected it down to this commit:
>>
>> commit 0e3727a8839c988a3c56170bc8da76d55a16acad
>> Author: Andy Lutomirski <luto@amacapital.net>
>> Date: Wed Jun 18 15:59:49 2014 -0700
>>
>> x86/vdso: Remove some redundant in-memory section headers
>>
>> When I revert this commit, it compiles fine.
>
> When I revert that I get
>
> Error: cannot handle memsz != filesz
> make[2]: *** [arch/x86/vdso/vdso-image-64.c] Error 1
> make[1]: *** [arch/x86/vdso] Error 2
> make[1]: *** Waiting for unfinished jobs....
> In file included from include/linux/poll.h:11,
> from include/linux/ring_buffer.h:7,
> from include/linux/ftrace_event.h:5,
> from include/trace/syscall.h:6,
> from include/linux/syscalls.h:80,
> from kernel/capability.c:17:
>
> Productivity decline...

I think that patch is a false alarm. It was almost certainly broken a
little earlier.

Nonetheless, I hereby give up. I'll try to get a patch out today or
tomorrow to revert the reordering of vvar and the vdso.

--Andy

--
Andy Lutomirski
AMA Capital Management, LLC


\
 
 \ /
  Last update: 2014-07-03 03:21    [W:1.668 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site