Bug 59226

Summary: softpipe automake build does not load properly
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium CC: andreas.boll.dev, mattst88
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Vinson Lee 2013-01-11 04:36:51 UTC
mesa: 5eeedb852b8a422f31d4d4f018187020c713fffa (master)

$ ./autogen.sh --with-gallium-drivers=swrast --with-dri-drivers= --enable-gallium-llvm=no
[...]
$ LIBGL_DEBUG=verbose LIBGL_DRIVERS_PATH=lib/gallium glxinfo
[...]
libGL: OpenDriver: trying lib/gallium/tls/swrast_dri.so
libGL: OpenDriver: trying lib/gallium/swrast_dri.so
libGL error: dlopen lib/gallium/swrast_dri.so failed (lib/gallium/swrast_dri.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE)
libGL error: unable to load driver: swrast_dri.so
libGL error: reverting to indirect rendering
Comment 1 Vinson Lee 2013-01-11 05:01:42 UTC
b3068d87cb26fa4f5225382f6c43600ce3956ba5 is the first bad commit
commit b3068d87cb26fa4f5225382f6c43600ce3956ba5
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Sep 5 11:17:33 2012 -0700

    targets/dri-swrast: Convert to automake
    
    v2: Andreas Boll <andreas.boll.dev@gmail.com>
        - Provide compatibility with scripts for the old Mesa build system

:100644 100644 661a0b2f42bf59a577cac4c3152b80ec5cb442b8 23df744783958e77f859ca593b77306f662dab2a M	configure.ac
:040000 040000 70474633089b1b840a62734bbfe41d3977d7cc75 f8cbc77f6c22c64abd7537e465159cda83d0a70c M	src
bisect run success
Comment 2 Matt Turner 2013-01-11 05:07:47 UTC
Created attachment 72835 [details] [review]
patch

Does this help? (I didn't think non-LLVM softpipe needed C++ linking)
Comment 3 Vinson Lee 2013-01-11 07:24:37 UTC
Attachment 72835 [details] fixes the bug for me.

Tested-by: Vinson Lee <vlee@freedesktop.org>
Comment 4 Andreas Boll 2013-01-11 09:26:27 UTC
Fixed by d98716233e3cc7ed18323a75ac274f70453ed442

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.