Summary: | sys-process/below-0.5.0 fails to compile (lto): undefined reference to bpf_map__name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Daniel Hodges <hodges.daniel.scott> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz93, flow, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=893658 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-08-06 06:23:19 UTC
Created attachment 798163 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x2d5): undefined reference to `libbpf_get_error' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x312): undefined reference to `bpf_object__btf' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x52f): undefined reference to `btf__set_endianness' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x55c): undefined reference to `btf__pointer_size' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x5f5): undefined reference to `btf__get_raw_data' libbpf_cargo.05371e16-cgu.0:(.text._ZN12libbpf_cargo3btf3btf3Btf3new17hdf28d994eea11771E+0x2b2): undefined reference to `bpf_object__open_mem' libbpf_cargo.05371e16-cgu.0:(.text._ZN69_$LT$libbpf_cargo..btf..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd8d4d12ee44a110fE+0x7): undefined reference to `bpf_object__close' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen12get_map_name17h5015298e44c2e16fE+0x8c): undefined reference to `bpf_map__is_internal' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen13get_prog_name17h168411c247dc50d4E+0x20): undefined reference to `bpf_program__name' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen14map_is_datasec17h92314c3a007507d1E+0xb): undefined reference to `bpf_map__is_internal' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen15map_is_mmapable17haa28e181a322b534E+0x3): undefined reference to `bpf_map__def' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen15map_is_readonly17h27ffee8017b60d71E+0x23): undefined reference to `bpf_map__def' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen15open_bpf_object17h5aadd5941c31390fE+0x222): undefined reference to `bpf_object__open_mem' libbpf_cargo.05371e16-cgu.1:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17h6f71ef3adfda0a3bE+0x20): undefined reference to `bpf_map__name' libbpf_cargo.05371e16-cgu.1:(.text._ZN85_$LT$libbpf_cargo..gen..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17he65d9bf75a02abd7E+0x15): undefined reference to `bpf_map__next' libbpf_cargo.05371e16-cgu.1:(.text._ZN86_$LT$libbpf_cargo..gen..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h3dc48292233ccf09E+0x15): undefined reference to `bpf_program__next' error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1 Apparently fixed by cargo.eclass, cannot reproduce anymore. |