[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    head r354975 and/or later broke ci.freebsd.org's FreeBSD-head-amd64-gcc builds in tests/sys/sys/bits
From:       Mark Millard <marklmi () yahoo ! com>
Date:       2019-11-22 21:32:46
Message-ID: 4F765E6D-0444-41D0-B739-8965B4CDC3BF () yahoo ! com
[Download RAW message or body]


#12250 (of r355014) gots the likes of:

20:48:53 
--- all_subdir_tests/sys/sys ---

20:48:53 
/workspace/src/tests/sys/sys/bitstring_test.c: In function 'atfu_bit_ffc_area_body':

20:48:53 
/workspace/src/sys/sys/bitstring.h:205:5: error: assuming signed overflow does not \
occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]

20:48:53 
  if (_start >= _nbits) {

20:48:53 
     ^

(I'll not list all the similar errors.)



The first breakage (later changed by lwhsu) was for #12238 (of r354977)
and was different:

21:21:52 
--- all_subdir_tests/sys/sys ---

21:21:52 
/workspace/src/tests/sys/sys/bitstring_test.c: In function 'atfu_bit_ffs_area_body':

21:21:52 
/workspace/src/tests/sys/sys/bitstring_test.c:350:2: error: variable-sized object may \
not be initialized

21:21:52 
  bitstr_t bit_decl(bitstr, nbits) = {};

21:21:52 
  ^~~~~~~~

21:21:52 
/workspace/src/tests/sys/sys/bitstring_test.c: In function 'atfu_bit_ffc_area_body':

21:21:52 
/workspace/src/tests/sys/sys/bitstring_test.c:419:2: error: variable-sized object may \
not be initialized

21:21:52 
  bitstr_t bit_decl(bitstr, nbits) = {};

21:21:52 
  ^~~~~~~~

21:21:52 
*** [bitstring_test.o] Error code 1


But, as of when I looked, none of the FreeBSD-head-amd64-gcc build attempts have
completed since then.


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic