From owner-freebsd-ports-bugs@freebsd.org Fri Jul 22 10:22:42 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 E7C99BA15BE for ; Fri, 22 Jul 2016 10:22:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D649D11FE for ; Fri, 22 Jul 2016 10:22:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6MAMgv7057535 for ; Fri, 22 Jul 2016 10:22:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211289] benchmarks/iozone for armv6 and other ILP32 FreeBSD architectures: error: typedef redefinition with different types ('long' vs '__off64_t' (aka 'long long')) Date: Fri, 22 Jul 2016 10:22:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jpaetzel@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 10:22:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211289 Bug ID: 211289 Summary: benchmarks/iozone for armv6 and other ILP32 FreeBSD architectures: error: typedef redefinition with different types ('long' vs '__off64_t' (aka 'long long')) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jpaetzel@FreeBSD.org Reporter: markmi@dsl-only.net Flags: maintainer-feedback?(jpaetzel@FreeBSD.org) Assignee: jpaetzel@FreeBSD.org Here is what the recently updated benchmarks/iozone fails like for armv6 bu= ilds based on the updates that were recently made (only listing the first few warnings but including the one error): cc -c -pipe -mcpu=3Dcortex-a7 -g -fno-strict-aliasing -DFreeBSD -Dunix -D= bsd4_4 -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD -DNAME=3D'"freebsd"' -DSHARED_MEM = -pipe - mcpu=3Dcortex-a7 -g -fno-strict-aliasing iozone.c -o iozone_freebsd.o iozone.c:363:14: error: typedef redefinition with different types ('long' vs '__off64_t' (aka 'long long')) typedef long off64_t; ^ /usr/include/sys/types.h:178:19: note: previous definition is here typedef __off64_t off64_t; /* file offset (alias) */ ^ iozone.c:762:9: warning: 'CACHE_LINE_SIZE' macro redefined [-Wmacro-redefin= ed] #define CACHE_LINE_SIZE 32 ^ /usr/include/machine/param.h:109:9: note: previous definition is here #define CACHE_LINE_SIZE (1 << CACHE_LINE_SHIFT) ^ iozone.c:1921:24: warning: format specifies type 'long *' but the argument = has type 'off64_t *' (aka 'long long *') [-Wformat] sscanf(optarg,"%ld",&kilobytes64); ~~~ ^~~~~~~~~~~~ %lld iozone.c:1945:68: warning: format specifies type 'long' but the argument has type 'off64_t' (aka 'long long') [-Wformat] sprintf(splash[splash_line++],"\tFile size set to %= ld kB\n",kilobytes64); ~= ~~=20=20 ^~~~~~~~~~~ %= lld iozone.c:2319:82: warning: format specifies type 'long' but the argument has type 'off64_t' (aka 'long long') [-Wformat] sprintf(splash[splash_line++],"\tUsing minimum file size of %ld kilobytes.\n",minimum_file_size); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ~~~ ^~~~~~~~~~~~~~~~~ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 %lld powerpc (32-bit) likely would get the same sort of messages, including the error. The same for other ILP32 FreeBSD architectures: long is only 32-bits= but off_t is 64 bits. -r418913 of /usr/ports was used for the above under 11.0-BETA2 (so clang 3.8.0). --=20 You are receiving this mail because: You are the assignee for the bug.=