* Cygwin build errors in mingw-w64 r6257
@ 2013-09-10 4:26 JonY
2013-09-10 8:44 ` Kai Tietz
2013-09-10 13:33 ` Kai Tietz
0 siblings, 2 replies; 6+ messages in thread
From: JonY @ 2013-09-10 4:26 UTC (permalink / raw)
To: The Cygwin Mailing List; +Cc: Alexey Pavlov
[-- Attachment #1.1: Type: text/plain, Size: 167 bytes --]
Hi,
Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
See attached log.
[-- Attachment #1.2: cygwin_error_6257.txt --]
[-- Type: text/plain, Size: 9056 bytes --]
c++wrap -ggdb -pipe -fdebug-prefix-map=/work/build32/runtime-stable=/usr/src/debug/msys -fdebug-prefix-map=/work/Cygwin=/usr/src/debug/msys -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -c -o arc4random.o /work/Cygwin/winsup/cygwin/libc/arc4random.cc
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/work/Cygwin/winsup/cygwin/ntdll.h:72:0: error: "TRANSACTION_ALL_ACCESS" redefined [-Werror]
In file included from /usr/include/w32api/minwindef.h:146:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/usr/include/w32api/winnt.h:8129:0: note: this is the location of the previous definition
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/work/Cygwin/winsup/cygwin/ntdll.h:72:0: error: "TRANSACTION_ALL_ACCESS" redefined [-Werror]
In file included from /usr/include/w32api/minwindef.h:146:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/usr/include/w32api/winnt.h:8129:0: note: this is the location of the previous definition
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/work/Cygwin/winsup/cygwin/ntdll.h:72:0: error: "TRANSACTION_ALL_ACCESS" redefined [-Werror]
In file included from /usr/include/w32api/minwindef.h:146:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/usr/include/w32api/winnt.h:8129:0: note: this is the location of the previous definition
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/work/Cygwin/winsup/cygwin/ntdll.h:1117:14: error: multiple definition of ‘enum _THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/usr/include/w32api/winbase.h:1160:16: error: previous definition here
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: invalid type in declaration before ‘,’ token
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: conflicting declaration ‘typedef int THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/advapi32.cc:11:
/usr/include/w32api/winbase.h:1164:5: error: ‘THREAD_INFORMATION_CLASS’ has a previous declaration as ‘typedef enum _THREAD_INFORMATION_CLASS THREAD_INFORMATION_CLASS’
/work/Cygwin/winsup/cygwin/advapi32.cc: In function ‘WINBOOL RevertToSelf()’:
/work/Cygwin/winsup/cygwin/advapi32.cc:31:10: error: ‘ThreadImpersonationToken’ was not declared in this scope
/work/Cygwin/winsup/cygwin/advapi32.cc: In function ‘WINBOOL ImpersonateLoggedOnUser(HANDLE)’:
/work/Cygwin/winsup/cygwin/advapi32.cc:84:56: error: ‘ThreadImpersonationToken’ was not declared in this scope
cc1plus: all warnings being treated as errors
/work/Cygwin/winsup/cygwin/../Makefile.common:43: recipe for target 'advapi32.o' failed
make[3]: *** [advapi32.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/work/Cygwin/winsup/cygwin/ntdll.h:1117:14: error: multiple definition of ‘enum _THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/usr/include/w32api/winbase.h:1160:16: error: previous definition here
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: invalid type in declaration before ‘,’ token
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: conflicting declaration ‘typedef int THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/libc/arc4random.cc:36:
/usr/include/w32api/winbase.h:1164:5: error: ‘THREAD_INFORMATION_CLASS’ has a previous declaration as ‘typedef enum _THREAD_INFORMATION_CLASS THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/work/Cygwin/winsup/cygwin/ntdll.h:1117:14: error: multiple definition of ‘enum _THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/usr/include/w32api/winbase.h:1160:16: error: previous definition here
In file included from /work/Cygwin/winsup/cygwin/cygtls.h:279:0,
from ./globals.h:5,
from /work/Cygwin/winsup/cygwin/winsup.h:302,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: invalid type in declaration before ‘,’ token
/work/Cygwin/winsup/cygwin/ntdll.h:1122:27: error: conflicting declaration ‘typedef int THREAD_INFORMATION_CLASS’
In file included from /work/Cygwin/winsup/cygwin/winbase.h:9:0,
from /usr/include/w32api/windows.h:70,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/lib/_cygwin_crt0_common.cc:12:
/usr/include/w32api/winbase.h:1164:5: error: ‘THREAD_INFORMATION_CLASS’ has a previous declaration as ‘typedef enum _THREAD_INFORMATION_CLASS THREAD_INFORMATION_CLASS’
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
/work/Cygwin/winsup/cygwin/../Makefile.common:43: recipe for target '_cygwin_crt0_common.o' failed
make[3]: *** [_cygwin_crt0_common.o] Error 1
/work/Cygwin/winsup/cygwin/../Makefile.common:43: recipe for target 'arc4random.o' failed
make[3]: *** [arc4random.o] Error 1
make[3]: Leaving directory '/work/build32/runtime-stable/i686-pc-msys/winsup/cygwin'
Makefile:82: recipe for target 'cygwin' failed
make[2]: *** [cygwin] Error 1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin build errors in mingw-w64 r6257
2013-09-10 4:26 Cygwin build errors in mingw-w64 r6257 JonY
@ 2013-09-10 8:44 ` Kai Tietz
2013-09-10 13:33 ` Kai Tietz
1 sibling, 0 replies; 6+ messages in thread
From: Kai Tietz @ 2013-09-10 8:44 UTC (permalink / raw)
To: cygwin; +Cc: Alexey Pavlov
2013/9/10 JonY <10walls@gmail.com>:
> Hi,
>
> Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
> THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
>
> See attached log.
I can't see on trunk that those symbols are double defined by
mingw-w64. So there might be a different place in cygwin trying to
declare them itself.
Kai
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin build errors in mingw-w64 r6257
2013-09-10 4:26 Cygwin build errors in mingw-w64 r6257 JonY
2013-09-10 8:44 ` Kai Tietz
@ 2013-09-10 13:33 ` Kai Tietz
2013-09-10 14:30 ` JonY
1 sibling, 1 reply; 6+ messages in thread
From: Kai Tietz @ 2013-09-10 13:33 UTC (permalink / raw)
To: cygwin; +Cc: Alexey Pavlov
2013/9/10 JonY <10walls@gmail.com>:
> Hi,
>
> Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
> THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
>
> See attached log.
I can't see on trunk that those symbols are double defined by
mingw-w64. So there might be a different place in cygwin trying to
declare them itself.
Kai
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin build errors in mingw-w64 r6257
2013-09-10 13:33 ` Kai Tietz
@ 2013-09-10 14:30 ` JonY
2013-09-10 14:59 ` Alexey Pavlov
0 siblings, 1 reply; 6+ messages in thread
From: JonY @ 2013-09-10 14:30 UTC (permalink / raw)
To: cygwin; +Cc: Alexey Pavlov
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
On 9/10/2013 16:44, Kai Tietz wrote:
> 2013/9/10 JonY:
>> Hi,
>>
>> Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
>> THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
>>
>> See attached log.
>
> I can't see on trunk that those symbols are double defined by
> mingw-w64. So there might be a different place in cygwin trying to
> declare them itself.
>
> Kai
>
Alex,
Can you retest with the latest revision?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin build errors in mingw-w64 r6257
2013-09-10 14:30 ` JonY
@ 2013-09-10 14:59 ` Alexey Pavlov
2013-09-10 16:03 ` Kai Tietz
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Pavlov @ 2013-09-10 14:59 UTC (permalink / raw)
To: JonY; +Cc: cygwin
Using w2api from mingw-w64 rev.6265 I got the same errors:
http://pastebin.com/4N8uQ6t1
Regards,
Alexey.
2013/9/10 JonY
>
> On 9/10/2013 16:44, Kai Tietz wrote:
> > 2013/9/10 JonY:
> >> Hi,
> >>
> >> Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
> >> THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
> >>
> >> See attached log.
> >
> > I can't see on trunk that those symbols are double defined by
> > mingw-w64. So there might be a different place in cygwin trying to
> > declare them itself.
> >
> > Kai
> >
>
> Alex,
>
> Can you retest with the latest revision?
>
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin build errors in mingw-w64 r6257
2013-09-10 14:59 ` Alexey Pavlov
@ 2013-09-10 16:03 ` Kai Tietz
0 siblings, 0 replies; 6+ messages in thread
From: Kai Tietz @ 2013-09-10 16:03 UTC (permalink / raw)
To: cygwin; +Cc: JonY
Well, is there a guard present in cygwin's ntdef.h header? But in
general this seems to be a cygwin regression.
2013/9/10 Alexey Pavlov <alexpux@gmail.com>:
> Using w2api from mingw-w64 rev.6265 I got the same errors:
>
> http://pastebin.com/4N8uQ6t1
>
> Regards,
> Alexey.
>
>
> 2013/9/10 JonY
>>
>> On 9/10/2013 16:44, Kai Tietz wrote:
>> > 2013/9/10 JonY:
>> >> Hi,
>> >>
>> >> Seems like there is a duplicate definition of TRANSACTION_ALL_ACCESS and
>> >> THREAD_INFORMATION_CLASS, found by one of the msys2 developers.
>> >>
>> >> See attached log.
>> >
>> > I can't see on trunk that those symbols are double defined by
>> > mingw-w64. So there might be a different place in cygwin trying to
>> > declare them itself.
>> >
>> > Kai
>> >
>>
>> Alex,
>>
>> Can you retest with the latest revision?
>>
>>
>>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-09-10 14:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10 4:26 Cygwin build errors in mingw-w64 r6257 JonY
2013-09-10 8:44 ` Kai Tietz
2013-09-10 13:33 ` Kai Tietz
2013-09-10 14:30 ` JonY
2013-09-10 14:59 ` Alexey Pavlov
2013-09-10 16:03 ` Kai Tietz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).