[llvm-bugs] [Bug 33683] New: Missing symbol `typeinfo for llvm::raw_ostream' in LLVM-4.0.so

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 3 11:40:07 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33683

            Bug ID: 33683
           Summary: Missing symbol `typeinfo for llvm::raw_ostream' in
                    LLVM-4.0.so
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Linker
          Assignee: unassignedbugs at nondot.org
          Reporter: yuri at tsoft.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18746
  --> https://bugs.llvm.org/attachment.cgi?id=18746&action=edit
testcase.cpp

Compiling the attached testcase on the FreeBSD 11 with this line:
> /usr/local/llvm40/bin/clang++ -I/usr/local/include -std=c++11 -I/usr/local/llvm40/include -o testcase testcase.cpp -L /usr/local/llvm40/lib -lLLVM-4.0

produces this error:
> /tmp/testcase-70631b.o:(.rodata._ZTIN4llvm17raw_pwrite_streamE[_ZTIN4llvm17raw_pwrite_streamE]+0x10): undefined reference to `typeinfo for llvm::raw_ostream'

FreeBSD package llvm40-4.0.1.r1_4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170703/2ad9d4fc/attachment.html>


More information about the llvm-bugs mailing list