<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Android make - out of memory?!"
   href="https://llvm.org/bugs/show_bug.cgi?id=28191">28191</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Android make - out of memory?!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>danschrager@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16578" name="attach_16578" title="Requested files">attachment 16578</a> <a href="attachment.cgi?id=16578&action=edit" title="Requested files">[details]</a></span>
Requested files

[ 20% 5058/25035] host C++: libartd <=...points/quick/quick_lock_entrypoints.cc
FAILED: /bin/bash -c "(PWD=/proc/self/cwd
prebuilts/misc/linux-x86/ccache/ccache
prebuilts/clang/host/linux-x86/clang-2812033/bin/clang++     -I
external/gtest/include -I external/icu/icu4c/source/common -I external/lz4/lib
-I external/valgrind/include -I external/valgrind -I external/vixl/src -I
external/zlib -I bionic/libc/private -I art/cmdline -I art/sigchainlib -I art
-I art/runtime -I
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates
-I
/home/dans/out/source/host/linux-x86/gen/SHARED_LIBRARIES/libartd_intermediates
-I libnativehelper/include/nativehelper \$(cat
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/import_includes)
-isystem system/core/include -isystem system/media/audio/include -isystem
hardware/libhardware/include -isystem hardware/libhardware_legacy/include
-isystem hardware/ril/include -isystem libnativehelper/include -isystem
frameworks/native/include -isystem frameworks/native/opengl/include -isystem
frameworks/av/include -isystem frameworks/base/include -isystem
/home/dans/out/source/host/linux-x86/obj/include -c  -fno-exceptions
-Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS
-D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing
--gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8
--sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot
-fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused
-Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd=
-D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion
-Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument
-fcolor-diagnostics   -target x86_64-linux-gnu
-Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin 
-Wsign-promo -Wno-inconsistent-missing-override -isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8
-isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward
-isystem
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux
 -DBUILDING_LIBART=1 -Wthread-safety -Wthread-safety-negative
-Wimplicit-fallthrough -Wfloat-equal -Wint-to-void-pointer-cast
-Wused-but-marked-unused -Wdeprecated -Wunreachable-code-break
-Wunreachable-code-return -Wmissing-noreturn -fno-omit-frame-pointer -fno-rtti
-std=gnu++11 -ggdb3 -Wall -Werror -Wextra -Wstrict-aliasing -fstrict-aliasing
-Wunreachable-code -Wredundant-decls -Wshadow -Wunused -fvisibility=protected
-DART_DEFAULT_GC_TYPE_IS_CMS -DIMT_SIZE=43 -DART_BASE_ADDRESS=0x60000000
-DART_DEFAULT_INSTRUCTION_SET_FEATURES=default -DART_ENABLE_CODEGEN_arm
-DART_ENABLE_CODEGEN_arm64 -DART_ENABLE_CODEGEN_mips
-DART_ENABLE_CODEGEN_mips64 -DART_ENABLE_CODEGEN_x86
-DART_ENABLE_CODEGEN_x86_64 -DART_BASE_ADDRESS_MIN_DELTA=-0x1000000
-DART_BASE_ADDRESS_MAX_DELTA=0x1000000
-DART_DEFAULT_INSTRUCTION_SET_FEATURES=\"default\" -O2
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -UNDEBUG -fPIC -D_USING_LIBCXX -DANDROID_STRICT
-std=gnu++14 -nostdinc++  -Werror=int-to-pointer-cast
-Werror=pointer-to-int-cast  -Werror=address-of-temporary
-Werror=null-dereference -Werror=return-type    -MD -MF
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.d
-o
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.o
art/runtime/entrypoints/quick/quick_lock_entrypoints.cc ) && (cp
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.d
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.P;
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/
:/' <
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.d
<span class="quote">>></span >
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.P;
rm -f
/home/dans/out/source/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/entrypoints/quick/quick_lock_entrypoints.d
)"
clang++: error: unable to execute command: Segmentation fault
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
Android clang version 3.8.256229  (based on LLVM 3.8.256229)
Target: x86_64--linux-gnu
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-2812033/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/quick_lock_entrypoints-c80c3c.cpp
clang++: note: diagnostic msg: /tmp/quick_lock_entrypoints-c80c3c.sh
clang++: note: diagnostic msg: 

********************
[ 20% 5060/25035] Building with Jack: ...work_intermediates/dex-dir/classes.dex
FAILED: /bin/bash
/home/dans/out/source/target/common/obj/JAVA_LIBRARIES/framework_intermediates/dex-dir/classes.dex.rsp
Out of memory error (version 1.2-rc4 'Carnac' (298900
f95d7bdecfceb327f9d201a1348397ed8a843843 by <a href="mailto:android-jack-team@google.com">android-jack-team@google.com</a>)).
GC overhead limit exceeded.
Try increasing heap size with java option '-Xmx<size>'.
Warning: This may have produced partial or corrupted output.
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (01:06:27 (hh:mm:ss)) ####</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>