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

Evergreen loses compiler warnings, need way to add to CFLAGS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.4.1, 4.7.0
    • 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

    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

              donald.anderson@mongodb.com Donald Anderson
              luke.chen@mongodb.com Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: