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

Disable strict-aliasing for GCC based builds

    • 1
    • ASeasonTooMany-2023-08-22

      We found via WT-10740 that are under certain optimization levels the WT code can confuse the GCC, especially around the WT_CELL_UNPACK* structures with strict aliasing. Given the importance of the cell unpacking code and its robustness, the team has agreed the best solution is to disable strict aliasing with GCC as it has known issues (e.g. linux does the same, as does MongoDB).

            Assignee:
            mick.graham@mongodb.com Mick Graham
            Reporter:
            mick.graham@mongodb.com Mick Graham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: