T
Timur Safin
Hi All,
Sorry if it is offtopic here, I wasn't able to find any more relevant group...
I'm slowly approaching AMD64 build for our product (as my personal fun project). And after
I ran that Amd64 cross-compiler from DDK 3790 build (proven to be good enough for my
driver stuff) over the sources I've updated shortly I've found this serious assertion
appearing in manyplaces of the code we have:
$ tcc.ver edzunet build5105
cl c:/v/v5-0/build5105/common/src/edzunet.c -MD -Og -nologo -Wp64 -c -I.
-Ic:/v/v5-0/build5105/winx64/h -Ic:/v/v5-0/build5105/nt/h -Ic:/v/v5-0/build5105/common/h
-D MACHINETYP=50
edzunet.c
....
c:\v\v5-0\build5105\common\src\edzunet.c(3159) : <func:#13 "zu90fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(3159) : <func:#13 "zu90fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(4989) : <func:#17 "zu129fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(4989) : <func:#17 "zu129fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(6949) : <func:#27 "ECP_c_stop_write_dmn">
Compiler error (assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
These assertions always follow to the lines with MEMBAR() macro inserted (which I defined
as _mm_mfence alias). For example the 1st most problem:
3155: MEMBAR(); /* NS updates complete before bumping nsversion */
3156: pap->av.ai = nsversion;
3157: nsversion++;
3158: MEMBAR(); /* nsversion must be set before releasing SWITCH */
3159: return;
Is this a known assertion? Where I could grab more updated version than those of DDK I have:
$ cl
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.2207 for AMD64
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
Thanks in advance,
Timur Safin
Intersystems Russia
Sorry if it is offtopic here, I wasn't able to find any more relevant group...
I'm slowly approaching AMD64 build for our product (as my personal fun project). And after
I ran that Amd64 cross-compiler from DDK 3790 build (proven to be good enough for my
driver stuff) over the sources I've updated shortly I've found this serious assertion
appearing in manyplaces of the code we have:
$ tcc.ver edzunet build5105
cl c:/v/v5-0/build5105/common/src/edzunet.c -MD -Og -nologo -Wp64 -c -I.
-Ic:/v/v5-0/build5105/winx64/h -Ic:/v/v5-0/build5105/nt/h -Ic:/v/v5-0/build5105/common/h
-D MACHINETYP=50
edzunet.c
....
c:\v\v5-0\build5105\common\src\edzunet.c(3159) : <func:#13 "zu90fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(3159) : <func:#13 "zu90fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(4989) : <func:#17 "zu129fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(4989) : <func:#17 "zu129fun"> Compiler error
(assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
c:\v\v5-0\build5105\common\src\edzunet.c(6949) : <func:#27 "ECP_c_stop_write_dmn">
Compiler error (assertion): file f:\vs70builds\2232\vc\Compiler\Utc\src\P2\fgopt.c line 3826
These assertions always follow to the lines with MEMBAR() macro inserted (which I defined
as _mm_mfence alias). For example the 1st most problem:
3155: MEMBAR(); /* NS updates complete before bumping nsversion */
3156: pap->av.ai = nsversion;
3157: nsversion++;
3158: MEMBAR(); /* nsversion must be set before releasing SWITCH */
3159: return;
Is this a known assertion? Where I could grab more updated version than those of DDK I have:
$ cl
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.2207 for AMD64
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
Thanks in advance,
Timur Safin
Intersystems Russia