fio failed to build due to gettid define conflict
Cypresslin opened this issue · 2 comments
Cypresslin commented
Issue found on Ubuntu Eoan 19.10, with gcc (Ubuntu 9.2.1-8ubuntu1) 9.2.1 20190909, glibc (Ubuntu GLIBC 2.30-0ubuntu1) 2.30
It looks like it's shipping the gettid in /usr/include/x86_64-linux-gnu/bits/unistd_ext.h with newer glibc.
And this creates a conflict while compiling the code.
Cypresslin commented
Hmm, I think this belongs to FIO itself, will open a bug there.
Thanks.
Cypresslin commented
Sorry just spoke too soon, fio has already added the capability to detect the presence of gettid, maybe we should bump the fio version in xfstests-bld.