Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 21:38:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216054] graphics/openshadinglanguage: fails to build with libc++ 4.0
Message-ID:  <bug-216054-13-ZskMeLWbMC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216054-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216054-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #6 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
(In reply to Eric Fiselier from comment #4)
> As long as you don't use anything less that Clang 3.4 you could upstream a
> patch that just always enabled `__decltype` instead of `__typeof__` and it
> should work.

We have 3 ports that depend on Clang 3.3 but unconditionally using __declty=
pe
in libc++'s __config works fine, at least with comment 1 test.

(In reply to Dimitry Andric from comment #5)
Via llvm-config34 --prefix, see src/liboslexec/CMakeLists.txt:

    # Figure out what program we will use to make the bitcode.
    if (NOT LLVM_BC_GENERATOR)
        FIND_PROGRAM(LLVM_BC_GENERATOR NAMES "clang++" PATHS
"${LLVM_DIRECTORY}/bin" NO_DEFAULT_PATH NO_CMAKE_SYSTEM_PATH
NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH)
    endif ()

--=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-216054-13-ZskMeLWbMC>