https://bugs.freedesktop.org/show_bug.cgi?id=59282
Priority: medium Bug ID: 59282 Assignee: dri-devel@lists.freedesktop.org Summary: Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so Severity: blocker Classification: Unclassified OS: Linux (All) Reporter: tdroste@gmx.de Hardware: All Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Mesa from git master (head 3c3a2b51b85a90cfe670e1ca81ce86c8fa0d448d) has a undefined symbol in r600_dri.so, which prevents it from being loaded:
$ LIBGL_DEBUG=verbose glxinfo libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so libGL error: dlopen /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE) libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600
configure line: --with-dri-drivers= --with-gallium-drivers=swrast,r600 --enable-gallium-llvm --enable-gallium-egl --with-egl-platforms=x11,drm --enable-gles1 --enable-gles2 --enable-glx-tls --enable-texture-float --enable-shared-glapi
I tried adding radeonsi to the list and see if this fixes it, but in order to build this I have to install LLVM 3.2, which I'm not planning to do today.
https://bugs.freedesktop.org/show_bug.cgi?id=59282
--- Comment #1 from pejakm pejakm@gmail.com --- This is the commit where this problems starts:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab07ae05a3dccef620c716e821c...
https://bugs.freedesktop.org/show_bug.cgi?id=59282
--- Comment #2 from pejakm pejakm@gmail.com --- Perhaps this bug is related: https://bugs.freedesktop.org/show_bug.cgi?id=59226
https://bugs.freedesktop.org/show_bug.cgi?id=59282
--- Comment #3 from Andreas Boll andreas.boll.dev@gmail.com --- Created attachment 72916 --> https://bugs.freedesktop.org/attachment.cgi?id=72916&action=edit targets/dri-r600: Force c++ linker in all cases
Could you test this patch?
https://bugs.freedesktop.org/show_bug.cgi?id=59282
--- Comment #4 from pejakm pejakm@gmail.com --- I made a patch myself, and it works:
--- src/gallium/targets/dri-r600/Makefile.am.orig 2013-01-12 20:00:04.000000000 +0100 +++ src/gallium/targets/dri-r600/Makefile.am 2013-01-12 21:18:15.494000000 +0100 @@ -59,17 +59,13 @@ $(LIBDRM_LIBS) \ $(RADEON_LIBS)
-if HAVE_MESA_LLVM r600_dri_la_LINK = $(CXXLINK) $(r600_dri_la_LDFLAGS) # Mention a dummy pure C++ file to trigger generation of the $(LINK) variable nodist_EXTRA_r600_dri_la_SOURCES = dummy-cpp.cpp
+if HAVE_MESA_LLVM r600_dri_la_LDFLAGS += $(LLVM_LDFLAGS) r600_dri_la_LIBADD += $(LLVM_LIBS) -else -r600_dri_la_LINK = $(LINK) $(r600_dri_la_LDFLAGS) -# Mention a dummy pure C file to trigger generation of the $(LINK) variable -nodist_EXTRA_r600_dri_la_SOURCES = dummy-c.c endif
# Provide compatibility with scripts for the old Mesa build system for
I'm gonna try your patch now.
https://bugs.freedesktop.org/show_bug.cgi?id=59282
--- Comment #5 from pejakm pejakm@gmail.com --- Andreas, it works, eveyrthing is fine. Thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=59282
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rankincj@googlemail.com
--- Comment #6 from Andreas Boll andreas.boll.dev@gmail.com --- *** Bug 59296 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=59282
Tobias Droste tdroste@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Tobias Droste tdroste@gmx.de --- Yes the patch fixes the problem.
I assume you're going to commit this soon and close this bug report.
https://bugs.freedesktop.org/show_bug.cgi?id=59282
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #8 from Tom Stellard tstellar@gmail.com --- Let's keep this bug open until the fix is actually committed.
https://bugs.freedesktop.org/show_bug.cgi?id=59282
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |59304
https://bugs.freedesktop.org/show_bug.cgi?id=59282
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Andreas Boll andreas.boll.dev@gmail.com --- Fixed by 9da454f295062500ebb868e31eebcd5f753f83ff
dri-devel@lists.freedesktop.org