Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp536222rdb; Tue, 31 Oct 2023 14:48:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGoPh44vwW19JpLsMZ9KmhyJy32f/wBQEYUwVth8QCGxlJAOEGTpG/lmgrMfwG79n4/uckW X-Received: by 2002:a05:6358:7e12:b0:169:65a1:655c with SMTP id o18-20020a0563587e1200b0016965a1655cmr10437912rwm.18.1698788934132; Tue, 31 Oct 2023 14:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698788934; cv=none; d=google.com; s=arc-20160816; b=EOJVB3UsIuiCuM2H+QQkPfT8YATR6POJ/38W3z+HDWohO0m8T48wgRWW3TdtOP0fFJ uG+nBueMTAVYQC2N+bLvYjRop+TO8IwKitnvYAxu3tfdSUlAaUfuKjmhwypj4oaFQI2V FM/bKnPX1+/idL+xJQNPTbCIiym4oSY46jEkmuGoI4FkCN2lCYHqShGpEKBSEhh7dGKY FJtpDkgjKbF3konBP2xOw80OrW+5j7oGmOg6jFXurlcZ3Bz32XeE6RtFrmetigMDIoEd 59B05iwigpvDtwj33kmh2mdsI582PyypZG9xN/J8eBu1GjcXMgDceYeNmLamsuNiQK/v qjog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:message-id :content-transfer-encoding:mime-version; bh=rWzgoipvFSxnvCm0ianeK+DOHRrgHngKA/4Jao/T0SY=; fh=Fxkn0RWgS6wUUPz1ZGiXLn+q9+5QEKg9Tq94X4Y+OV0=; b=RrLJsKpIFfw0mWWIk4pwfkSGxlnuVGdI2QWOjIEuiZTqfA1bgFDaq3EKQSeivu38qf eYwVVvSZAerIThdoibtWrUhhgYkxYXMul00TrafrS50gcwY2YF96F8oi4UFPhPgk9OE4 Zo5kz2idzIuY9opengQ7g2X2GGy7Srl8zZPdCPSj9pYKcMIlOHekV2HX68YBWNwV443g 8pE+CnEdJKAoskthstG+t4g54sEPFo5g0unmkd6i1Ad84zEor2s3J0fBdLpRvukKnpUt PRkioj88ssTZ2Eo7o9Xru6wctqD6RbpkT5Yr0mhcr7bOBun0XrvjWGu22V2DKjsFS/rg O+5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=stoffel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id a12-20020a63e84c000000b005b8f61fcba6si1573574pgk.452.2023.10.31.14.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 14:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=stoffel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A455280782AC; Tue, 31 Oct 2023 14:48:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234508AbjJaVso convert rfc822-to-8bit (ORCPT + 99 others); Tue, 31 Oct 2023 17:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjJaVsm (ORCPT ); Tue, 31 Oct 2023 17:48:42 -0400 Received: from mail.stoffel.org (mail.stoffel.org [172.104.24.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68F1E4; Tue, 31 Oct 2023 14:48:40 -0700 (PDT) Received: from quad.stoffel.org (097-095-183-072.res.spectrum.com [97.95.183.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.stoffel.org (Postfix) with ESMTPSA id 0DFA91E135; Tue, 31 Oct 2023 17:48:40 -0400 (EDT) Received: by quad.stoffel.org (Postfix, from userid 1000) id 2CCD7A8B05; Tue, 31 Oct 2023 17:48:39 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Message-ID: <25921.30263.150556.245226@quad.stoffel.home> Date: Tue, 31 Oct 2023 17:48:39 -0400 From: "John Stoffel" To: Kent Overstreet Cc: Geert Uytterhoeven , Linus Torvalds , linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] bcachefs for v6.7 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 31 Oct 2023 14:48:51 -0700 (PDT) Using latest HEAD from linux git (commit 5a6a09e97199d6600d31383055f9d43fbbcbe86f (HEAD -> master, origin/master, origin/HEAD), and the following config, I get this failure when compiling on x86_64 Debian Bullseye (11): CC fs/bcachefs/btree_io.o In file included from fs/bcachefs/btree_io.c:11: fs/bcachefs/btree_io.c: In function ‘bch2_btree_post_write_cleanup’: fs/bcachefs/btree_update_interior.h:274:36: error: array subscript 0 is outside the bounds of an interior zero-length array ‘struct bkey_packed[0]’ [-Werror=zero-length-bounds] 274 | __bch_btree_u64s_remaining(c, b, &bne->keys.start[0]); | ^~~~~~~~~~~~~~~~~~~ In file included from fs/bcachefs/bcachefs.h:206, from fs/bcachefs/btree_io.c:3: fs/bcachefs/bcachefs_format.h:2344:21: note: while referencing ‘start’ 2344 | struct bkey_packed start[0]; | ^~~~~ In file included from fs/bcachefs/btree_io.c:11: fs/bcachefs/btree_io.c: In function ‘bch2_btree_init_next’: fs/bcachefs/btree_update_interior.h:274:36: error: array subscript 0 is outside the bounds of an interior zero-length array ‘struct bkey_packed[0]’ [-Werror=zero-length-bounds] 274 | __bch_btree_u64s_remaining(c, b, &bne->keys.start[0]); | ^~~~~~~~~~~~~~~~~~~ In file included from fs/bcachefs/bcachefs.h:206, from fs/bcachefs/btree_io.c:3: fs/bcachefs/bcachefs_format.h:2344:21: note: while referencing ‘start’ 2344 | struct bkey_packed start[0]; | ^~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: fs/bcachefs/btree_io.o] Error 1 make[3]: *** [scripts/Makefile.build:480: fs/bcachefs] Error 2 make[2]: *** [scripts/Makefile.build:480: fs] Error 2 make[1]: *** [/local/src/kernel/git/linux/Makefile:1913: .] Error 2 make: *** [Makefile:234: __sub-make] Error 2 My .config looks like this for BCACHEFS: $ grep BCACHEFS .config CONFIG_BCACHEFS_FS=y CONFIG_BCACHEFS_QUOTA=y CONFIG_BCACHEFS_POSIX_ACL=y CONFIG_BCACHEFS_DEBUG_TRANSACTIONS=y CONFIG_BCACHEFS_DEBUG=y CONFIG_BCACHEFS_TESTS=y # CONFIG_BCACHEFS_LOCK_TIME_STATS is not set # CONFIG_BCACHEFS_NO_LATENCY_ACCT is not set