I have just observed a similar issue on my Ubuntu. During compiling xdp
program by:

clang -O2 -target bpf -c xdp_program.c -o xdp_program.o

I got:

In file included from xdp_program.c:1:
In file included from /usr/include/arpa/inet.h:21:
In file included from /usr/include/features.h:402:
/usr/include/features-time64.h:20:10: fatal error: 'bits/wordsize.h' file not 
found
   20 | #include <bits/wordsize.h>
      |          ^~~~~~~~~~~~~~~~~
1 error generated.

wordsize.h is only in: /usr/include/x86_64-linux-gnu/bits/wordsize.h

Info about system:
6.11.0-13-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 30 23:51:51 UTC 2024 
x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.10
Ubuntu clang version 19.1.1 (1ubuntu1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067082

Title:
  bits/wordsize.h: No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2067082/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to