[Mesa-dev] [Bug 90032] build fails, undefined reference to llvm:RTDyldMemoryManager

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 14 15:17:15 PDT 2015


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

            Bug ID: 90032
           Summary: build fails, undefined reference to
                    llvm:RTDyldMemoryManager
           Product: Mesa
           Version: 10.5
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: felix-freedesktop at fefe.de
        QA Contact: mesa-dev at lists.freedesktop.org

I can't build Mesa with gcc 4.9.2 and LLVM 3.6.
Here's how I run configure:

./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var `libdir
/usr/X11R7` --with-gallium-drivers=i915,nouveau,r600
--with-dri-drivers=i965,swrast --enable-texture-float
--disable-llvm-shared-libs --enable-opencl --enable-texture-float
--enable-gles1 --enable-gles2 --enable-osmesa --enable-xa --enable-gbm
--enable-glx-tls --with-egl-platforms="drm,x11"

Here's what happens:

make[4]: Entering directory '/tmp/mesa-10.5.3/src/gallium/targets/pipe-loader'
  CC       pipe_i915.lo
  CC       pipe_nouveau.lo
  CC       pipe_r600.lo
  CXXLD    pipe_nouveau.la
  CXXLD    pipe_i915.la
  CXXLD    pipe_r600.la
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:914: recipe for target 'pipe_i915.la' failed
make[4]: *** [pipe_i915.la] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:923: recipe for target 'pipe_nouveau.la' failed
make[4]: *** [pipe_nouveau.la] Error 1
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:929: recipe for target 'pipe_r600.la' failed
make[4]: *** [pipe_r600.la] Error 1
make[4]: Leaving directory '/tmp/mesa-10.5.3/src/gallium/targets/pipe-loader'
Makefile:579: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/mesa-10.5.3/src/gallium'
Makefile:667: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/mesa-10.5.3/src'
Makefile:607: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/mesa-10.5.3'
Makefile.Linux:4: recipe for target 'compile' failed
make: *** [compile] Error 2

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


More information about the mesa-dev mailing list