mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] kernel: do not select binutils
Date: Fri, 25 Oct 2019 09:20:06 +0200	[thread overview]
Message-ID: <20191025072006.GB30823@pengutronix.de> (raw)
In-Reply-To: <20190912150537.nurdqltm4kagx3ls@pengutronix.de>

On Thu, Sep 12, 2019 at 05:05:37PM +0200, Roland Hieber wrote:
> On Wed, Sep 11, 2019 at 05:06:01PM +0200, Bastian Krause wrote:
> > binutils is not used in perf tools (anymore?), so do not select it.
> > 
> > Signed-off-by: Bastian Krause <bst@pengutronix.de>
> > ---
> >  rules/kernel.in | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/rules/kernel.in b/rules/kernel.in
> > index 817481577..4d264c8ba 100644
> > --- a/rules/kernel.in
> > +++ b/rules/kernel.in
> > @@ -5,7 +5,6 @@ menuconfig KERNEL
> >  	select LIBELF		if KERNEL_TOOL_PERF
> >  	select LIBELF_LIBDW	if KERNEL_TOOL_PERF
> >  	select SLANG		if KERNEL_TOOL_PERF
> > -	select BINUTILS		if KERNEL_TOOL_PERF
> >  	select LIBUNWIND	if KERNEL_TOOL_PERF
> 
> This depends on which kernel version you use in the platformconfig.
> Could you find out since when binutils is no longer needed?

Sorry, that was my fault. I checked on BSP and noticed that libbfd was not
actually used so I suggested this. And I've used perf in this project
without noticing any missing feature.

However, with another BSP libbfd is actually found. I've don't know what
the difference is.

I've also looked at the code. It seems libbfd is used for 'addr2line()'.
Does anyone know what this is for? The fallback (if libbfd is not found) is
to call the 'addr2line' program (not installed by ptxdist either).

So, should we keep the dependency (and fix it as needed) or drop it?

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-10-25  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 15:06 Bastian Krause
2019-09-12 15:05 ` Roland Hieber
2019-10-25  7:20   ` Michael Olbrich [this message]

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=20191025072006.GB30823@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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