[llvm-bugs] [Bug 38015] New: some modules related tests fail in 32-bit windows builds

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 2 05:37:05 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38015

            Bug ID: 38015
           Summary: some modules related tests fail in 32-bit windows
                    builds
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org

At least on my machine, when trying to build a new snapshot for
http://www.llvm.org/builds/

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




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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180702/730296f8/attachment-0001.html>


More information about the llvm-bugs mailing list