[Bug 2067082] Re: bits/wordsize.h: No such file or directory
Przemysław Lewandowski
2067082 at bugs.launchpad.net
Thu Dec 19 19:44:25 UTC 2024
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
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2067082
Title:
bits/wordsize.h: No such file or directory
Status in glibc package in Ubuntu:
Confirmed
Bug description:
When trying to do a "make install" of Wine 8.0.2 it fails with the
following:
ccache cc -c -o dlls/winecrt0/dll_entry.o /home/test/wine-git/dlls/winecrt0/dll_entry.c -Idlls/winecrt0 \
-I/home/test/wine-git/dlls/winecrt0 -Iinclude -I/home/test/wine-git/include -D__WINESRC__ \
-DWINE_UNIX_LIB -Wall -pipe -fcf-protection=none -fno-stack-protector -fno-strict-aliasing \
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-4 -fPIC \
-fasynchronous-unwind-tables -g -O2 -pipe -m32
In file included from /usr/include/features.h:392,
from /usr/include/ctype.h:25,
from /home/test/wine-git/include/winnt.h:30,
from /home/test/wine-git/include/windef.h:290,
from /home/test/wine-git/dlls/winecrt0/dll_entry.c:29:
/usr/include/features-time64.h:20:10: fatal error: bits/wordsize.h: No such file or directory
20 | #include <bits/wordsize.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:234902: dlls/winecrt0/dll_entry.o] Error 1
From what I can see the file exists at /usr/include/x86_64-linux-
gnu/bits/wordsize.h but /usr/include/bits/wordsize.h does indeed not
exist.
Am I simply misunderstanding how the compilation works?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3.7
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Fri May 24 16:27:12 2024
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2019-08-06T11:56:22.315382
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2067082/+subscriptions
More information about the foundations-bugs
mailing list