Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2024 02:41:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276447] devel/boehm-gc-threaded -- doesn't handle mutexes properly when used with tcc
Message-ID:  <bug-276447-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276447

            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/

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276447-7788>