Skip to content

runtime/race: complete race detector on netbsd/amd64  #26403

Open

Description

@bradfitz

The new netbsd/amd64 race detector support is not 100% done yet, per #19273 (comment)

We also don't have a builder for it.

This is a tracking bug to see it completed.

/cc @krytarowski

Activity

  1. added this to the Unplanned milestone on Jul 16, 2018
  2. krytarowski commented on Jul 19, 2018

    @krytarowski
    Contributor

    I will work on it after squashing the remaining failures in C/C++ style check-tsan:

    $ check-tsan
    
    ********************
    Testing Time: 1336.74s
    ********************
    Failing Tests (8):
        ThreadSanitizer-x86_64 :: dtls.c
        ThreadSanitizer-x86_64 :: getline_nohang.cc
        ThreadSanitizer-x86_64 :: ignore_lib5.cc
        ThreadSanitizer-x86_64 :: ignored-interceptors-mmap.cc
        ThreadSanitizer-x86_64 :: mutex_lock_destroyed.cc
        ThreadSanitizer-x86_64 :: signal_block.cc
        ThreadSanitizer-x86_64 :: strerror_r.cc
        ThreadSanitizer-x86_64 :: vfork.cc
    
      Expected Passes    : 288
      Expected Failures  : 1
      Unsupported Tests  : 85
      Unexpected Failures: 8
    

    Other than that, golang/race seems to use the StopTheWorld() operation that is unimplemented in the upstream version for now. (We have got an implementation in downstream GCC copy).

  3. gopherbot commented on Aug 27, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/131555 mentions this issue: cmd/dist: do not run race detector tests on netbsd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.OS-NetBSDcompiler/runtimeIssues related to the Go compiler and/or runtime.help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions