[Mesa-dev] Removing the --allow-multiple-definition hack

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Feb 10 23:58:31 PST 2015


Is there any indication on when is this "temporary" hack going to be removed?  This kind of linking is not legal in many toolchains (eg on darwin), and I imagine behavior is not well defined in places where this hack actually works.

--Jeremy

commit 7414552b1826ece48a622c14b48cad3a37b68025
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Jul 2 12:06:41 2014 +0100

    targets/dri: allow duplicated symbols
    
    With the inclusion of xmlconfig in the loader we're providing dri* symbols
    which are already available in libdricommon.la. This leads to a build
    break due to the multiple definitions.
    
    Temporary allow multiple definitions, until we come with a better solution.
    
    Reported-by: Laurent Carlier <lordheavym at gmail.com>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>



More information about the mesa-dev mailing list