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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            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

                Slack

                  Issue deployment