[LLVMbugs] [Bug 10061] New: chain-empty-initial-namespace fails unit testing
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 1 07:31:28 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10061
Summary: chain-empty-initial-namespace fails unit testing
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: apacherulzz at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Yesterday morning I built everything from over the weekend and all tests passed
(except hello.c, filled a separate bug for that). This morning I checked out
trunk and built. When running unit testing chain-empty-initial-namespace fails.
llvm[0]: Running test suite
make[1]: Entering directory `/opt/llvm/build/test'
Making a new site.exp file...
Making LLVM unittest 'lit.site.cfg' file...
make -C /opt/llvm/build/test/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
make[2]: Entering directory `/opt/llvm/build/tools/clang/test'
Making Clang 'lit.site.cfg' file...
Making Clang 'Unit/lit.site.cfg' file...
Making LLVM 'lit.site.cfg' file...
make[2]: Leaving directory `/opt/llvm/build/tools/clang/test'
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; \
/opt/llvm/llvm/utils/lit/lit.py -s -v .
/opt/llvm/build/test/../tools/clang/test )
lit.py: lit.cfg:143: note: using clang:
'/opt/llvm/build/Release+Asserts/bin/clang'
FAIL: Clang :: Driver/hello.c (1387 of 9215)
******************** TEST 'Clang :: Driver/hello.c' FAILED ********************
Script:
--
/opt/llvm/build/Release+Asserts/bin/clang -ccc-echo -o
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.exe
/opt/llvm/llvm/tools/clang/test/Driver/hello.c 2>
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.log
grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c'
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.log
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.exe >
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.out
grep "I'm a little driver, short and stout."
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.out
--
Exit Code: 1
********************
FAIL: Clang :: PCH/chain-empty-initial-namespace.cpp (1612 of 9215)
******************** TEST 'Clang :: PCH/chain-empty-initial-namespace.cpp'
FAILED ********************
Script:
--
/opt/llvm/build/Release+Asserts/bin/clang -cc1 -include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp -include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-fsyntax-only
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
/opt/llvm/build/Release+Asserts/bin/clang -cc1 -chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-fsyntax-only
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
--
Exit Code: 134
Command Output (stderr):
--
clang: /opt/llvm/llvm/lib/Support/raw_ostream.cpp:323: void
llvm::raw_ostream::copy_to_buffer(const char*, size_t): Assertion `Size <=
size_t(OutBufEnd - OutBufCur) && "Buffer overrun!"' failed.
0 clang 0x09651fb8
Stack dump:
0. Program arguments: /opt/llvm/build/Release+Asserts/bin/clang -cc1
-chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-fsyntax-only
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
1. <eof> parser at end of file
/opt/llvm/build/tools/clang/test/PCH/Output/chain-empty-initial-namespace.cpp.script:
line 2: 9099 Aborted /opt/llvm/build/Release+Asserts/bin/clang
-cc1 -chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-chain-include
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
-fsyntax-only
/opt/llvm/llvm/tools/clang/test/PCH/chain-empty-initial-namespace.cpp
--
********************
Testing Time: 189.84s
********************
Failing Tests (2):
Clang :: Driver/hello.c
Clang :: PCH/chain-empty-initial-namespace.cpp
Expected Passes : 8597
Expected Failures : 67
Unsupported Tests : 549
Unexpected Failures: 2
make[1]: *** [check-local-all] Error 1
make[1]: Leaving directory `/opt/llvm/build/test'
make: *** [check-all] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list