Actions
Bug #1332
closed
SD
LTTng-UST requires glibc >= 2.16 to build
Bug #1332:
LTTng-UST requires glibc >= 2.16 to build
Start date:
11/25/2021
Due date:
% Done:
0%
Estimated time:
Description
There is "static_assert" macro used in the code, which is only supported in glibc's "assert.h" header starting from version 2.16.
According to this page https://gcc.gnu.org/wiki/C11Status.
Please state this requirement in README or use more portable "_Static_assert" macro.
MD Updated by Mathieu Desnoyers almost 4 years ago
- Status changed from New to Feedback
Can you try the following patch and let us know if it fixes your issue ?
https://review.lttng.org/c/lttng-ust/+/6837 Fix: static_assert unavailable with glibc < 2.16
SD Updated by Sergei Dyshel almost 4 years ago
Works for me!
MD Updated by Mathieu Desnoyers almost 4 years ago
MJ Updated by Michael Jeanson over 3 years ago
- Target version changed from 41 to 2.13
Actions