* Build failure on NetBSD since "fio: Generalize zonemode=zbd"
@ 2020-05-26 16:08 Tomohiro Kusumi
2020-05-28 13:02 ` Shinichiro Kawasaki
0 siblings, 1 reply; 4+ messages in thread
From: Tomohiro Kusumi @ 2020-05-26 16:08 UTC (permalink / raw)
To: fio
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build failure on NetBSD since "fio: Generalize zonemode=zbd"
2020-05-26 16:08 Build failure on NetBSD since "fio: Generalize zonemode=zbd" Tomohiro Kusumi
@ 2020-05-28 13:02 ` Shinichiro Kawasaki
2020-05-28 16:46 ` Tomohiro Kusumi
0 siblings, 1 reply; 4+ messages in thread
From: Shinichiro Kawasaki @ 2020-05-28 13:02 UTC (permalink / raw)
To: Tomohiro Kusumi; +Cc: fio
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build failure on NetBSD since "fio: Generalize zonemode=zbd"
2020-05-28 13:02 ` Shinichiro Kawasaki
@ 2020-05-28 16:46 ` Tomohiro Kusumi
2020-05-29 7:03 ` Shinichiro Kawasaki
0 siblings, 1 reply; 4+ messages in thread
From: Tomohiro Kusumi @ 2020-05-28 16:46 UTC (permalink / raw)
To: Shinichiro Kawasaki; +Cc: fio
2020年5月28日(木) 22:02 Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>:
>
> 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?
Hi
Thank you for taking a look at it.
The build failure on NetBSD and OpenBSD are both fixed now.
(I've also compiled it on FreeBSD and DragonFlyBSD which seem to support
pthread_mutexattr_setpshared(3) (at least compile), and they didn't have build
issue with your patch series as well.)
>
> --
> Best Regards,
> Shin'ichiro Kawasaki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build failure on NetBSD since "fio: Generalize zonemode=zbd"
2020-05-28 16:46 ` Tomohiro Kusumi
@ 2020-05-29 7:03 ` Shinichiro Kawasaki
0 siblings, 0 replies; 4+ messages in thread
From: Shinichiro Kawasaki @ 2020-05-29 7:03 UTC (permalink / raw)
To: Tomohiro Kusumi; +Cc: fio
On May 29, 2020 / 01:46, Tomohiro Kusumi wrote:
> 2020年5月28日(木) 22:02 Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>:
> >
> > 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?
>
> Hi
>
> Thank you for taking a look at it.
> The build failure on NetBSD and OpenBSD are both fixed now.
>
> (I've also compiled it on FreeBSD and DragonFlyBSD which seem to support
> pthread_mutexattr_setpshared(3) (at least compile), and they didn't have build
> issue with your patch series as well.)
Tomohiro, thanks for the confirmation. Sounds good.
Jens, thank you for the quick pick up.
--
Best Regards,
Shin'ichiro Kawasaki
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-29 7:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 16:08 Build failure on NetBSD since "fio: Generalize zonemode=zbd" Tomohiro Kusumi
2020-05-28 13:02 ` Shinichiro Kawasaki
2020-05-28 16:46 ` Tomohiro Kusumi
2020-05-29 7:03 ` Shinichiro Kawasaki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.