From: Sathvika Vasireddy <sv@linux.vnet.ibm.com>
To: Masahiro Yamada <masahiroy@kernel.org>,
Sathvika Vasireddy <sv@linux.ibm.com>
Cc: nicolas@fjasle.eu, linux-kbuild@vger.kernel.org,
peterz@infradead.org, mahesh@linux.ibm.com, mingo@kernel.org,
nathan@kernel.org, npiggin@gmail.com, naveen.n.rao@linux.ibm.com,
linuxppc-dev@lists.ozlabs.org, jpoimboe@kernel.org
Subject: Re: [RFC PATCH 1/2] objtool: Run objtool only if either of the config options are selected
Date: Mon, 22 Apr 2024 21:48:30 +0530 [thread overview]
Message-ID: <d808e90c-a27d-47c4-b7c8-55734f24981c@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAK7LNAR3R2MfP69pbXNYx3TCeQiaC-Pjb=zfnMifHRUvhCQA6w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
Hi Masahiro, thanks for reviewing.
On 4/22/24 5:39 PM, Masahiro Yamada wrote:
> On Mon, Apr 22, 2024 at 6:25 PM Sathvika Vasireddy<sv@linux.ibm.com> wrote:
>> Currently, when objtool is enabled and none of the supported options
>> are triggered, kernel build errors out with the below error:
>> error: objtool: At least one command required.
>
> Then, I think CONFIG_OBJTOOL should be disabled.
A subsequent patch introduces --ftr-fixup as an option to objtool to do
feature fixup at build-time via CONFIG_HAVE_OBJTOOL_FTR_FIXUP option. If
CONFIG_OBJTOOL is not selected, then objtool cannot be used to pass
--ftr-fixup option.
In cases where none of the supported options (like --mcount on powerpc
for example) is triggered, but still require --ftr-fixup option to be
passed to objtool, we see "error: objtool: At least one command
required" errors. So, to address this, run only when either of the
config options are selected.
Thanks,
Sathvika
[-- Attachment #2: Type: text/html, Size: 1887 bytes --]
next prev parent reply other threads:[~2024-04-22 22:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 9:22 [RFC PATCH 1/2] objtool: Run objtool only if either of the config options are selected Sathvika Vasireddy
2024-04-22 9:22 ` [RFC PATCH 2/2] objtool/powerpc: Enhance objtool to fixup alternate feature relative addresses Sathvika Vasireddy
2024-04-23 0:28 ` Nathan Chancellor
2024-06-03 8:29 ` Sathvika Vasireddy
2024-05-06 16:50 ` Masahiro Yamada
2024-04-22 12:09 ` [RFC PATCH 1/2] objtool: Run objtool only if either of the config options are selected Masahiro Yamada
2024-04-22 16:18 ` Sathvika Vasireddy [this message]
2024-05-06 17:39 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d808e90c-a27d-47c4-b7c8-55734f24981c@linux.vnet.ibm.com \
--to=sv@linux.vnet.ibm.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.ibm.com \
--cc=masahiroy@kernel.org \
--cc=mingo@kernel.org \
--cc=nathan@kernel.org \
--cc=naveen.n.rao@linux.ibm.com \
--cc=nicolas@fjasle.eu \
--cc=npiggin@gmail.com \
--cc=peterz@infradead.org \
--cc=sv@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).