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

Evergreen loses compiler warnings, need way to add to CFLAGS

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

      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@mongodb.com Donald Anderson
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: