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: <adbe8dd1-a725-4811-ae7e-76fe770cf096@linux.vnet.ibm.com>
Date: Thu, 27 Feb 2025 06:30:12 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>
To: sfr@...b.auug.org.au, linux-kernel@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org
Subject: [next-20250226]Build Failure

Greetings!!!

I am seeing build failures with kernel next-20250226, on IBM Power8 systems.

Failures:

In file included from ./include/asm-generic/div64.h:27,
                  from ./arch/powerpc/include/generated/asm/div64.h:1,
                  from ./include/linux/math.h:6,
                  from ./include/linux/math64.h:6,
                  from ./include/linux/time.h:6,
                  from fs/ext4/file.c:22:
fs/ext4/file.c: In function 'ext4_sample_last_mounted':
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:418:6: note: in expansion of macro 
'__must_be_noncstr'
       __must_be_noncstr(dest) +  \
       ^~~~~~~~~~~~~~~~~
fs/ext4/file.c:869:2: note: in expansion of macro 'strtomem_pad'
   strtomem_pad(sbi->s_es->s_last_mounted, cp, 0);
   ^~~~~~~~~~~~
In file included from ./include/linux/build_bug.h:5,
                  from ./include/linux/container_of.h:5,
                  from ./include/linux/list.h:5,
                  from ./include/linux/module.h:12,
                  from drivers/message/fusion/mptsas.c:46:
drivers/message/fusion/mptsas.c: In function 
'mptsas_exp_repmanufacture_info':
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/message/fusion/mptsas.c:2968:3: note: in expansion of macro 
'memtostr'
    memtostr(edev->vendor_id, manufacture_reply->vendor_id);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/message/fusion/mptsas.c:2969:3: note: in expansion of macro 
'memtostr'
    memtostr(edev->product_id, manufacture_reply->product_id);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/message/fusion/mptsas.c:2970:3: note: in expansion of macro 
'memtostr'
    memtostr(edev->product_rev, manufacture_reply->product_rev);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/message/fusion/mptsas.c:2973:4: note: in expansion of macro 
'memtostr'
     memtostr(edev->component_vendor_id,
     ^~~~~~~~
make[4]: *** [scripts/Makefile.build:203: fs/ext4/file.o] Error 1
make[3]: *** [scripts/Makefile.build:461: fs/ext4] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from ./include/linux/array_size.h:5,
                  from ./include/linux/kernel.h:16,
                  from drivers/scsi/mpt3sas/mpt3sas_base.c:46:
drivers/scsi/mpt3sas/mpt3sas_base.c: In function 
'_base_display_ioc_capabilities':
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_base.c:4798:2: note: in expansion of macro 
'memtostr'
   memtostr(desc, ioc->manu_pg0.ChipName);
   ^~~~~~~~
In file included from ./include/linux/build_bug.h:5,
                  from ./include/linux/container_of.h:5,
                  from ./include/linux/list.h:5,
                  from ./include/linux/module.h:12,
                  from drivers/scsi/mpt3sas/mpt3sas_transport.c:45:
drivers/scsi/mpt3sas/mpt3sas_transport.c: In function 
'_transport_expander_report_manufacture':
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_transport.c:461:3: note: in expansion of 
macro 'memtostr'
    memtostr(edev->vendor_id, manufacture_reply->vendor_id);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_transport.c:462:3: note: in expansion of 
macro 'memtostr'
    memtostr(edev->product_id, manufacture_reply->product_id);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_transport.c:463:3: note: in expansion of 
macro 'memtostr'
    memtostr(edev->product_rev, manufacture_reply->product_rev);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_transport.c:466:4: note: in expansion of 
macro 'memtostr'
     memtostr(edev->component_vendor_id,
     ^~~~~~~~
make[5]: *** [scripts/Makefile.build:203: 
drivers/scsi/mpt3sas/mpt3sas_transport.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [scripts/Makefile.build:203: 
drivers/message/fusion/mptsas.o] Error 1
make[4]: *** [scripts/Makefile.build:461: drivers/message/fusion] Error 2
make[3]: *** [scripts/Makefile.build:461: drivers/message] Error 2
make[3]: *** Waiting for unfinished jobs....
make[5]: *** [scripts/Makefile.build:203: 
drivers/scsi/mpt3sas/mpt3sas_base.o] Error 1
In file included from ./include/linux/array_size.h:5,
                  from ./include/linux/kernel.h:16,
                  from drivers/scsi/qla2xxx/qla_def.h:9,
                  from drivers/scsi/qla2xxx/qla_mr.c:6:
drivers/scsi/qla2xxx/qla_mr.c: In function 'qlafx00_fx_disc':
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/qla2xxx/qla_mr.c:1912:3: note: in expansion of macro 'memtostr'
    memtostr(vha->hw->model_number, pinfo->model_num);
    ^~~~~~~~
./include/linux/compiler.h:197:62: error: static assertion failed: "must 
be non-C-string (not NUL-terminated)"
  #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct 
{_Static_assert(!(e), msg);}))
^~~~~~~~~~~~~~
./include/linux/compiler.h:226:2: note: in expansion of macro 
'__BUILD_BUG_ON_ZERO_MSG'
   __BUILD_BUG_ON_ZERO_MSG(!__is_noncstr(p), \
   ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/string.h:468:26: note: in expansion of macro 
'__must_be_noncstr'
   const size_t _src_len = __must_be_noncstr(src) +  \
                           ^~~~~~~~~~~~~~~~~
drivers/scsi/qla2xxx/qla_mr.c:1913:3: note: in expansion of macro 'memtostr'
    memtostr(vha->hw->model_desc, pinfo->model_description);
    ^~~~~~~~
make[5]: *** [scripts/Makefile.build:203: drivers/scsi/qla2xxx/qla_mr.o] 
Error 1
make[5]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:461: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[4]: *** [scripts/Makefile.build:461: drivers/scsi/mpt3sas] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [scripts/Makefile.build:461: drivers/scsi/qla2xxx] Error 2
make[3]: *** [scripts/Makefile.build:461: drivers/scsi] Error 2
make[2]: *** [scripts/Makefile.build:461: drivers] Error 2
make[1]: *** [/root/linux-next/Makefile:1989: .] Error 2
make: *** [Makefile:251: __sub-make] Error 2

Regards,

Venkat.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ