Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 634168 Details for
Bug 719022
dev-libs/libbpf fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 13.13 KB, created by
Agostino Sarubbo
on 2020-04-23 10:11:45 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-04-23 10:11:45 UTC
Size:
13.13 KB
patch
obsolete
> * Package: dev-libs/libbpf-0.0.8 > * Repository: gentoo > * Maintainer: chutzpah@gentoo.org > * USE: arm64 elibc_glibc kernel_linux static-libs userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking libbpf-0.0.8.tar.gz to /var/tmp/portage/dev-libs/libbpf-0.0.8/work >>>> Source unpacked in /var/tmp/portage/dev-libs/libbpf-0.0.8/work >>>> Preparing source in /var/tmp/portage/dev-libs/libbpf-0.0.8/work/libbpf-0.0.8/src ... > * Applying libbpf-0.0.7-paths.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-libs/libbpf-0.0.8/work/libbpf-0.0.8/src ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/libbpf-0.0.8/work/libbpf-0.0.8/src ... >make -j96 BUILD_SHARED=y LIBSUBDIR=lib64 BUILD_STATIC=y CC=aarch64-unknown-linux-gnu-gcc >mkdir -p ./staticobjs >mkdir -p ./sharedobjs >sed -e "s|@PREFIX@|/usr|" \ > -e "s|@LIBDIR@|/usr/lib64|" \ > -e "s|@UAPIDIR@|/usr/include/bpf/uapi|" \ > -e "s|@VERSION@|0.0.8|" \ > < libbpf.pc.template > libbpf.pc >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c bpf.c -o staticobjs/bpf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c btf.c -o staticobjs/btf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf.c -o staticobjs/libbpf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf_errno.c -o staticobjs/libbpf_errno.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c netlink.c -o staticobjs/netlink.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c nlattr.c -o staticobjs/nlattr.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c str_error.c -o staticobjs/str_error.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c libbpf_probes.c -o staticobjs/libbpf_probes.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c bpf_prog_linfo.c -o staticobjs/bpf_prog_linfo.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c xsk.c -o staticobjs/xsk.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c btf_dump.c -o staticobjs/btf_dump.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c hashmap.c -o staticobjs/hashmap.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c bpf.c -o sharedobjs/bpf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c btf.c -o sharedobjs/btf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c libbpf.c -o sharedobjs/libbpf.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c libbpf_errno.c -o sharedobjs/libbpf_errno.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c netlink.c -o sharedobjs/netlink.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c nlattr.c -o sharedobjs/nlattr.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c str_error.c -o sharedobjs/str_error.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c libbpf_probes.c -o sharedobjs/libbpf_probes.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c bpf_prog_linfo.c -o sharedobjs/bpf_prog_linfo.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c xsk.c -o sharedobjs/xsk.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c btf_dump.c -o sharedobjs/btf_dump.o >aarch64-unknown-linux-gnu-gcc -I. -I../include -I../include/uapi -DCOMPAT_NEED_REALLOCARRAY -O2 -pipe -march=native -g -ggdb -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility=hidden -DSHARED -c hashmap.c -o sharedobjs/hashmap.o >In file included from libbpf.c:47: >../include/tools/libc_compat.h:11:21: error: static declaration of âreallocarrayâ follows non-static declaration > 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) > | ^~~~~~~~~~~~ >In file included from libbpf.c:16: >/usr/include/stdlib.h:559:14: note: previous declaration of âreallocarrayâ was here > 559 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) > | ^~~~~~~~~~~~ >In file included from libbpf.c:47: >../include/tools/libc_compat.h:11:21: error: static declaration of âreallocarrayâ follows non-static declaration > 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) > | ^~~~~~~~~~~~ >In file included from libbpf.c:16: >/usr/include/stdlib.h:559:14: note: previous declaration of âreallocarrayâ was here > 559 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) > | ^~~~~~~~~~~~ >make: *** [Makefile:103: staticobjs/libbpf.o] Error 1 >make: *** Waiting for unfinished jobs.... >make: *** [Makefile:106: sharedobjs/libbpf.o] Error 1 > * ERROR: dev-libs/libbpf-0.0.8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-libs/libbpf-0.0.8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-libs/libbpf-0.0.8::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-libs/libbpf-0.0.8:20200423-095729.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libbpf-0.0.8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libbpf-0.0.8/temp/environment'. > * Working directory: '/var/tmp/portage/dev-libs/libbpf-0.0.8/work/libbpf-0.0.8/src' > * S: '/var/tmp/portage/dev-libs/libbpf-0.0.8/work/libbpf-0.0.8/src' > > > >emerge --info: >Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.3.0, glibc-2.30-r8, 4.9.0-4-arm64 aarch64) >================================================================= >System uname: Linux-4.9.0-4-arm64-aarch64-with-gentoo-2.7 >KiB Mem: 131544964 total, 99650732 free >KiB Swap: 3321056 total, 2274364 free >Timestamp of repository gentoo: Wed, 22 Apr 2020 12:41:33 +0000 >sh bash 5.0_p16 >ld GNU ld (Gentoo 2.34 p1) 2.34.0 >app-shells/bash: 5.0_p16::gentoo >dev-lang/perl: 5.30.2::gentoo >dev-lang/python: 2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.8.2-r1::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.18::gentoo >sys-devel/autoconf: 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34::gentoo >sys-devel/gcc: 9.3.0::gentoo >sys-devel/gcc-config: 2.2.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) >sys-libs/glibc: 2.30-r8::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="arm64 ~arm64" >ACCEPT_LICENSE="*" >CBUILD="aarch64-unknown-linux-gnu" >CC="aarch64-unknown-linux-gnu-gcc" >CFLAGS="-O2 -pipe -march=native -g -ggdb" >CHOST="aarch64-unknown-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="aarch64-unknown-linux-gnu-g++" >CXXFLAGS="-O2 -pipe -march=native -g -ggdb" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -g -ggdb" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -g -ggdb" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j96" >PKGDIR="/usr/portage/packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl arm64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
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 719022
: 634168