Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1204353

Re: [PATCH] perf, tools: Support static linking with libdw

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf, tools: Support static linking with libdw
Date 2015-08-10 17:00 +0200
Message-ID <pVWIq-12B-9@gated-at.bofh.it> (permalink)
References <pUY9A-4vn-1@gated-at.bofh.it> <pVeem-2EI-11@gated-at.bofh.it> <pVftL-4oL-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Sat, Aug 08, 2015 at 06:42:19PM +0200, Andi Kleen escreveu:
> > please also update the warning, as now it's not obvious you need
> > to install also bz2 libs (bzip2-devel on Fedora) for dwarf support..
> > we already have check for lzma
> 
> The package should already pull it in as a dependency.

Noticed that this regresses my environment, Fedora 21:

  [acme@zoo linux]$ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf ; m
  make: Entering directory '/home/git/linux/tools/perf'
    BUILD:   Doing 'make -j4' parallel build

  Auto-detecting system features:
  ...                         dwarf: [ OFF ]
  ...                         glibc: [ on  ]
  ...                          gtk2: [ on  ]
  ...                      libaudit: [ on  ]
  ...                        libbfd: [ on  ]
  ...                        libelf: [ on  ]
  ...                       libnuma: [ on  ]
  ...                       libperl: [ on  ]
  ...                     libpython: [ on  ]
  ...                      libslang: [ on  ]
  ...                     libunwind: [ on  ]
  ...            libdw-dwarf-unwind: [ on  ]
  ...                          zlib: [ on  ]
  ...                          lzma: [ on  ]

  config/Makefile:267: No libdw.h found or old libdw.h found or elfutils
  is older than 0.138, disables dwarf support. Please install new
  elfutils-devel/libdw-dev
    MKDIR    /tmp/build/perf/util/

Have not investigated, just noticed that dwarf is disabled if this patch
is applied, removing it for now, will check later.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] perf, tools: Support static linking with libdw Andi Kleen <andi@firstfloor.org> - 2015-08-08 00:20 +0200
  Re: [PATCH] perf, tools: Support static linking with libdw Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-08 01:50 +0200
  Re: [PATCH] perf, tools: Support static linking with libdw Jiri Olsa <jolsa@redhat.com> - 2015-08-08 17:30 +0200
    Re: [PATCH] perf, tools: Support static linking with libdw Andi Kleen <andi@firstfloor.org> - 2015-08-08 18:50 +0200
      Re: [PATCH] perf, tools: Support static linking with libdw Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-10 17:00 +0200

csiph-web