Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 890624 Details for
Bug 929254
dev-libs/libbpf-1.4.0 - [clang] usdt.c: error: call to undeclared function gelf_getnote; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-libs:libbpf-1.4.0:20240413-001745.log
dev-libs:libbpf-1.4.0:20240413-001745.log (text/plain), 9.36 KB, created by
Toralf Förster
on 2024-04-13 07:39:34 UTC
(
hide
)
Description:
dev-libs:libbpf-1.4.0:20240413-001745.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-04-13 07:39:34 UTC
Size:
9.36 KB
patch
obsolete
> * Package: dev-libs/libbpf-1.4.0:0/1.4 > * Repository: gentoo > * Maintainer: chutzpah@gentoo.org jsmolic@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libbpf-1.4.0.tar.gz to /var/tmp/portage/dev-libs/libbpf-1.4.0/work >>>> Source unpacked in /var/tmp/portage/dev-libs/libbpf-1.4.0/work >>>> Preparing source in /var/tmp/portage/dev-libs/libbpf-1.4.0/work/libbpf-1.4.0/src ... > * Applying libbpf-9999-paths.patch ... >patching file Makefile >Hunk #1 succeeded at 97 (offset 21 lines). >Hunk #2 succeeded at 122 with fuzz 1 (offset 21 lines). >patching file libbpf.pc.template > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/dev-libs/libbpf-1.4.0/work/libbpf-1.4.0/src ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/libbpf-1.4.0/work/libbpf-1.4.0/src ... >make -j4 >mkdir -p staticobjs >mkdir -p sharedobjs >sed -e "s|@PREFIX@|/usr|" \ > -e "s|@LIBDIR@|$\{prefix\}/lib64|" \ > -e "s|@UAPIDIR@|/usr/include/bpf/uapi|" \ > -e "s|@VERSION@|1.4.0|" \ > < libbpf.pc.template > libbpf.pc >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c bpf.c -o staticobjs/bpf.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c btf.c -o staticobjs/btf.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c libbpf.c -o staticobjs/libbpf.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c libbpf_errno.c -o staticobjs/libbpf_errno.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c netlink.c -o staticobjs/netlink.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c nlattr.c -o staticobjs/nlattr.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c str_error.c -o staticobjs/str_error.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c libbpf_probes.c -o staticobjs/libbpf_probes.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c bpf_prog_linfo.c -o staticobjs/bpf_prog_linfo.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c btf_dump.c -o staticobjs/btf_dump.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c hashmap.c -o staticobjs/hashmap.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c ringbuf.c -o staticobjs/ringbuf.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c strset.c -o staticobjs/strset.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c linker.c -o staticobjs/linker.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c gen_loader.c -o staticobjs/gen_loader.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c relo_core.c -o staticobjs/relo_core.o >clang -I. -I../include -I../include/uapi -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/usr/include/libelf -c usdt.c -o staticobjs/usdt.o >usdt.c:572:56: error: unknown type name 'GElf_Nhdr' > 572 | static int parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, > | ^ >usdt.c:589:11: error: expected ';' after expression > 589 | GElf_Nhdr nhdr; > | ^ > | ; >usdt.c:589:2: error: use of undeclared identifier 'GElf_Nhdr' > 589 | GElf_Nhdr nhdr; > | ^ >usdt.c:589:12: error: use of undeclared identifier 'nhdr'; did you mean 'ehdr'? > 589 | GElf_Nhdr nhdr; > | ^~~~ > | ehdr >usdt.c:588:12: note: 'ehdr' declared here > 588 | GElf_Ehdr ehdr; > | ^ >usdt.c:621:16: error: call to undeclared function 'gelf_getnote'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 621 | while ((off = gelf_getnote(data, off, &nhdr, &name_off, &desc_of... > | ^ >usdt.c:621:41: error: use of undeclared identifier 'nhdr'; did you mean 'ehdr'? > 621 | while ((off = gelf_getnote(data, off, &nhdr, &name_off, &desc_of... > | ^~~~ > | ehdr >usdt.c:588:12: note: 'ehdr' declared here > 588 | GElf_Ehdr ehdr; > | ^ >usdt.c:627:37: error: use of undeclared identifier 'nhdr'; did you mean 'ehdr'? > 627 | err = parse_usdt_note(elf, path, &nhdr, data->d_buf, nam... > | ^~~~ > | ehdr >usdt.c:588:12: note: 'ehdr' declared here > 588 | GElf_Ehdr ehdr; > | ^ >usdt.c:589:12: warning: expression result unused [-Wunused-value] > 589 | GElf_Nhdr nhdr; > | ^~~~ >usdt.c:1133:56: error: unknown type name 'GElf_Nhdr' > 1133 | static int parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, > | ^ >1 warning and 8 errors generated. >make: *** [Makefile:135: staticobjs/usdt.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: dev-libs/libbpf-1.4.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-libs/libbpf-1.4.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-libs/libbpf-1.4.0::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-libs:libbpf-1.4.0:20240413-001745.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libbpf-1.4.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libbpf-1.4.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-libs/libbpf-1.4.0/work/libbpf-1.4.0/src' > * S: '/var/tmp/portage/dev-libs/libbpf-1.4.0/work/libbpf-1.4.0/src' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 929254
:
890623
| 890624 |
890625
|
890626
|
890627
|
890628
|
890629