[Mesa-dev] [Bug 70471] New: undefined reference to `typeinfo for llvm::format_object_base'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 15 06:32:34 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70471

          Priority: medium
            Bug ID: 70471
          Keywords: regression
                CC: currojerez at riseup.net, kallisti5 at unixzen.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: undefined reference to `typeinfo for
                    llvm::format_object_base'
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Other
           Product: Mesa

mesa: ce8eadb6e8adc24f675b364e0620dbf1c9e079a8 (master)

$ scons
[...]
  Linking build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_arit ...
build/linux-x86_64-debug/gallium/auxiliary/libgallium.a(lp_bld_debug.os):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
build/linux-x86_64-debug/gallium/auxiliary/libgallium.a(lp_bld_debug.os):(.data.rel.ro._ZTI18BufferMemoryObject[_ZTI18BufferMemoryObject]+0x10):
undefined reference to `typeinfo for llvm::MemoryObject'
build/linux-x86_64-debug/gallium/auxiliary/libgallium.a(lp_bld_debug.os):(.data.rel.ro._ZTI17raw_debug_ostream[_ZTI17raw_debug_ostream]+0x10):
undefined reference to `typeinfo for llvm::raw_ostream'


ce8eadb6e8adc24f675b364e0620dbf1c9e079a8 is the first bad commit
commit ce8eadb6e8adc24f675b364e0620dbf1c9e079a8
Author: Alexander von Gluck IV <kallisti5 at unixzen.com>
Date:   Sat Oct 12 17:12:31 2013 +0000

    build: remove forced -fno-rtti

    * As discussed on the mailing list,
      forced no-rtti breaks C++ public
      API's such as the Haiku C++ libGL.so
    * -fno-rtti *can* be still set however
      instead of blindly forcing -fno-rtti,
      we can rely on the llvm-config
      --cppflags output.
      If the system llvm is built without
      rtti (default), the no-rtti flag will be
      present in llvm-config --cppflags
      (which we pick up on)
      If llvm is built with rtti
      (REQUIRES_RTTI=1), then -fno-rtti is
      removed from llvm-config --cppflags.
    * We could selectively add / remove rtti
      from various components, however mixing
      rtti and non-rtti code is tricky and
      could introduce missing symbols.
    * This needs impact tested.

    Reviewed-by: Francisco Jerez <currojerez at riseup.net>

:100644 100644 c68e14b44c0bc24a74e4f5870562454ac4389846
309b49385ba2dfe16d3a55f98b181ce7ba9d0348 M    configure.ac
:040000 040000 d72fe30b21c27539e9f03703b0f53967321e4e47
b65a235d75fa650f6545b2416f35ee92468a66db M    scons
:040000 040000 02c9dba57101dfb777d34fb8393623c6dd2c923b
f9810052c6cd076b6644f99aa86805939ec0e563 M    src
bisect run success

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131015/97d2bd5a/attachment.html>


More information about the mesa-dev mailing list