Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1355244
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] perf tool: Build jitdump only on supported archs |
| Date | 2016-03-10 17:20 +0100 |
| Message-ID | <rbbtD-16X-3@gated-at.bofh.it> (permalink) |
| References | <ra9ke-7bJ-9@gated-at.bofh.it> <rb5ex-4U1-5@gated-at.bofh.it> <rbbai-G2-23@gated-at.bofh.it> <rbbjY-119-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Em Thu, Mar 10, 2016 at 05:04:36PM +0100, Jiri Olsa escreveu: > On Thu, Mar 10, 2016 at 12:57:00PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Mar 10, 2016 at 10:32:29AM +0100, Jiri Olsa escreveu: > > > On Mon, Mar 07, 2016 at 04:44:36PM -0300, Arnaldo Carvalho de Melo wrote: > > > > > > SNIP > > > > > > > ---------------------------------------------------------------- > > > > Adrian Hunter (5): > > > > perf inject: Hit all DSOs for AUX data in JIT and other cases > > > > perf session: Simplify tool stubs > > > > perf jit: Let jit_process() return errors > > > > perf jit: Move clockid validation > > > > perf tools: Use 64-bit shifts with (TSC) time conversion > > > > > > hi, > > > perf build failed for me on s390x because of jitdump feature. > > > > > > Attached patch tries to enable the build only on supported archs. > > > > > > I haven't followed this feature too much, so I might have missed > > > something.. anyway it builds on s390x now ;-) I took the list of > > > archs from util/genelf.h > > > > Hi Jiri, > > > > This may be related to this cset, still not in tip/perf/core: > > > > commit 46dad054a19297af65c417c97cb920aa5bdf7e8c > > Author: Arnaldo Carvalho de Melo <acme@redhat.com> > > Date: Mon Mar 7 18:48:45 2016 -0300 > > > > perf jitdump: DWARF is also needed > > > > Can you check if without this one perf builds on s390? > > > > This patch is to make it build on ubuntu without libdw, i.e. it requires > > both libdw and libelf, the way I fixed it may not be the best and > > probably we need to fold these two patches before sending to Ingo, since > > your patch essentially rewrites my previous patch :-) > > > > Can you please check that? > > well there's following line in util/genelf.h: > > #else > #error "unsupported architecture" > #endif > > which makes the build fail on unssuported arch, > even without your patch: Ok, so I'll just apply your patch, thanks for clarifying. - Arnaldo > CC util/jitdump.o > In file included from util/jitdump.c:23: > util/genelf.h:41:2: error: #error "unsupported architecture" > util/genelf.h:44:5: error: "GEN_ELF_CLASS" is not defined > mv: cannot stat `util/.jitdump.o.tmp': No such file or directory > make[3]: *** [util/jitdump.o] Error 1 > > > jirka
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[GIT PULL 00/15] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-07 21:00 +0100
[PATCH 05/15] perf jit: Move clockid validation Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-07 21:00 +0100
[PATCH] perf tool: Build jitdump only on supported archs Jiri Olsa <jolsa@redhat.com> - 2016-03-10 10:40 +0100
Re: [PATCH] perf tool: Build jitdump only on supported archs Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-10 17:00 +0100
Re: [PATCH] perf tool: Build jitdump only on supported archs Jiri Olsa <jolsa@redhat.com> - 2016-03-10 17:10 +0100
Re: [PATCH] perf tool: Build jitdump only on supported archs Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-10 17:20 +0100
[PATCHv2] perf tool: Build jitdump only on supported archs Jiri Olsa <jolsa@redhat.com> - 2016-03-10 17:50 +0100
[tip:perf/core] perf jitdump: Build only on supported archs tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-03-11 09:50 +0100
csiph-web