Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5130

Enable Big-endian (s390x/zSeries) working with Evergreen distro ubuntu1804-zseries-build

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1, WT10.0.0, 4.2.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage Engines 2019-10-07

      After switching to ubuntu1804-zseries-build, the build failed with the following compiler warnings:

      [2019/09/20 15:04:41.975] ../src/checksum/zseries/slicing-consts.h:779:57: error: 'crc32ctable_be' defined but not used [-Werror=unused-const-variable=]
      [2019/09/20 15:04:41.975]  static const unsigned int __attribute__((aligned(128))) crc32ctable_be[8][256] = {
      [2019/09/20 15:04:41.975]                                                          ^~~~~~~~~~~~~~
      [2019/09/20 15:04:41.975] ../src/checksum/zseries/slicing-consts.h:261:57: error: 'crc32table_be' defined but not used [-Werror=unused-const-variable=]
      [2019/09/20 15:04:41.975]  static const unsigned int __attribute__((aligned(128))) crc32table_be[8][256] = {
      [2019/09/20 15:04:41.975]                                                          ^~~~~~~~~~~~~
      [2019/09/20 15:04:41.975] ../src/checksum/zseries/slicing-consts.h:2:57: error: 'crc32table_le' defined but not used [-Werror=unused-const-variable=]
      [2019/09/20 15:04:41.975]  static const unsigned int __attribute__((aligned(128))) crc32table_le[8][256] = {
      [2019/09/20 15:04:41.975]                                                          ^~~~~~~~~~~~~
      [2019/09/20 15:04:42.016] cc1: all warnings being treated as errors
      [2019/09/20 15:04:42.016] Makefile:2104: recipe for target 'src/checksum/zseries/crc32-s390x.lo' failed
      [2019/09/20 15:04:42.016] make[2]: *** [src/checksum/zseries/crc32-s390x.lo] Error 1
      

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: