New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEST 'Clang :: Modules/compiler_builtins.m' FAILED #21369
Comments
Which compiler are you using? |
MinGW-W64 GCC 4.7.2 (Target: i686-w64-mingw32). |
I see same problem when built with newer mingw-w64 4.9.1. Something does not work wth the mingw-w64 header files, but the module diagnostic only says File C:\llvm\tools\clang\test\Modules\compiler_builtins.m Line 7: could not build module '_Builtin_intrinsics' which is not very helpful understanding the problem. I had tried to compile small samples using the intrinsics (not as modules) which did work ok. I xfailed the test in r224453. |
This may be the result of identical module.modulemap being loaded twice from two different directories. |
It has been XPASSsing for me. http://bb.pgr.jp/builders/ninja-clang-x64-mingw64-RA/builds/5588 |
r224515 Enabling this test again on mingw. The problem seems to happen when |
r226754 fixed this for me. Yaron, Amine, can you check if this fixes it for you too? |
It seems fixed for me. I get 6 Unexpected Failures now and it's not among them: Failing Tests (6):
What should I do with the current failures ? |
As of r226931, all tests pass when built with mingw gcc 4.9.1 32 bit. Regarding darwin-sdkroot.c, you probably need to replace env.exe, see http://llvm.org/viewvc/llvm-project?view=revision&revision=215298 About the rest, if they still fail try rebuilding everything. |
Extended Description
Testing: 0 .. 10..
FAIL: Clang :: Modules/compiler_builtins.m (3748 of 19252)
******************** TEST 'Clang :: Modules/compiler_builtins.m' FAILED ********************
Script:
rm -rf E:\llvm_build\tools\clang\test\Modules\Output\compiler_builtins.m.tmp
E:/llvm_build/./bin/clang.EXE -fsyntax-only -fmodules -fmodules-cache-path=E:\llvm_build\tools\clang\test\Modules\Output\compiler_builtins.m.tmp -D__need_wint_t E:\llvm\tools\clang\test\Modules\compiler_builtins.m -Xclang -verify
E:/llvm_build/./bin/clang.EXE -fsyntax-only -std=c99 -fmodules -fmodules-cache-path=E:\llvm_build\tools\clang\test\Modules\Output\compiler_builtins.m.tmp -D__need_wint_t E:\llvm\tools\clang\test\Modules\compiler_builtins.m -Xclang -verify
Exit Code: 1
Command Output (stdout):
Command 0: "rm" "-rf" "E:\llvm_build\tools\clang\test\Modules\Output\compiler_builtins.m.tmp"
Command 0 Result: 0
Command 0 Output:
Command 0 Stderr:
Command 1: "E:/llvm_build/./bin/clang.EXE" "-fsyntax-only" "-fmodules" "-fmodules-cache-path=E:\llvm_build\tools\clang\test\Modules\Output\compiler_builtins.m.tmp" "-D__need_wint_t" "E:\llvm\tools\clang\test\Modules\compiler_builtins.m" "-Xclang" "-verify"
Command 1 Result: 1
Command 1 Output:
Command 1 Stderr:
error: 'error' diagnostics seen but not expected:
File E:\llvm\tools\clang\test\Modules\compiler_builtins.m Line 7: could not build module '_Builtin_intrinsics'
1 error generated.
--
The text was updated successfully, but these errors were encountered: