Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753763AbcCCO5A (ORCPT ); Thu, 3 Mar 2016 09:57:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47931 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067AbcCCO47 (ORCPT ); Thu, 3 Mar 2016 09:56:59 -0500 Date: Thu, 3 Mar 2016 08:56:55 -0600 From: Josh Poimboeuf To: Sebastian Andrzej Siewior Cc: jslaby@suse.cz, acme@kernel.org, chris.j.arges@canonical.com, hpa@zytor.com, namhyung@gmail.com, palves@redhat.com, bp@alien8.de, luto@kernel.org, torvalds@linux-foundation.org, bernd@petrovitsch.priv.at, mmarek@suse.cz, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mingo@kernel.org, peterz@infradead.org, tglx@linutronix.de, linux-tip-commits@vger.kernel.org Subject: Re: [tip:core/objtool] objtool: Add CONFIG_STACK_VALIDATION option Message-ID: <20160303145655.GB2348@treble.redhat.com> References: <92baab69a6bf9bc7043af0bfca9fb964a1d45546.1456719558.git.jpoimboe@redhat.com> <20160303141201.GA30747@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160303141201.GA30747@breakpoint.cc> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1816 Lines: 47 On Thu, Mar 03, 2016 at 03:12:01PM +0100, Sebastian Andrzej Siewior wrote: > On 2016-02-29 03:01:35 [-0800], tip-bot for Josh Poimboeuf wrote: > > Gitweb: http://git.kernel.org/tip/b9ab5ebb14ec389bd80f66613f1fe3f8f65f2521 > > Author: Josh Poimboeuf > > objtool: Add CONFIG_STACK_VALIDATION option > > > > Add a CONFIG_STACK_VALIDATION option which will run "objtool check" for > > each .o file to ensure the validity of its stack metadata. > > |./mk-x86-64.sh -j1 > |make[1]: Entering directory '/home/bigeasy/linux-tip/build/linux-x8664' > | CHK include/config/kernel.release > | Using /home/bigeasy/linux-tip as source for kernel > | GEN ./Makefile > | CHK include/generated/uapi/linux/version.h > | CHK include/generated/utsrelease.h > | CHK include/generated/bounds.h > | CHK include/generated/timeconst.h > | CHK include/generated/asm-offsets.h > | CALL /home/bigeasy/linux-tip/scripts/checksyscalls.sh > |scripts/Makefile.include:3: *** O=build/linux-x8664 does not exist. Stop. > |/home/bigeasy/linux-tip/Makefile:1518: recipe for target 'tools/objtool' failed > |make[1]: *** [tools/objtool] Error 2 > |make[1]: Leaving directory '/home/bigeasy/linux-tip/build/linux-x8664' > |Makefile:146: recipe for target 'sub-make' failed > |make: *** [sub-make] Error 2 > > with > |$ cat mk-x86-64.sh > |#!/bin/sh > |export PATH=/usr/lib/ccache/:$PATH > |exec make O=build/linux-x8664 -j 8 $* > > Is this know? I tried the TIP tree as of now. It works with > CONFIG_STACK_VALIDATION=n > > Sebastian Hi Sebastian, This bug happens when using a relative path for 'O=' with CONFIG_STACK_VALIDATION. I posted a patch to fix it: https://lkml.kernel.org/r/94a078c6c998fac9f01a14f574008bf7dff40191.1457016803.git.jpoimboe@redhat.com -- Josh