[Bug 276447] devel/boehm-gc-threaded -- doesn't handle mutexes properly when used with tcc

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Jan 2024 02:41:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276447

            Bug ID: 276447
           Summary: devel/boehm-gc-threaded -- doesn't handle mutexes
                    properly when used with tcc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yasu@freebsd.org
          Reporter: bakul@iitbombay.org
          Assignee: yasu@freebsd.org
             Flags: maintainer-feedback?(yasu@freebsd.org)

As per https://github.com/ivmai/bdwgc/#atomic-ops

  "Use (cloning) of libatomic_ops is now optional provided the compiler
supports atomic intrinsics. Most modern compilers do. The notable exception is
the MS compiler (as of Visual Studio 2022)."

tcc seems to be an exception as well. The test is rather involved (as part of v
language testing, where certain tests in vlib/sync/ hang).

At least as an option libatomic_ops should be used so that this library can be
used with tcc. How to do this is described here: https://www.hboehm.info/gc/

-- 
You are receiving this mail because:
You are the assignee for the bug.