[Mingw-w64-public] Duplicate symbols in libuuid.a

2016-09-29 Thread LaurentP
In latest git (tested with MSYS2) The following UUIDs are defined both in uuid.c and extra-uuid.c leading to links failures with duplicate symbols when using libuuid.a : // file:, local: Asychronous Pluggable Protocol Handler CLSID DEFINE_GUID(CLSID_FileProtocol,0x79eac9e7,0xbaf9,0x11ce,0x8c,0

Re: [Mingw-w64-public] Duplicate symbols in libuuid.a

2016-09-29 Thread David Wohlferd
Just those few? How about the rest of extras-uuid.c? The only ones that don't look like dupes are: DEFINE_GUID(IID_IEnumSTATURL,0x3c374a42,0xbae4,0x11cf,0xbf,0x7d,0,0xaa,0,0x69,0x46,0xee); DEFINE_GUID(IID_IHttpNegotiate,0x79eac9d2,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb); DEFINE_GUID(IID

Re: [Mingw-w64-public] Duplicate symbols in libuuid.a

2016-09-30 Thread Mateusz
Duplicates weren't issue for a long time. Look here https://github.com/Alexpux/MINGW-packages/issues/1712#issuecomment-247562691 As Laurent noticed this issue started somewhere after rev 4680 (b028d1) dated 2016-07-08 and 4721 (1006bb) dated 2016-08-22. None of *uuid.c source files changed this yea

Re: [Mingw-w64-public] Duplicate symbols in libuuid.a

2016-09-30 Thread David Wohlferd
Uh oh. While I haven't tested it, my gut says it's something like this (attached). dw On 9/30/2016 1:35 AM, Mateusz wrote: Duplicates weren't issue for a long time. Look here https://github.com/Alexpux/MINGW-packages/issues/1712#issuecomment-247562691 As Laurent noticed this issue started some

Re: [Mingw-w64-public] Duplicate symbols in libuuid.a

2016-09-30 Thread Mateusz
Laurent reported in MSYS2 bug tracker that this patch didn't help. Also this is interesting: > >- crt 4680: > > $ nm /mingw64/x86_64-w64-mingw32/lib/libuuid.a | grep "MkProtocol\|\.o" > ... > lib64_libuuid_a-extras-uuid.o: > r .rdata$CLSID_MkProtocol > R CLSI