Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871714 - net-libs/xdp-tools-1.2.3 - libbpftest.c:(.text+<snip>): undefined reference to bpf_set_link_xdp_fd_opts
Summary: net-libs/xdp-tools-1.2.3 - libbpftest.c:(.text+<snip>): undefined reference t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 12:29 UTC by Toralf Förster
Modified: 2022-09-20 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2022-09-19 12:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,243.67 KB, text/plain)
2022-09-19 12:29 UTC, Toralf Förster
Details
environment (environment,25.16 KB, text/plain)
2022-09-19 12:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.97 KB, application/x-bzip)
2022-09-19 12:29 UTC, Toralf Förster
Details
net-libs:xdp-tools-1.2.3:20220919-122843.log (net-libs:xdp-tools-1.2.3:20220919-122843.log,2.81 KB, text/plain)
2022-09-19 12:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.02 KB, application/x-bzip)
2022-09-19 12:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-19 12:29:38 UTC
config.mGR6mC/libbpftest.c:12:12: warning: implicit declaration of function bpf_set_link_xdp_fd_opts [-Wimplicit-function-declaration]
   12 |     (void) bpf_set_link_xdp_fd_opts(0, 0, 0, &xlopts);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.mGR6mC/ccljxEKZ.o: in function `main':
libbpftest.c:(.text+0x224): undefined reference to `bpf_set_link_xdp_fd_opts'
collect2: error: ld returned 1 exit status
 * ERROR: net-libs/xdp-tools-1.2.3::gentoo failed (configure phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220917-122001

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 5f57ce62a3ae5784d29b5b510d1174b73b1ef8d2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 19 12:16:58 2022 +0000

    2022-09-19 12:16:57 UTC

emerge -qpvO net-libs/xdp-tools
[ebuild  N    ] net-libs/xdp-tools-1.2.3  USE="tools"
Comment 1 Toralf Förster gentoo-dev 2022-09-19 12:29:40 UTC
Created attachment 812839 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-19 12:29:41 UTC
Created attachment 812842 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-19 12:29:43 UTC
Created attachment 812845 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-19 12:29:44 UTC
Created attachment 812848 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-19 12:29:45 UTC
Created attachment 812851 [details]
net-libs:xdp-tools-1.2.3:20220919-122843.log
Comment 6 Toralf Förster gentoo-dev 2022-09-19 12:29:46 UTC
Created attachment 812854 [details]
temp.tar.bz2
Comment 7 Jason A. Donenfeld gentoo-dev 2022-09-20 22:54:34 UTC
Should be fixed with 1.2.8. Reopen if still broken.