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

Fix issue with WT_INLINE not found on RHEL8 PPC

    • 1
    • 2024-02-20_A_near-death_puffin

      The underlying issue which is that the WT_INLINE macro introduce by WT-12368 is not found is captured in this log extract:

      [2024/02/14 00:46:09.448] FAILED: CMakeFiles/wt_objs.dir/src/checksum/power8/vec_crc32.c.o
       
      [2024/02/14 00:46:09.448] ccache /opt/mongodbtoolchain/v4/bin/clang -I/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.wqH/include/python3.10 -I/data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/cmake_build/include -I/data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/cmake_build/config -I/data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/include -D_GNU_SOURCE -g -fPIC -Og -g3 -ggdb3 -gdwarf-4 -fdebug-macro -MD -MT CMakeFiles/wt_objs.dir/src/checksum/power8/vec_crc32.c.o -MF CMakeFiles/wt_objs.dir/src/checksum/power8/vec_crc32.c.o.d -o CMakeFiles/wt_objs.dir/src/checksum/power8/vec_crc32.c.o -c /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c
      [2024/02/14 00:46:09.448] In file included from /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c:119:
      [2024/02/14 00:46:09.448] /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:15:8: error: unknown type name 'WT_INLINE'
      [2024/02/14 00:46:09.448] static WT_INLINE __vector unsigned long long __attribute__((overloadable))
      [2024/02/14 00:46:09.449] ^
      [2024/02/14 00:46:09.449] /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:18:12: error: returning '__vector unsigned long long' (vector of 2 'unsigned long long' values) from a function with incompatible result type 'int'
      [2024/02/14 00:46:09.449] return (__vector unsigned long long)__builtin_altivec_lvx(__a, __b);
      

       

      split-stress-test on rhel8-ppc

      Host: rhel81-ppc-8.pic.build.10gen.cc
      Project: wiredtiger
      Commit: 4031c4d9

      Task Logs:

      split-stress-test task_log

      Logs:

      FAILED: CMakeFiles/wt_objs.dir/src/checksum/power8/vec_crc32.c.o
      
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:15:8: error: unknown type name 'WT_INLINE'
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:18:12: error: returning '__vector unsigned long long' (vector of 2 'unsigned long long' values) from a function with incompatible result type 'int'
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:28:8: error: unknown type name 'WT_INLINE'
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:36:12: error: returning '__vector unsigned long long' (vector of 2 'unsigned long long' values) from a function with incompatible result type 'int'
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/clang_workaround.h:66:8: error: unknown type name 'WT_INLINE'
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c:219:19: error: call to 'vec_ld' is ambiguous
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c:220:18: error: call to 'vec_ld' is ambiguous
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c:231:23: error: call to 'vec_ld' is ambiguous
      

      logs

      split-stress-test task_log

      Logs:

      /data/mci/08e374d65972dc8e6e0281d8dcda9ba2/wiredtiger/src/checksum/power8/vec_crc32.c:232:22: error: call to 'vec_ld' is ambiguous
      

      logs

            Assignee:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: