[llvm-bugs] [Bug 47965] New: Can't compile libsanitizer with master glibc: fatal error: sys/timeb.h: No such file or directory
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 25 14:13:26 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47965
Bug ID: 47965
Summary: Can't compile libsanitizer with master glibc: fatal
error: sys/timeb.h: No such file or directory
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: romain.geissler at amadeus.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Hi,
Trying to compile master gcc with master glibc, I have the following error:
/workdir/src/gcc-11.0.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:63:10:
fatal error: sys/timeb.h: No such file or directory
63 | #include <sys/timeb.h>
| ^~~~~~~~~~~~~
compilation terminated.
It seems that recent glibc did remove the deprecated header sys/timeb.h.
Can you please conditionally include this header if it really exists in the
sanitizers ?
Thanks,
Romain
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201025/244ce068/attachment.html>
More information about the llvm-bugs
mailing list