Skip to content
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

Closed
llvmbot opened this issue Sep 18, 2014 · 9 comments
Closed

TEST 'Clang :: Modules/compiler_builtins.m' FAILED #21369

llvmbot opened this issue Sep 18, 2014 · 9 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Sep 18, 2014

Bugzilla Link 20995
Resolution FIXED
Resolved on Jan 23, 2015 15:37
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @zmodem

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.

--

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2014

Which compiler are you using?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2014

Which compiler are you using?

MinGW-W64 GCC 4.7.2 (Target: i686-w64-mingw32).

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 17, 2014

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.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 18, 2014

This may be the result of identical module.modulemap being loaded twice from two different directories.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 18, 2014

It has been XPASSsing for me.

http://bb.pgr.jp/builders/ninja-clang-x64-mingw64-RA/builds/5588

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 18, 2014

r224515

Enabling this test again on mingw. The problem seems to happen when
two identical module.modulemap are available on the include path and
so should be fixed in the mingw driver includes, when we'll have it.

@zmodem
Copy link
Collaborator

zmodem commented Jan 22, 2015

r226754 fixed this for me.

Yaron, Amine, can you check if this fixes it for you too?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jan 23, 2015

It seems fixed for me. I get 6 Unexpected Failures now and it's not among them:

Failing Tests (6):

Clang :: Driver/cl-inputs.c

Clang :: Driver/darwin-sdkroot.c

Clang :: Driver/warning-options.cpp

Clang :: Frontend/source-col-map.c

Clang :: Index/crash-recovery.c

LLVM :: ExecutionEngine/frem.ll

What should I do with the current failures ?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jan 23, 2015

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
http://llvm.org/viewvc/llvm-project?view=revision&revision=221271

About the rest, if they still fail try rebuilding everything.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

2 participants