On May 27, 2020 / 01:08, Tomohiro Kusumi wrote: > b76949618d557bd63181245aa522ead9b92d274b ("fio: Generalize zonemode=zbd") > which got rid of CONFIG_HAS_BLKZONED flag broke compilation on NetBSD, > as pthread in NetBSD doesn't have pthread_mutexattr_setpshared(3). > Looks like OpenBSD doesn't have it either. > > -- > ld: zbd.o: in function `parse_zone_info': > fio/zbd.c:422: undefined reference to `pthread_mutexattr_setpshared' > ld: zbd.o: in function `init_zone_info': > fio/zbd.c:378: undefined reference to `pthread_mutexattr_setpshared' > gmake: *** [Makefile:483: fio] Error 1 Hello Tomohiro, I have sent out a patch series with subject "Fix compilation error on BSD" which tries to address the issue. I do not have BSD systems and can not confirm the series fixes the issue. Could you help to check the fix with your system? -- Best Regards, Shin'ichiro Kawasaki