Bug 79382 - build error: multiple definition of `loader_get_pci_id_for_fd'
Summary: build error: multiple definition of `loader_get_pci_id_for_fd'
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: high critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 18:06 UTC by Fabio Pedretti
Modified: 2014-05-29 19:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.