Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759344AbaGCSFQ (ORCPT ); Thu, 3 Jul 2014 14:05:16 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:35488 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759088AbaGCSFO (ORCPT ); Thu, 3 Jul 2014 14:05:14 -0400 Message-ID: <53B59BC9.5080205@oracle.com> Date: Thu, 03 Jul 2014 14:07:05 -0400 From: Boris Ostrovsky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk CC: Andrew Morton , luto@amacapital.net, Steven Rostedt , LKML , Ingo Molnar , "H. Peter Anvin" , Linus Torvalds Subject: Re: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13) References: <20140701000913.5ea51f77@gandalf.local.home> <20140702142836.084d1ad63b049d53a2f51218@linux-foundation.org> <20140703175222.GA13710@konrad-lan.dumpdata.com> In-Reply-To: <20140703175222.GA13710@konrad-lan.dumpdata.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2014 01:52 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Jul 02, 2014 at 02:28:36PM -0700, Andrew Morton wrote: >> On Tue, 1 Jul 2014 00:09:13 -0400 Steven Rostedt 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 >>> 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... > When I revert that mentioned commit I get > Error: too many copied sections (max = 16) > > But if I revert bfad381c0d1e19cae8461e105d8d4387dd2a14fe as well > then everything is back to normal. This is with binutils-2.20.51.0.2-15 (I assume Konrad is using the same environment as I do. But in any case, reverting bfad381c0d makes the build work for me at that version). -borsi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/