[Bug 235954] devel/llvm70: Add -DLLVM_ENABLE_DUMP to enable dump() functions (ex. for Intel's ISPC compiler)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 23 06:34:02 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235954

            Bug ID: 235954
           Summary: devel/llvm70: Add -DLLVM_ENABLE_DUMP to enable dump()
                    functions (ex. for Intel's ISPC compiler)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: yuri at freebsd.org
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

Created attachment 202285
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202285&action=edit
patch

Beginning from ~Jan 17th, 2019 devel/ispc began to break in build:
> opt.cpp:(.text+0x173): undefined reference to `llvm::Module::dump() const'
The reason is that debug info was disabled in llvmxx ports, and this also
disabled dump() functions in the llvm libraries.
Intel's ISPC compiler expects dump() functions, see their answer in the bug
report: https://github.com/ispc/ispc/issues/1427#issuecomment-466570323

The attached patch enables dump() functions.

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


More information about the freebsd-ports-bugs mailing list