lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <25921.30263.150556.245226@quad.stoffel.home>
Date:   Tue, 31 Oct 2023 17:48:39 -0400
From:   "John Stoffel" <john@...ffel.org>
To:     Kent Overstreet <kent.overstreet@...ux.dev>
Cc:     Geert Uytterhoeven <geert@...ux-m68k.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        linux-bcachefs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL] bcachefs for v6.7


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ