Messages in this thread | | | Date | Mon, 20 Jan 2014 18:19:52 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH 3/3] perf tools: bring back old behavior when NO_DEMAGLE doesn't link with libbfd |
| |
On Mon, Jan 20, 2014 at 10:22:25AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 20, 2014 at 03:39:40PM +0400, Stanislav Fomichev escreveu: > > This commit reverts part of the 3e6a147deef9 "perf tools: Separate lbfd > > check out of NO_DEMANGLE condition" which always links perf with libbfd. > > I'd like to preserve old behavior when NO_DEMAGLE does not link with > > it, because some machines may contain different versions of binutils > > (hence miss required libbfd version) and I still want an option to build perf > > which works on any machine regardless of binutils version.
BFD is not only used for demangling, it's also used for decoding source lines now. So tying it only to NO_DEMANGLE would not be correct.
-Andi
| |