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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0, WT11.0.1
    • None
    • None
    • 1

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: