[This is a resend: Replying to svn-ports-head did not seem to go through so I'm 
trying freebsd-ports. I have fixed a typo.]

https://svnweb.freebsd.org/ports?view=revision&revision=418841 is broken on 
armv6, powerpc, and all other ILP32 FreeBSD architectures:

+-typedef long long off64_t;
++typedef long off64_t;

long is not 64-bits but only 32-bits for ILP32 FreeBSD architectures. FreeBSD 
uses 64 bits for off_t even for ILP32 architectures. For FreeBSD off_t and 
iozone's off64_t need to be compatible.

Use of %ld instead of %lld formats have the same issue with ILP32 FreeBSD 
architectures.

+-                      sscanf(optarg,"%lld",&kilobytes64);
++                      sscanf(optarg,"%ld",&kilobytes64);



See the activity at:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211152


===
Mark Millard
markmi at dsl-only.net


_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to