diff options
author | Jiri Olsa <[email protected]> | 2017-08-25 15:45:10 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-28 11:05:09 -0300 |
commit | 6bd76b8fabe157233e498931c3f9298ee7128a28 (patch) | |
tree | c9d376566eecb2c42007f45e1cf545332254a608 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 726647d0526c5c2f3472010677122b89d9e4ef88 (diff) |
perf tools: Fix static build with newer toolchains
We can't pass --dynamic-list list into static build anymore, because
compilers starts to scream about that. Fedora 26 started to fail build
with following error:
$ make LDFLAGS=-static
...
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libc.a(strcmp.o
+)' can not be used when making an executable; recompile with -fPIE and relink with -pie
There's no sense for --dynamic-list in static build, because there's no
.dynsym table in static binary. Consequently the traceevent plugins have
never worked with static build, but it was quietly passed by.
To fix this in future I think we should add support to compile plugins
within the perf binary directly for static build.
Reported-and-Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions