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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.16.0
    • 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

              Unassigned Unassigned
              gawain_bolton Gawain BOLTON
              Votes:
              0 Vote for this issue
              Watchers:
              3 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