Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-50108

TSan against Go targets cannot find stdlib.h on macOS

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • build
    • None
    • 1

    Description

      On macOS, Golang fails with the following error when building with TSan:

      _cgo_export.c:3:10: fatal error 'stdlib.h' file not found

      Using the following CMake arguments:

      cmake -G Ninja -DCB_THREADSANITIZER=1 -DCMAKE_INSTALL_PREFIX=../install ..
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty