Your attachment was eaten by the Sourceforge cookie monster :)


2017-05-01 18:55 GMT+02:00 David Grayson <[email protected]>:

> I sent a patch to this list 6 days ago that fixes a problem with the way we
> use the selectany attribute.  If you're getting multiple definition errors
> for GUIDs, this will probably fix it.  I'll attach it again.
>
> --David
>
> On Mon, May 1, 2017 at 9:34 AM, Mateusz Mikuła <[email protected]> wrote:
>
> > Symbols in libuuid.a are definitely duplicated, tested on MSYS2, Ubuntu,
> > Arch:
> >
> > nm '/usr/x86_64-w64-mingw32/lib/libuuid.a' | grep FileProtocol
> > 0000000000000000 R CLSID_FileProtocol
> > 0000000000000000 r .rdata$CLSID_FileProtocol
> > 00000000000000f0 R CLSID_FileProtocol
> >
> > Here is disassembly of first duplicated symbol from Ubuntu:
> > https://paste.ubuntu.com/24493619/
> >
> >
> > 2017-05-01 18:03 GMT+02:00 Liu Hao <[email protected]>:
> >
> > > On 2017/5/1 21:27, Tomay wrote:
> > > > The following UUIDs are defined in both *uuid.c* and *extra-uuid.c*
> > > source
> > > > files, whitch leads to linking errors with duplicate symbols when
> using
> > > > *libuuid.a*
> > > >
> > > In my opinion it is practically incorrect, but you shouldn't get linker
> > > errors because the macro `INITGUID` is defined in both files hence each
> > > GUID definition is marked with the `selectany` attribute (see
> definition
> > > of the macro `DEFINE_GUID` in [guiddef.h]).
> > >
> > > --
> > > Best regards,
> > > LH_Mouse
> > >
> > >
> > > ------------------------------------------------------------
> > > ------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > Mingw-w64-public mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> > >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Mingw-w64-public mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to