make O=/my/personal/build/using/root's/kernel/sources -- broken for perf
Quoted 9 lines · rh
I hadn't tried to build perf using make O= previously so I don't know if it ever worked. But I tried to use it and it doesn't work.
Also, I have a local
libdef.hbut perf doesn't see it/use it, it is in/usr/include/libelf/libelf.hI'm trying to use my system as an end user that has no root privileges. Therefore I am building the kernel in
/usr/src/linuxwith make O=/my/output/dir
That's how I always build perf. Either from top-level 'make O=/tmp/pbuild -C tools/perf' or from tools/perf and just 'make O=/tmp/pbuild'. And often from a VM mounting the kernel tree over NFS read-only. It works fine for me.
What problem are you having and what version?
David