Re: [PATCH 34/34] perf tools unwinding: Use the per-feature checkflags

From: Jiri Olsa
Date: Wed Nov 27 2013 - 17:44:04 EST


On Wed, Nov 27, 2013 at 05:16:34PM -0300, Arnaldo Carvalho de Melo wrote:
> From: Jean Pihet <jean.pihet@xxxxxxxxxx>
>
> Use the per-feature check flags for the unwinding feature in order to
> correctly compile the libunwind and libunwind-debug-frame feature
> checks.
>
> Tested on ARMv7 and ARMv8 with 'make DEBUG=1 LIBUNWIND_DIR=/usr/local -C
> tools/perf'

this one makes my build fail:

[jolsa@krava perf]$ make
BUILD: Doing 'make -j4' parallel build

Auto-detecting system features:
... backtrace: [ on ]
... dwarf: [ on ]
... fortify-source: [ on ]
... glibc: [ on ]
... gtk2: [ on ]
... gtk2-infobar: [ on ]
... libaudit: [ on ]
... libbfd: [ on ]
... libelf: [ on ]
... libelf-getphdrnum: [ on ]
... libelf-mmap: [ on ]
... libnuma: [ on ]
... libperl: [ on ]
... libpython: [ on ]
... libpython-version: [ on ]
... libslang: [ on ]
... libunwind: [ OFF ]
... on-exit: [ on ]
... stackprotector: [ on ]
... stackprotector-all: [ on ]
... timerfd: [ on ]

config/Makefile:335: No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 1.1

...

LINK perf
/bin/ld: cannot find -lunwind
/bin/ld: cannot find -lunwind-x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [perf] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2


I haven't checked this one.. will do tomorrow

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