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

Older versions of g++ fail to compile wiredtiger

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3
    • Storage - Ra 2021-01-25

      As of WT-7038 being merged the aws-perf machine on Jenkins has failed to compile WiredTiger, interestingly this doesn't align with the fact that on evergreen it compiled okay.

      Initial investigation suggested the issue was compiler version, however evergreen testing specifically tests older versions of gcc and g++.

      See: https://github.com/wiredtiger/wiredtiger/blob/64565550e2e8fe32d163e0f718c6a6d3e61a2503/test/evergreen.yml#L545

      As such it unclear as to why the aws-perf box isn't compiling successfully. A further investigation has revealed that by adding CXXFLAGS="-std=c++11" and by adding two c+ specific includes to the header test_harness.h the compilation succeeds.

      The work on this ticket is to:

      • Determine why evergreen works and aws-perf doesn't
      • Make the necessary changes to wiredtiger to fix the compilation and PR / Merge them.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: