Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752676AbdLSQl6 (ORCPT ); Tue, 19 Dec 2017 11:41:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52764 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbdLSQly (ORCPT ); Tue, 19 Dec 2017 11:41:54 -0500 Date: Tue, 19 Dec 2017 10:41:54 -0600 From: Josh Poimboeuf To: Vegard Nossum Cc: kbuild , LKML Subject: Re: parallel make broken with ORC unwinder Message-ID: <20171219164153.foik72qfn2lojuw7@treble> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 19 Dec 2017 16:41:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 32 On Tue, Dec 19, 2017 at 04:42:12PM +0100, Vegard Nossum wrote: > Hi, > > When I run make -j64 on a v4.14 kernel or newer with ORC_UNWINDER=y > the kernel build breaks like this: > > $ make -j64 > CHK include/config/kernel.release > CHK include/generated/uapi/linux/version.h > DESCEND objtool > CC scripts/mod/empty.o > [...] > security/smack/smack_lsm.o: warning: objtool: elf_update: cannot write > data to file > [...] > drivers/atm/uPD98402.o: warning: objtool: elf_update: cannot write data to file > AR arch/x86/entry/vdso/built-in.o > CC security/keys/permission.o > CC arch/x86/entry/vsyscall/vsyscall_gtod.o > CC security/keys/process_keys.o > CC [M] arch/x86/kvm/../../../virt/kvm/irqchip.o > Segmentation fault > make[2]: *** [drivers/atm/uPD98402.o] Error 139 > make[2]: *** Waiting for unfinished jobs.... Hi Vegard, Thanks for reporting this. Can you clarify why rewriting the file in place seems buggy? -- Josh