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

s_export on a clean WT checkout complains about unit-test function

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0, WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1

      From a clean checkout, running:

      mkdir build
      cd build
      cmake -DHAVE_DIAGNOSTIC=1 -DENABLE_STRICT=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON . -G Ninja ../.
      ninja
      cd ../dist
      ./s_export
      

      It complains:

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      unexpected external symbols in the WiredTiger library ../build/libwiredtiger.so
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      __ut_block_first_srch
      __ut_block_off_srch
      __ut_block_off_srch_last
      __ut_block_size_srch
      __ut_ckpt_add_blkmod_entry
      __ut_ovfl_discard_verbose
      __ut_ovfl_discard_wrapup
      

      This seems to be fallout from building the unit tests by default (s_export shouldn't find anything).

            Assignee:
            mick.graham@mongodb.com Mick Graham
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: