Bug 80254

Summary: pipe_loader_sw.c:90: undefined reference to `dri_create_sw_winsys'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: emil.l.velikov
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2014-06-19 21:12:25 UTC
mesa: 4a39e5073a7d0cd8243c6f963567a9945265490c (master 10.3.0-devel)

  CCLD     compute
../../../../src/gallium/auxiliary/pipe-loader/.libs/libpipe_loader_client.a(libpipe_loader_client_la-pipe_loader_sw.o): In function `pipe_loader_sw_probe_dri':
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:90: undefined reference to `dri_create_sw_winsys'
Comment 1 Vinson Lee 2014-06-19 21:44:56 UTC
d22b39e4db7d1c54461de97ff4dcb79178be1a84 is the first bad commit
commit d22b39e4db7d1c54461de97ff4dcb79178be1a84
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Jun 9 23:37:19 2014 +0100

    targets: use GALLIUM_PIPE_LOADER_WINSYS_LIB_DEPS
    
    Drop ~50 lines of buildsystem mayhem.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

:040000 040000 39d2a60a87ac3196d5082c20f4e6d97567344a42 1a2e1839452e5f35a1ee1cd45e81036e948f92a3 M	src
bisect run success
Comment 2 Emil Velikov 2014-06-19 21:56:14 UTC
Sigh linking order is the best. Curious why it fails rather "selectively".

Just double-checking the fix and will push that shortly.
Comment 3 Emil Velikov 2014-06-19 21:57:55 UTC
Should be fixed with
commit d300f3f51a5b24e3959889f97a3fbe8cd10ace8e
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Thu Jun 19 22:46:25 2014 +0100

    automake: include the libdeps in the correct order

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80254
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

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.