linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf test LLVM failure
@ 2017-06-13  8:40 Thomas-Mich Richter
  2017-06-16 16:09 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas-Mich Richter @ 2017-06-13  8:40 UTC (permalink / raw)
  To: Hendrik Brueckner, linux-perf-users

I have Fedora 25 with an 4.11 kernel and get this error

[root@s8360047 perf]# ./perf test   LLVM
35: LLVM search and compile                    :
35.1: Basic BPF llvm compile                    : Ok
35.2: kbuild searching                          : Ok
35.3: Compile source for BPF prologue generation: FAILED!
35.4: Compile source for BPF relocation         : Skip
[root@s8360047 perf]#

The error message is
libbpf: Program 'func=null_lseek file->f_mode offset orig'
contains non-map related relo data pointing to section 5

I have installed
clang-3.8.1-1.fc25.s390x
clang-libs-3.8.1-1.fc25.s390x
libpfm-4.8.0-2.ibm.fc25.s390x
compiler-rt-3.9.1-1.fc25.s390x
llvm-libs-3.8.1-2.fc25.s390x

and when I compile the test/bpf-script-test-prologue.c manually
the compile does not show any error message.

The error comes from file ../lib/bpf/libbpf.c
function bpf_program__collect_reloc()

Any ideas what cauese this and how to fix it?

By the way Fedora 24 with the same kernel version as above runs fine.

-- 
Thomas Richter, Dept 3303, IBM LTC Boeblingen Germany
--
Vorsitzende des Aufsichtsrats: Martina Koederitz 
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-19 11:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13  8:40 perf test LLVM failure Thomas-Mich Richter
2017-06-16 16:09 ` Arnaldo Carvalho de Melo
2017-06-19  0:34   ` Wangnan (F)
2017-06-19  7:45     ` Thomas-Mich Richter
2017-06-19 10:29       ` Wangnan (F)
2017-06-19 11:59         ` Thomas-Mich Richter

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).