Skip to content

failure to compile eBPF on RedHat CoreOS 4.9 from sysdig 0.28.0 container #1884

@chkp-eladmo

Description

@chkp-eladmo

We are unable to compile sysdig eBPF probe on RedHat CoreOS 4.9 from Sysdig 0.28.0 image.
Seems like there is toolchain package missing: libelf-devel.
Have also tried the following images:
sysdig 0.29.3 - same error
sysdig 0.27.1 - successful

Logs:

  • Trying to compile the eBPF probe (scap_rhcos_4.18.0-305.30.1.el8_4.x86_64_1.o)
    make: Entering directory '/opt/sysdig/src/scap-2160111cd088aea9ae2235d3385ecb0b1ab6623c/bpf'
    make -C /lib/modules/4.18.0-305.30.1.el8_4.x86_64/build M=$PWD
    make[1]: Entering directory '/host/usr/src/kernels/4.18.0-305.30.1.el8_4.x86_64'
    make[1]: Leaving directory '/host/usr/src/kernels/4.18.0-305.30.1.el8_4.x86_64'
    Makefile:984: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
    make: Leaving directory '/opt/sysdig/src/scap-2160111cd088aea9ae2235d3385ecb0b1ab6623c/bpf'
    make: *** [Makefile:20: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions