Bug 86330

Summary: lp_bld_debug.cpp:112: multiple definition of `raw_debug_ostream::write_impl(char const*, unsigned long)'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium CC: emil.l.velikov
Version: gitKeywords: bisected, regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:

Description Vinson Lee 2014-11-16 04:30:37 UTC
mesa: 45e2ba1b8c9aec47b089eed536d3d7c1fcfb9909 (master 10.4.0-devel)

  CXXLD    gallium_drv_video.la
../../../../src/gallium/auxiliary/.libs/libgallium.a(lt1-lp_bld_debug.o): In function `raw_debug_ostream::write_impl(char const*, unsigned long)':
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:112: multiple definition of `raw_debug_ostream::write_impl(char const*, unsigned long)'
Comment 1 Vinson Lee 2014-11-16 05:13:20 UTC
Reproduction steps:
$ ./autogen.sh --with-dri-drivers= --with-gallium-drivers=i915,swrast
$ make

d936ef3fb75f2333f795e004204b87760e564b3f is the first bad commit
commit d936ef3fb75f2333f795e004204b87760e564b3f
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sun Nov 16 01:07:32 2014 +0000

    auxiliary: ship all files in the distribution tarball
     - Add all headers into Makefile.sources
     - Don't forget the target-helpers
     - Add the python scripts & the formats table/list (csv)
     - Temporary add vl/vl_winsys_dri.c to EXTRA_DIST until we rework the
    way VL is build.
     - Add the following to EXTRA_DIST - they are included via the
    generated u_indices_gen.c thus we should not add them to *SOURCES.
    XXX: Should we nuke gallivm/f.cpp ? It seems that no-one is using it.
    v2: Rebase
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

:040000 040000 8b3325431a190c91f53fda5cfab5f2926f11628a 941f13adad070b33931d14cc3668f21b61626688 M	src
bisect run success
Comment 2 Jose Fonseca 2014-11-16 10:24:58 UTC
Should be fixed now with 4784623b3ef8a8325d7b92c3365400f23bae63e0.

I also fixed a problem building without llvm too.

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.