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

Older versions of g++ fail to compile wiredtiger

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: