From owner-freebsd-current@freebsd.org Mon Jul 31 23:21:30 2017 Return-Path: Delivered-To: freebsd-current@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 83658DBFF67 for ; Mon, 31 Jul 2017 23:21:30 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 542A16D5CB; Mon, 31 Jul 2017 23:21:30 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: by mail-pf0-x244.google.com with SMTP id e3so57736pfc.5; Mon, 31 Jul 2017 16:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:subject:date:message-id:cc:to :mime-version; bh=m97F74DwY4GIAARqqoVbylxvRRuzqBlYWi1Ie07LBwE=; b=d3aA/qkoj0gV2qvXUMhV4TUJzXfMvjqIKw0cKNWhFIs/JwCl5rs8xYKQGz3FDmJftV zLUvtVfDhUvRSfjus5/kBVW0SQ0BDOpr54GtTPM14bctLeNLz6hN5q+wvDN9yIyeTzDs qd7XVP7t8qZl65tuols5VpclcivAQ+DtSt4D5GYx1mqkwFTjB9sl8KemVsBxz7szMG4X 6pFCkQf6uI1Ip4jYjsRfink/ZvHTPvZB3ofbENCkyhDMcVTOqB4ju5rWwKBC5TzFWvD9 Y3HnENpKEDidBTC2DEEuFy3RthCo+JYY/np9JJyObP9puysGzaxakSfHOY7BPHTSCWFR Xy+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject:date :message-id:cc:to:mime-version; bh=m97F74DwY4GIAARqqoVbylxvRRuzqBlYWi1Ie07LBwE=; b=hPglBbqhFnh1zmbdas6U5yRBH/1x+Tw293iFywjHDKOkFLXWvN5IYMogS6lbPIeZY2 NecoxWmu4688JbHgZszi3XO2r9xLhSlZz1ofF9bh+9+V93tV88h9o1yRAORMi437VwQp 84iqmCRv5KH+qj1YTNX70q6/YjZdOr1O3QZOnQ85BtzlyTo5KZAC4ldIqxg0HyGIUeu9 yiL4rVLUnRGkcbRT5xVS9Hi05u0IPT55yV0qwy4RN23aSPqGLXNpYUflOG2xZC0PVl3r rve09AVQmuIMKxd5uMJTnXfBNYa3MFZz89jQcDw74CC2D2EJCKM9Zi8MbnPPD8Id9U3V CWjQ== X-Gm-Message-State: AIVw111zA51SOtt2ggoUuw2jzSgprQr/G/P2YD+vHZOA096ymLOEdFX3 gvblPIDjZ5EP9RrNjzw= X-Received: by 10.99.95.133 with SMTP id t127mr17018718pgb.142.1501543289785; Mon, 31 Jul 2017 16:21:29 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id x126sm32027464pfb.179.2017.07.31.16.21.28 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 31 Jul 2017 16:21:28 -0700 (PDT) From: Ngie Cooper Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: tools/tools/zfsboottest doesn't compile on ^/head Date: Mon, 31 Jul 2017 16:21:27 -0700 Message-Id: Cc: FreeBSD Current , Andriy Gapon To: Dimitry Andric , Toomas Soome Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-Mailman-Approved-At: Mon, 31 Jul 2017 23:47:40 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 23:21:30 -0000 Hi, It looks like zfsboottest no longer compiles on ^/head (guessing = it has to do with the clang upgrade). If someone doesn=E2=80=99t fix this build breakage in the next = few hours, I=E2=80=99ll take a stab at fixing it. Thanks, -Ngie PS zfsboottest should really be compiled with world if MK_ZFS !=3D no. $ (cd tools/tools/zfsboottest/; make obj; make) cc -O1 -I/usr/src/tools/tools/zfsboottest/../../../sys/boot/zfs = -I/usr/src/tools/tools/zfsboottest/../../../sys/cddl/boot/zfs -I. = -fdiagnostics-show-option -W -Wextra -Wno-sign-compare = -Wno-unused-parameter -m32 -g --coverage -MD -MF.depend.zfsboottest.o = -MTzfsboottest.o -std=3Dgnu99 -fstack-protector-strong = -Qunused-arguments -c /usr/src/tools/tools/zfsboottest/zfsboottest.c -o = zfsboottest.o In file included from /usr/src/tools/tools/zfsboottest/zfsboottest.c:56: /usr/src/tools/tools/zfsboottest/../../../sys/boot/zfs/zfsimpl.c:797:9: = error: returning 'void' from a function with incompatible result type = 'int' return (pager_output(line)); ^~~~~~~~~~~~~~~~~~~~ = /usr/src/tools/tools/zfsboottest/../../../sys/boot/zfs/zfsimpl.c:2356:17: = warning: array index 264 is past the end of the array (which contains = 192 elements) [-Warray-bounds] memcpy(path, &dn->dn_bonus[sizeof(znode_phys_t)], = psize); ^ ~~~~~~~~~~~~~~~~~~~~ = /usr/src/tools/tools/zfsboottest/../../../sys/cddl/boot/zfs/zfsimpl.h:910:= 2: note: array 'dn_bonus' declared here uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)]; ^ 1 warning and 1 error generated. *** Error code 1 Stop. make: stopped in /usr/src/tools/tools/zfsboottest 157873 imp void 157873 imp printf(const char *fmt,=E2=80=A6) 104679 phk static void printf(const char *,...);