From owner-freebsd-ports@freebsd.org Wed Jul 20 18:42:14 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2A55B9FEFE for ; Wed, 20 Jul 2016 18:42:14 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-156.reflexion.net [208.70.211.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78DEF139D for ; Wed, 20 Jul 2016 18:42:14 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 18476 invoked from network); 20 Jul 2016 18:42:53 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 20 Jul 2016 18:42:53 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.90.6) with SMTP; Wed, 20 Jul 2016 14:42:07 -0400 (EDT) Received: (qmail 15119 invoked from network); 20 Jul 2016 18:42:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Jul 2016 18:42:07 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id B10C81C42A7; Wed, 20 Jul 2016 11:42:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r418841 - in head/benchmarks/iozone: . files From: Mark Millard In-Reply-To: <8238CC04-1CFA-47DE-8605-9E07CA5B3EE6@dsl-only.net> Date: Wed, 20 Jul 2016 11:42:11 -0700 Cc: w.schwarzenfeld@utanet.at, mat@FreeBSD.org, koobs@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <8238CC04-1CFA-47DE-8605-9E07CA5B3EE6@dsl-only.net> To: jpaetzel@FreeBSD.org, FreeBSD Ports X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 18:42:14 -0000 [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=3Drevision&revision=3D418841 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=3D211152 =3D=3D=3D Mark Millard markmi at dsl-only.net