Date: Tue, 21 Jun 2016 16:50:25 -0400 From: Jim Ohlstein <jim@ohlste.in> To: Alphons van Werven <freebsd@skysmurf.nl> Cc: Doug Sampson <dougs@dawnsign.com>, FreeBSD ports mailing list <freebsd-ports@freebsd.org> Subject: Re: iozone3-434 fails to rebuild Message-ID: <F5806EC6-6E07-4CAF-BDB8-5CE381DB4A8C@ohlste.in> In-Reply-To: <20160621201446.GA32054@spectrum.skysmurf.nl> References: <E6B2517F8D6DBF4CABB8F38ACA367E783DA6DCAD@Draco.dawnsign.com> <20160621201446.GA32054@spectrum.skysmurf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, > On Jun 21, 2016, at 4:14 PM, Alphons van Werven <freebsd@skysmurf.nl> wrot= e: >=20 > Doug Sampson wrote: >=20 >> it crashes as follows: >>=20 >> ### >> <...snip...> >> iozone.c:1297:1: error: unknown type name 'off64_t'; did you mean 'off_t'= ? >> off64_t offset =3D 0; /*offset for random I/O */ >> ^~~~~~~ >> off_t >> /usr/include/sys/types.h:173:18: note: 'off_t' declared here >> typedef __off_t off_t; /* file offset */ >> ^ > [snip] >> Doesn't matter which config options I select/deselect, >=20 > As far as I can tell it doesn't *crash*, it merely fails to build ;-) >=20 > I don't think the options are relevant in this case. If I'm not mistaken > off64_t is some kind of GNU extension, but installing lang/gcc and trying > to compile a piece of sample code with GCC still didn't work for me. Which= > means I can reproduce the problem on 10.2-RELEASE-p19/amd64. >=20 > There seems to be a #define or typedef missing somewhere. Perhaps somebody= > can ask around upstream what the authors are expecting from the off64_t > type, so we can find a suitable replacement on FreeBSD systems: probably > offset_t, (u)int64_t, or something along those lines. How about it be reverted to the previous, WORKING, version in the meantime, a= nd before an "upgrade" is committed, proper testing is done? Just sayin' -- Jim=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5806EC6-6E07-4CAF-BDB8-5CE381DB4A8C>