<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - some modules related tests fail in 32-bit windows builds"
   href="https://bugs.llvm.org/show_bug.cgi?id=38015">38015</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>some modules related tests fail in 32-bit windows builds
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>At least on my machine, when trying to build a new snapshot for
<a href="http://www.llvm.org/builds/">http://www.llvm.org/builds/</a>

I think this bot does 32-bit builds, but it's been red a while for other
reasons: <a href="http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015">http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015</a>




C:\src\llvm\build.32>ninja check-clang
[78/225] Linking CXX shared library bin\libclang.dll
   Creating library lib\libclang.lib and object lib\libclang.exp
[224/225] Running the Clang regression tests
llvm-lit.py: C:/src/llvm\utils\lit\lit\llvm\config.py:330: note: using clang:
c:\src\llvm\build.32\bin\clang.EXE
-- Testing: 12713 tests, 32 threads --
Testing: 0 .. 10.. 20.. 30.. 40
FAIL: Clang :: Modules/cxx-dtor.cpp (5607 of 12713)
******************** TEST 'Clang :: Modules/cxx-dtor.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';   rm -rf
C:\src\llvm\build.32\tools\clang\test\Modules\Output\cxx-dtor.cpp.tmp
: 'RUN: at line 2';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -fmodules
-fimplicit-module-maps -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\cxx-dtor.cpp.tmp
-I C:\src\llvm\tools\clang\test\Modules/Inputs/cxx-dtor -emit-llvm-only
C:\src\llvm\tools\clang\test\Modules\cxx-dtor.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "rm" "-rf"
"C:\src\llvm\build.32\tools\clang\test\Modules\Output\cxx-dtor.cpp.tmp"
$ ":" "RUN: at line 2"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-fmodules"
"-fimplicit-module-maps" "-x" "c++" "-std=c++11"
"-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\cxx-dtor.cpp.tmp"
"-I" "C:\src\llvm\tools\clang\test\Modules/Inputs/cxx-dtor" "-emit-llvm-only"
"C:\src\llvm\tools\clang\test\Modules\cxx-dtor.cpp"
# command stderr:
In module 'a' imported from
C:\src\llvm\tools\clang\test\Modules/Inputs/cxx-dtor/b.h:3:
C:\src\llvm\tools\clang\test\Modules/Inputs/cxx-dtor/a.h:1:25: error: 'X::~X'
from module 'a' is not present in definition of 'X' provided earlier
struct X { X(); virtual ~X(); };
                        ^
C:\src\llvm\tools\clang\test\Modules/Inputs/cxx-dtor/b.h:1:25: note:
declaration of '~X' does not match
struct X { X(); virtual ~X(); };
                        ^
C:\src\llvm\tools\clang\test\Modules\cxx-dtor.cpp:3:10: fatal error: could not
build module 'b'
#include "b.h"
 ~~~~~~~~^~~~~
2 errors generated.

error: command failed with exit status: 1

--

********************
Testing: 0 .. 10.. 20.. 30.. 40
FAIL: Clang :: Modules/friend-definition-2.cpp (5675 of 12713)
******************** TEST 'Clang :: Modules/friend-definition-2.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -fmodules
C:\src\llvm\tools\clang\test\Modules\friend-definition-2.cpp -verify
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-fmodules"
"C:\src\llvm\tools\clang\test\Modules\friend-definition-2.cpp" "-verify"
# command stderr:
error: 'error' diagnostics seen but not expected:
  File C:\src\llvm\build.32\tools\clang\test\Modules\B.map Line 4: 'ct::x' from
module 'B' is not present in definition of 'ct<T>' in module 'A'
error: 'note' diagnostics seen but not expected:
  File C:\src\llvm\build.32\tools\clang\test\Modules\A.map Line 4: declaration
of 'x' does not match
2 errors generated.

error: command failed with exit status: 1

--

********************
Testing: 0 .. 10.. 20.. 30.. 40
FAIL: Clang :: Modules/pr27401.cpp (5846 of 12713)
******************** TEST 'Clang :: Modules/pr27401.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';   rm -rf
C:\src\llvm\build.32\tools\clang\test\Modules\Output\pr27401.cpp.tmp
: 'RUN: at line 2';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -std=c++11
-IC:\src\llvm\tools\clang\test\Modules/Inputs/PR27401 -verify
C:\src\llvm\tools\clang\test\Modules\pr27401.cpp
: 'RUN: at line 3';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -std=c++11
-fmodules
-fmodule-map-file=C:\src\llvm\tools\clang\test\Modules/Inputs/PR27401/module.modulemap
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\pr27401.cpp.tmp
-IC:\src\llvm\tools\clang\test\Modules/Inputs/PR27401 -verify
C:\src\llvm\tools\clang\test\Modules\pr27401.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "rm" "-rf"
"C:\src\llvm\build.32\tools\clang\test\Modules\Output\pr27401.cpp.tmp"
$ ":" "RUN: at line 2"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-std=c++11"
"-IC:\src\llvm\tools\clang\test\Modules/Inputs/PR27401" "-verify"
"C:\src\llvm\tools\clang\test\Modules\pr27401.cpp"
$ ":" "RUN: at line 3"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-std=c++11"
"-fmodules"
"-fmodule-map-file=C:\src\llvm\tools\clang\test\Modules/Inputs/PR27401/module.modulemap"
"-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\pr27401.cpp.tmp"
"-IC:\src\llvm\tools\clang\test\Modules/Inputs/PR27401" "-verify"
"C:\src\llvm\tools\clang\test\Modules\pr27401.cpp"
# command stderr:
error: 'error' diagnostics seen but not expected:
  File C:\src\llvm\tools\clang\test\Modules/Inputs/PR27401/b.h Line 14:
'vector::vector<_Tp, _Allocator>' from module 'b' is not present in definition
of 'vector<_Tp, _Allocator>' provided earlier
error: 'note' diagnostics seen but not expected:
  File C:\src\llvm\tools\clang\test\Modules\pr27401.cpp Line 17: declaration of
'vector<_Tp, _Allocator>' does not match
  File C:\src\llvm\tools\clang\test\Modules\pr27401.cpp Line 18: declaration of
'vector<_Tp, _Allocator>' does not match
  File C:\src\llvm\tools\clang\test\Modules\pr27401.cpp Line 19: declaration of
'vector<_Tp, _Allocator>' does not match
4 errors generated.

error: command failed with exit status: 1

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.
FAIL: Clang :: Modules/submodules-merge-defs.cpp (5933 of 12713)
******************** TEST 'Clang :: Modules/submodules-merge-defs.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1';   rm -rf
C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
: 'RUN: at line 2';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fmodules -fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery -DTEXTUAL
: 'RUN: at line 3';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fmodules -fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery
: 'RUN: at line 4';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fmodules -fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery -fmodules-local-submodule-visibility -DTEXTUAL
: 'RUN: at line 5';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fmodules -fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery -fmodules-local-submodule-visibility
: 'RUN: at line 6';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery -fmodules-local-submodule-visibility -DTEXTUAL
-DEARLY_INDIRECT_INCLUDE
: 'RUN: at line 7';   c:\src\llvm\build.32\bin\clang.EXE -cc1 -internal-isystem
c:\src\llvm\build.32\lib\clang\7.0.0\include -nostdsysteminc -x c++ -std=c++11
-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
-fmodules -fimplicit-module-maps -I
C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs
C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp -verify
-fno-modules-error-recovery -fmodules-local-submodule-visibility
-fmodule-feature use_defs_twice -DIMPORT_USE_2
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "rm" "-rf"
"C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp"
$ ":" "RUN: at line 2"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-x" "c++"
"-std=c++11"
"-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp"
"-fmodules" "-fimplicit-module-maps" "-I"
"C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs"
"C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp" "-verify"
"-fno-modules-error-recovery" "-DTEXTUAL"
$ ":" "RUN: at line 3"
$ "c:\src\llvm\build.32\bin\clang.EXE" "-cc1" "-internal-isystem"
"c:\src\llvm\build.32\lib\clang\7.0.0\include" "-nostdsysteminc" "-x" "c++"
"-std=c++11"
"-fmodules-cache-path=C:\src\llvm\build.32\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp"
"-fmodules" "-fimplicit-module-maps" "-I"
"C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs"
"C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp" "-verify"
"-fno-modules-error-recovery"
# command stderr:
error: 'error' diagnostics seen but not expected:
  File C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs/defs.h
Line 9: 'B::f' from module 'merged-defs' is not present in definition of 'B' in
module 'stuff.use'
  File C:\src\llvm\tools\clang\test\Modules\submodules-merge-defs.cpp Line 95:
missing '#include "use-defs.h"'; explicit specialization of 'f<int>' must be
imported from module 'stuff.use' before it is required
error: 'note' diagnostics seen but not expected:
  File C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs/defs.h
Line 9: declaration of 'f' does not match
  File C:\src\llvm\tools\clang\test\Modules/Inputs/submodules-merge-defs/defs.h
Line 20: explicit specialization declared here
4 errors generated.

error: command failed with exit status: 1

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 109.59s
********************
Failing Tests (4):
    Clang :: Modules/cxx-dtor.cpp
    Clang :: Modules/friend-definition-2.cpp
    Clang :: Modules/pr27401.cpp
    Clang :: Modules/submodules-merge-defs.cpp

  Expected Passes    : 12559
  Expected Failures  : 22
  Unsupported Tests  : 128
  Unexpected Failures: 4
FAILED: tools/clang/test/CMakeFiles/check-clang
cmd.exe /C "cd /D C:\src\llvm\build.32\tools\clang\test &&
C:\python_27_amd64\files\python.exe C:/src/llvm/build.32/./bin/llvm-lit.py -sv
--param clang_site_config=C:/src/llvm/build.32/tools/clang/test/lit.site.cfg
C:/src/llvm/build.32/tools/clang/test"
ninja: build stopped: subcommand failed.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>