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

Evergreen compilers pull request tests lost capture compilation warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Code Review
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage Engines 2020-02-24, Storage Engines 2020-03-09, Storage Engines 2020-04-06, Storage - Tora 2020-04-20, Storage - Tora 2020-05-04, Storage - Tora 2020-05-18

      Description

      It was recently reported in WT-5567 that some compilation warning-turned-to errors were not picked up by the Evergreen pull request testing, specifically, the 2 compilers tasks compile-gcc and compile_clang. 

      The default configure setting CFLAGS="-ggdb -fPIC" in Evergreen seems to be the factor that made the difference. If we skip the "-ggdb" CFLAGS setting, those -Werrors would be captured, otherwise not. We should revisit the -ggdb setting for those compilers tasks to avoid missing capture of compilation warnings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              donald.anderson Donald Anderson
              Reporter:
              luke.chen Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: