Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3249 - Devel/perf failed to compile #8599

Closed
openwrt-bot opened this issue Jul 27, 2020 · 3 comments
Closed

FS#3249 - Devel/perf failed to compile #8599

openwrt-bot opened this issue Jul 27, 2020 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

Pepe:

All platforms (noticed on mvebu, powerpc), OpenWrt 19.07 and OpenWrt master.

Compilation fails with following output:

Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'

Auto-detecting system features:
... dwarf: [ OFF ]
... dwarf_getlocations: [ OFF ]
... glibc: [ OFF ]
... gtk2: [ OFF ]
... libaudit: [ OFF ]
... libbfd: [ OFF ]
... libelf: [ OFF ]
... libnuma: [ OFF ]
... numa_num_possible_cpus: [ OFF ]
... libperl: [ OFF ]
... libpython: [ on ]
... libslang: [ OFF ]
... libcrypto: [ on ]
... libunwind: [ OFF ]
... libdw-dwarf-unwind: [ OFF ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ OFF ]
... bpf: [ on ]

Makefile.config:313: *** No gnu/libc-version.h found, please install glibc-dev[el]. Stop.
make[3]: *** [Makefile.perf:204: sub-make] Error 2
make[2]: *** [Makefile:80: /build/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.187/tools/perf-target-aarch64_cortex-a53_musl/.built] Error 2
make[2]: Leaving directory '/build/package/devel/perf'
time: package/devel/perf/compile#1.19#0.25#1.54
make[1]: *** [package/Makefile:113: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/build'
make: *** [/build/include/toplevel.mk:227: package/perf/compile] Error 2

@openwrt-bot
Copy link
Author

guidosarducci:

This does build and run against current master on mips32_be, contrary to the report of failure for "all platforms, OpenWrt 19.07 and master".

Maybe try a completely clean build, including a non mvebu/powerpc arch.

@openwrt-bot
Copy link
Author

ynezz:

Out of curiosity I've just tried to build perf on x86/64, mvebu/cortexa9 and sunxi/a53 (which is aarch64 as well) and it builds fine. So unable to reproduce the issue.

@openwrt-bot
Copy link
Author

ynezz:

So it must be something related to your specific config, you need to share output of scripts/diffconfig.sh as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant