[Mesa-dev] [PATCH v1] autotools: multiple definitions for libmesagallium
Sergii Romantsov
sergii.romantsov at globallogic.com
Tue Sep 18 09:40:58 UTC 2018
Hello, Eric.
>
> Sergii, do you guys still use autotools, or did you see that in some test
> build that uses autotools just to cover everything?
Yes, we are still using autotools sometimes (and meson also). And issue was
reported by not our guy. So looks like we are not alone with autotools...
On Mon, Sep 17, 2018 at 7:53 PM, Eric Engestrom <eric at engestrom.ch> wrote:
>
>
> On September 17, 2018 4:16:12 PM UTC, Dylan Baker <dylan at pnwbakers.com>
> wrote:
> > I'm not crazy about this solution, it seems more like papering over a
> > bug than
> > fixing the bug. I'm really curious why we can reproduce this in
> > autotools but
> > not meson as well.
>
> Yeah, I have to agree with Dylan there, but then again I'm not sure anyone
> cares about autotools anymore, so meh… why not.
>
> Sergii, do you guys still use autotools, or did you see that in some test
> build that uses autotools just to cover everything?
>
> >
> > Dylan
> >
> > Quoting Sergii Romantsov (2018-09-17 03:23:04)
> > > Error of multiple definitions for libmesagallium and libmesautil may
> > be
> > > fixed by linker-option allow-multiple-definition
> > >
> > > CC: Dylan Baker <dylan at pnwbakers.com>
> > > Fixes: 8396043f304b (Replace uses of _mesa_bitcount with
> > util_bitcount)
> > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107923
> > > Signed-off-by: Sergii Romantsov <sergii.romantsov at globallogic.com>
> > > ---
> > > src/gallium/targets/libgl-xlib/Makefile.am | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/src/gallium/targets/libgl-xlib/Makefile.am
> > b/src/gallium/targets/libgl-xlib/Makefile.am
> > > index dc7c6ed..094d4be 100644
> > > --- a/src/gallium/targets/libgl-xlib/Makefile.am
> > > +++ b/src/gallium/targets/libgl-xlib/Makefile.am
> > > @@ -46,6 +46,7 @@ lib at GL_LIB@_la_SOURCES = xlib.c
> > > lib at GL_LIB@_la_LDFLAGS = \
> > > -no-undefined \
> > > -version-number 1:5:0 \
> > > + -Wl,--allow-multiple-definition \
> > > $(BSYMBOLIC) \
> > > $(GC_SECTIONS) \
> > > $(LD_NO_UNDEFINED)
> > > --
> > > 2.7.4
> > >
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
--
Sergii Romantsov
GlobalLogic Inc.
www.globallogic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180918/74337023/attachment.html>
More information about the mesa-dev
mailing list