Tiny Core Extensions > Extension requests

[Solved] Kernel tool: perf ?

<< < (2/5) > >>

Juanito:
It seems the contents of libelf-dev in piCore64 are not the same as elfutils-dev in CorePure64...

Rich:
Hi polikuo
Something seems wrong here:

--- Quote from: polikuo on October 07, 2020, 10:46:12 AM ---
--- Code: --- ----- Snip -----

Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
diff -u tools/arch/x86/include/uapi/asm/unistd.h arch/x86/include/uapi/asm/unistd.h
sh: command: line 1: illegal option -c

 ----- Snip -----

--- End code ---

--- End quote ---
You said this was for  aarch64.  Why is it looking in  arch/x86 ?

polikuo:

--- Quote from: Rich on October 07, 2020, 11:21:42 AM ---You said this was for  aarch64.  Why is it looking in  arch/x86 ?

--- End quote ---

I honestly don't know.

Perhaps make just traverse every directories, doing ckecks ?

I assure you I'm using aarch64


--- Code: ---tc@box:/mnt/mmcblk0p2/compile/source_code/Kernel/linux-5.4.51$ uname -r
5.4.51-piCore-v8
tc@box:/mnt/mmcblk0p2/compile/source_code/Kernel/linux-5.4.51$ uname -m
aarch64

--- End code ---

Juanito:
I suspect you will need libelf from elfutils rather than libelf from http://www.mr511.de/software/

curaga:
https://bugzilla.redhat.com/show_bug.cgi?id=1793473

So it's your gcc being too new for that perf version. You can likely find patches to make it build with that gcc.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version