Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6992

[C++]: Undefined Behavior sanitizer build option fails with GCC

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: C++

      Description

      Then build with the "undefined behaviour sanitizer" option (-DARROW_USE_UBSAN=ON) the compilation fails with GCC:

      c++: error: unrecognized argument to ‘-fno-sanitize=’ option: ‘function’

      It appears that GCC has never had a "-fsanitize=function" option.

      I have fixed this issue and will submit a PR. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gawain_bolton Gawain BOLTON
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m