OpenWrt/LEDE Project

  • Status Waiting on reporter
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To
    Petr Štetiar
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Josef Schlehofer - 27.07.2020
Last edited by Petr Štetiar - 03.08.2020

FS#3249 - Devel/perf failed to compile

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
Tony Ambardar commented on 29.07.2020 07:56

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.

Admin
Petr Štetiar commented on 03.08.2020 08:58

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.

Admin
Petr Štetiar commented on 03.08.2020 09:00

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing