[LLVMbugs] [Bug 15825] New: [not-a-bug, powerpc-darwin8] bad_alloc during assembly of RecursiveASTVisitorTest.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 22 22:27:58 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15825

            Bug ID: 15825
           Summary: [not-a-bug, powerpc-darwin8] bad_alloc during assembly
                    of RecursiveASTVisitorTest.cpp
           Product: Test Suite
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Programs Tests
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This is not a bug, but should be documented.
On powerpc-darwin8, RecursiveASTVisitorTest causes the system assembler to
bad_alloc/out-of-memory.
System compiler is apple-gcc-4.0.1, and assembler is Apple's GNU as 1.38.
This did not occur before r179583, and was first observed r180052.

[ 88%] Building CXX object
tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o
cd
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/unittests/Tooling
&& /Users/fang/local/bin/ccg++   -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-common -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-uninitialized -Wnon-virtual-dtor -fno-common -Woverloaded-virtual
-Wcast-qual -fno-strict-aliasing -g
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/unittests/Tooling
-I/Users/fang/local/src/LLVM-svn/llvm/tools/clang/unittests/Tooling
-I/Users/fang/local/src/LLVM-svn/llvm/tools/clang/include
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/include
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/include
-I/Users/fang/local/src/LLVM-svn/llvm/include
-I/Users/fang/local/src/LLVM-svn/llvm/utils/unittest/googletest/include   
-fno-exceptions  -fno-rtti -Wno-variadic-macros -o
CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o -c
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/unittests/Tooling/RecursiveASTVisitorTest.cpp
as(20706) malloc: *** vm_allocate(size=2147487744) failed (error code=3)
as(20706) malloc: *** error: can't allocate region
as(20706) malloc: *** set a breakpoint in szone_error to debug
/var/tmp//ccxE0lI4.s:34316:FATAL:virtual memory exceeded
make[3]: ***
[tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o]
Error 1

This will need to be diagnosed and worked around, I'm afraid.
I cannot resume check-clang without a workaround or fix.

-- 
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/20130423/199999de/attachment.html>


More information about the llvm-bugs mailing list