Skip to contentSkip to conversation

New: Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

Bug 59282 [email protected] 1 participant 11 messages Jan 12, 2013 – Jan 13, 2013

lore
Share & tools
lore
#0 lore raw

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

          Priority: medium
            Bug ID: 59282
          Assignee: [email protected]
           Summary: Undefined symbol
                    '_ZTVN10__cxxabiv120__si_class_type_infoE' in
                    r600_dri.so
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

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

--- Comment #1 from pejakm <[email protected]> ---
This is the commit where this problems starts:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab07ae05a3dccef620c716e821c647413b951051

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

--- Comment #2 from pejakm <[email protected]> ---
Perhaps this bug is related: https://bugs.freedesktop.org/show_bug.cgi?id=59226

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

--- Comment #3 from Andreas Boll <[email protected]> --- 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?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

--- Comment #4 from pejakm <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

--- Comment #5 from pejakm <[email protected]> ---
Andreas, it works, eveyrthing is fine. Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Andreas Boll <[email protected]> --- *** Bug 59296 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

Tobias Droste <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Tobias Droste <[email protected]> --- Yes the patch fixes the problem.

I assume you're going to commit this soon and close this bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #8 from Tom Stellard <[email protected]> --- Let's keep this bug open until the fix is actually committed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |59304
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 59282] Undefined symbol '_ZTVN10__cxxabiv120__si_class_type_infoE' in r600_dri.so

In reply to [email protected]

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

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Andreas Boll <[email protected]> --- Fixed by 9da454f295062500ebb868e31eebcd5f753f83ff

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel