Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2023 01:27:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271373] emulators/wine-devel: Clang cannot compile unit tests, missing symbol _llabs
Message-ID:  <bug-271373-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271373
           Summary: emulators/wine-devel: Clang cannot compile unit tests,
                    missing symbol _llabs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: damjan.jov@gmail.com

Not currently a problem in the Port as we pass "--disable-tests" to
./configure, but without that switch Wine won't build with Clang, because s=
ome
unit tests require the compiler to have a built-in "llabs", and Clang doesn=
't
provide it:

lld-link: error: undefined symbol: __declspec(dllimport) _llabs

Upstream issue was closed invalid in 2011:
https://github.com/llvm/llvm-project/issues/9928

This unrelated project had an internal workaround, not using llabs on MSVC <
18:
https://github.com/Blosc/c-blosc/issues/95
https://github.com/Blosc/c-blosc/commit/825036288fdcc4581749502040b39b18ec3=
b615c

--=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-271373-7788>