Evergreen loses compiler warnings, need way to add to CFLAGS

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • 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
    • 3

      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.

              Assignee:
              Donald Anderson
              Reporter:
              Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: