Bug 79382

Summary: build error: multiple definition of `loader_get_pci_id_for_fd'
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high CC: jfonseca
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Comment 1 Emil Velikov 2014-05-28 22:41:58 UTC
Does the following patch help ? http://patchwork.freedesktop.org/patch/26746/
Comment 2 Michel Dänzer 2014-05-29 01:50:37 UTC
(In reply to comment #1)
> Does the following patch help ? http://patchwork.freedesktop.org/patch/26746/

Works for me.
Comment 3 Jos van Wolput 2014-05-29 11:35:48 UTC
(In reply to comment #1)
> Does the following patch help ? http://patchwork.freedesktop.org/patch/26746/

Works for me too!
Comment 4 Fabio Pedretti 2014-05-29 15:59:36 UTC
I cannot test myself, if it works for others, push it.
Comment 5 Emil Velikov 2014-05-29 19:03:47 UTC
Pushed a slightly different patch which also fixes the issue

commit febec731475a5b288cc50660b2d32780e395b950
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Wed May 28 15:43:35 2014 +0100

    st/egl: do not link against libloader

    Move the link to the final targets, like any other place in
    mesa/gallium. This allows better visibilty and will prevent
    us from including the library archive twice.

    Resolves multiple definition of `loader_get_pci_id_for_fd'

    multiple definition of `loader_get_pci_id_for_fd'

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.