Re: [GIT PULL] tools/perf/build: Speed up the perf build system

From: Arnaldo Carvalho de Melo
Date: Thu Oct 10 2013 - 15:26:30 EST


Two problems:

the message:

BUILD: Doing 'make -j1' parallel build

Looks funny: 'parallel' && -j1? :-)

This is on fedora12, on a kvm guest, nfs mounting /home/acme/git, all works
well up to the liblk.a part, cloning it to do it without NFS to continue
testing the integration of acme/perf/core with the build speedup patches.

- Arnaldo

----------------------

[acme@fedora12 linux]$ make O=/tmp/build/perf/ -C tools/perf install
make: Entering directory `/home/acme/git/linux/tools/perf'
BUILD: Doing 'make -j1' parallel build

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

config/Makefile:278: 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
config/Makefile:335: No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 0.99
config/Makefile:349: No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev
config/Makefile:519: No numa.h found, disables 'perf bench numa mem' benchmark, please install numa-libs-devel or libnuma-dev
SUBDIR /home/acme/git/linux/tools/lib/lk/
AR liblk.a
rm: cannot remove `liblk.a': Permission denied
make[2]: *** [liblk.a] Error 1
make[1]: *** [/tmp/build/perf/liblk.a] Error 2
make: *** [install] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'
[acme@fedora12 linux]$ fg
-bash: fg: current: no such job
[acme@fedora12 linux]$ vim tools/perf/Makefile.perf
[acme@fedora
--
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/