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 CLSID_MkProtocol
> ...
> lib64_libuuid_a-uuid.o:
>  r .rdata$CLSID_MkProtocol
>  R CLSID_MkProtocol
> ...
>
>
>- crt 4734:
>
> $ nm /mingw64/x86_64-w64-mingw32/lib/libuuid.a | grep "MkProtocol\|\.o"
> ...
> lib64_libuuid_a-extras-uuid.o:
>  r .rdata$CLSID_MkProtocol
>  R CLSID_MkProtocol
> ...
> lib64_libuuid_a-uuid.o:
> 00b0 R CLSID_MkProtocol
> ...
>
>
2016-09-30 10:49 GMT+02:00 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#issuec
>> omment-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 year so it's even more strange.
>> crt-git package and it's sources can be found here
>> http://repo.msys2.org/mingw/
>>
>> 2016-09-30 6:58 GMT+02:00 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_IUrlHistoryStg,0x3c374a41,0xbae4,0x11cf,0xbf,0x7d,0,
>>> 0xaa,0,0x69,0x46,0xee);
>>> DEFINE_GUID(IID_IWinInetHttpInfo,0x79eac9d8,0xbafa,0x11ce,0x8c,0x82,0,
>>> 0xaa,0,0x4b,0xa9,0xb);
>>> DEFINE_GUID(IID_IWinInetInfo,0x79eac9d6,0xbafa,0x11ce,0x8c,
>>> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
>>>
>>> dw
>>>
>>>
>>> On 9/29/2016 8:39 AM, LaurentP wrote:
>>>
 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,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 // ftp: Asychronous Pluggable Protocol Handler CLSID
 DEFINE_GUID(CLSID_FtpProtocol,0x79eac9e3,0xbaf9,0x11ce,0x8c,

>>> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
>>>
 // gopher: Asychronous Pluggable Protocol Handler CLSID
 DEFINE_GUID(CLSID_GopherProtocol,0x79eac9e4,0xbaf9,0x11ce,0x8c,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 // http: Asychronous Pluggable Protocol Handler CLSID
 DEFINE_GUID(CLSID_HttpProtocol,0x79eac9e2,0xbaf9,0x11ce,0x8c,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 // https: Asychronous Pluggable Protocol Handler CLSID
 DEFINE_GUID(CLSID_HttpSProtocol,0x79eac9e5,0xbaf9,0x11ce,0x8c,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 // mk: Asychronous Pluggable Protocol Handler CLSID
 DEFINE_GUID(CLSID_MkProtocol,0x79eac9e6,0xbaf9,0x11ce,0x8c,

>>> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
>>>
 // URLMoniker ProxyStub Factory CLSID
 DEFINE_GUID(CLSID_PSUrlMonProxy,0x79eac9f1,0xbaf9,0x11ce,0x8c,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 // URL Moniker CLSID
 DEFINE_GUID(CLSID_StdURLMoniker,0x79eac9e0,0xbaf9,0x11ce,0x8c,0x82,0,

>>> 0xaa,0,0x4b,0xa9,0xb);
>>>
 I've filed a ticket for that one

 Reagrds


>>> 
>>> --
>>> ___
>>> Mingw-w64-public mailing list
>>> Mingw-w64-public@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>>
>>> 
>> --
>> ___
>> Mingw-w64-public mailing list
>> Mingw-w64-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>>
>
> 
> --
>
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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 somewhere after rev 4680 (b028d1)
dated 2016-07-08 and 4721 (1006bb) dated 2016-08-22.
None of *uuid.c source files changed this year so it's even more strange.
crt-git package and it's sources can be found here
http://repo.msys2.org/mingw/

2016-09-30 6:58 GMT+02:00 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_IUrlHistoryStg,0x3c374a41,0xbae4,0x11cf,0xbf,0x7d,0,
0xaa,0,0x69,0x46,0xee);
DEFINE_GUID(IID_IWinInetHttpInfo,0x79eac9d8,0xbafa,0x11ce,0x8c,0x82,0,
0xaa,0,0x4b,0xa9,0xb);
DEFINE_GUID(IID_IWinInetInfo,0x79eac9d6,0xbafa,0x11ce,0x8c,
0x82,0,0xaa,0,0x4b,0xa9,0xb);

dw


On 9/29/2016 8:39 AM, LaurentP wrote:

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,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

// ftp: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_FtpProtocol,0x79eac9e3,0xbaf9,0x11ce,0x8c,

0x82,0,0xaa,0,0x4b,0xa9,0xb);

// gopher: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_GopherProtocol,0x79eac9e4,0xbaf9,0x11ce,0x8c,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

// http: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_HttpProtocol,0x79eac9e2,0xbaf9,0x11ce,0x8c,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

// https: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_HttpSProtocol,0x79eac9e5,0xbaf9,0x11ce,0x8c,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

// mk: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_MkProtocol,0x79eac9e6,0xbaf9,0x11ce,0x8c,

0x82,0,0xaa,0,0x4b,0xa9,0xb);

// URLMoniker ProxyStub Factory CLSID
DEFINE_GUID(CLSID_PSUrlMonProxy,0x79eac9f1,0xbaf9,0x11ce,0x8c,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

// URL Moniker CLSID
DEFINE_GUID(CLSID_StdURLMoniker,0x79eac9e0,0xbaf9,0x11ce,0x8c,0x82,0,

0xaa,0,0x4b,0xa9,0xb);

I've filed a ticket for that one

Reagrds




--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public



diff --git a/mingw-w64-headers/include/mftransform.h b/mingw-w64-headers/include/mftransform.h
index 954c861..b7b7619 100644
--- a/mingw-w64-headers/include/mftransform.h
+++ b/mingw-w64-headers/include/mftransform.h
@@ -701,6 +701,7 @@ void __RPC_STUB IMFTransform_ProcessMessage_Stub(
 
 #endif  /* __IMFTransform_INTERFACE_DEFINED__ */
 
+#pragma push_macro("EXTERN_C")
 #if defined(__GNUC__) && !defined(__cplusplus)
 #undef EXTERN_C
 #define EXTERN_C
@@ -730,6 +731,8 @@ EXTERN_C const DECLSPEC_SELECTANY GUID MFT_HW_TIMESTAMP_WITH_QPC_Attribute = {0x
 EXTERN_C const DECLSPEC_SELECTANY GUID MFT_FIELDOFUSE_UNLOCK_Attribute = {0x8ec2e9fd,0x9148,0x410d,{0x83,0x1e,0x70,0x24,0x39,0x46,0x1a,0x8e}};
 EXTERN_C const DECLSPEC_SELECTANY GUID MFT_CODEC_MERIT_Attribute = {0x88a7cb15,0x7b07,0x4a34,{0x91,0x28,0xe6,0x4c,0x67,0x3,0xc4,0xd3}};
 EXTERN_C const DECLSPEC_SELECTANY GUID MFT_ENUM_TRANSCODE_ONLY_ATTRIBUTE = {0x111ea8cd,0xb62a,0x4bdb,{0x89,0xf6,0x67,0xff,0xcd,0xc2,0x45,0x8b}};
+#pragma pop_macro("EXTERN_C")
+
 #if (WINVER >= 0x0601)
 HRESULT WINAPI MFCreateTransformActivate(IMFActivate **ppActivate);
 #endif /*(WINVER >= 0x0601)*/
--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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 year so it's even more strange.
crt-git package and it's sources can be found here
http://repo.msys2.org/mingw/

2016-09-30 6:58 GMT+02:00 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_IUrlHistoryStg,0x3c374a41,0xbae4,0x11cf,0xbf,0x7d,0,
> 0xaa,0,0x69,0x46,0xee);
> DEFINE_GUID(IID_IWinInetHttpInfo,0x79eac9d8,0xbafa,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> DEFINE_GUID(IID_IWinInetInfo,0x79eac9d6,0xbafa,0x11ce,0x8c,
> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
>
> dw
>
>
> On 9/29/2016 8:39 AM, LaurentP wrote:
> >
> > 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,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> > // ftp: Asychronous Pluggable Protocol Handler CLSID
> > DEFINE_GUID(CLSID_FtpProtocol,0x79eac9e3,0xbaf9,0x11ce,0x8c,
> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
> > // gopher: Asychronous Pluggable Protocol Handler CLSID
> > DEFINE_GUID(CLSID_GopherProtocol,0x79eac9e4,0xbaf9,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> > // http: Asychronous Pluggable Protocol Handler CLSID
> > DEFINE_GUID(CLSID_HttpProtocol,0x79eac9e2,0xbaf9,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> > // https: Asychronous Pluggable Protocol Handler CLSID
> > DEFINE_GUID(CLSID_HttpSProtocol,0x79eac9e5,0xbaf9,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> > // mk: Asychronous Pluggable Protocol Handler CLSID
> > DEFINE_GUID(CLSID_MkProtocol,0x79eac9e6,0xbaf9,0x11ce,0x8c,
> 0x82,0,0xaa,0,0x4b,0xa9,0xb);
> > // URLMoniker ProxyStub Factory CLSID
> > DEFINE_GUID(CLSID_PSUrlMonProxy,0x79eac9f1,0xbaf9,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> > // URL Moniker CLSID
> > DEFINE_GUID(CLSID_StdURLMoniker,0x79eac9e0,0xbaf9,0x11ce,0x8c,0x82,0,
> 0xaa,0,0x4b,0xa9,0xb);
> >
> > I've filed a ticket for that one
> >
> > Reagrds
> >
>
>
> 
> --
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


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_IUrlHistoryStg,0x3c374a41,0xbae4,0x11cf,0xbf,0x7d,0,0xaa,0,0x69,0x46,0xee);
DEFINE_GUID(IID_IWinInetHttpInfo,0x79eac9d8,0xbafa,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
DEFINE_GUID(IID_IWinInetInfo,0x79eac9d6,0xbafa,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);

dw


On 9/29/2016 8:39 AM, LaurentP wrote:
>
> 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,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // ftp: Asychronous Pluggable Protocol Handler CLSID
> DEFINE_GUID(CLSID_FtpProtocol,0x79eac9e3,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // gopher: Asychronous Pluggable Protocol Handler CLSID
> DEFINE_GUID(CLSID_GopherProtocol,0x79eac9e4,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // http: Asychronous Pluggable Protocol Handler CLSID
> DEFINE_GUID(CLSID_HttpProtocol,0x79eac9e2,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // https: Asychronous Pluggable Protocol Handler CLSID
> DEFINE_GUID(CLSID_HttpSProtocol,0x79eac9e5,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // mk: Asychronous Pluggable Protocol Handler CLSID
> DEFINE_GUID(CLSID_MkProtocol,0x79eac9e6,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // URLMoniker ProxyStub Factory CLSID
> DEFINE_GUID(CLSID_PSUrlMonProxy,0x79eac9f1,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
> // URL Moniker CLSID
> DEFINE_GUID(CLSID_StdURLMoniker,0x79eac9e0,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
>
> I've filed a ticket for that one
>
> Reagrds
>


--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[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,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// ftp: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_FtpProtocol,0x79eac9e3,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// gopher: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_GopherProtocol,0x79eac9e4,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// http: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_HttpProtocol,0x79eac9e2,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// https: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_HttpSProtocol,0x79eac9e5,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// mk: Asychronous Pluggable Protocol Handler CLSID
DEFINE_GUID(CLSID_MkProtocol,0x79eac9e6,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// URLMoniker ProxyStub Factory CLSID
DEFINE_GUID(CLSID_PSUrlMonProxy,0x79eac9f1,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);
// URL Moniker CLSID
DEFINE_GUID(CLSID_StdURLMoniker,0x79eac9e0,0xbaf9,0x11ce,0x8c,0x82,0,0xaa,0,0x4b,0xa9,0xb);

I've filed a ticket for that one

Reagrds

-- 
Laurent

--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public