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

Correctly configure libmemkind by build system not using it but with it installed

    • 3
    • Storage - Ra 2022-04-18

      On systems with libmemkind available, but configured not to build with libmemkind, the WiredTiger build is broken.

      In particular, there are two preprocessor variables for describing the state of libmemkind, HAVE_LIBMEMKIND and ENABLE_MEMKIND. The former is for detecting whether the library is installed, and the latter for whether we want to use it. block_cache.c erroneously uses HAVE_LIBMEMKIND while the build system uses ENABLE_MEMKIND. As a result, building without memkind on a system that has memkind will result in a bunch of undefined references, since the build system won't configure linking or include paths properly.

            Assignee:
            will.korteland@mongodb.com Will Korteland
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: