当我使用我的公司自定义安卓代码编写Android5.1时,它被kiled并说:build / envsetup.sh:line 1469:30649 Killed
而我在其他分支上更改代码它仍然被杀死,我将jdk更改为1.7并且在4.4下降gcc仍然不起作用,我使用ubuntu 12.04并且日志消息在下面,如果有人可以帮助我,谢谢!
日志
target C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/hydrogen-mark-deoptimize.cc
preparing StaticLib: libc_common [including out/target/product/elink8735_ftb_l/obj/STATIC_LIBRARIES/libjemalloc_intermediates/libjemalloc.a]
preparing StaticLib: libc_common_32 [including out/target/product/elink8735_ftb_l/obj_arm/STATIC_LIBRARIES/libc_tzcode_intermediates/libc_tzcode.a]
build/envsetup.sh: line 1469: 30649 Killed make -j24
#### make failed to build some targets (23:48 (mm:ss)) ####
INSTALL include/asm (33 files)
In file included from /home/lwf/lo35/1work-cfzz1-w801/alps/external/stlport/stlport/stl/_algo.h:737:0,
from /home/lwf/lo35/1work-cfzz1-w801/alps/external/stlport/stlport/algorithm:41,
from external/chromium_org/v8/src/vector.h:9,
from external/chromium_org/v8/src/utils.h:18,
from external/chromium_org/v8/src/assert-scope.h:10,
from external/chromium_org/v8/src/v8.h:33,
from external/chromium_org/v8/src/hydrogen.h:8,
from external/chromium_org/v8/src/hydrogen.cc:5:
/home/lwf/lo35/1work-cfzz1-w801/alps/external/stlport/stlport/stl/_algo.c: In member function 'void v8::internal::HOptimizedGraphBuilder::HandlePolymorphicCallNamed(v8::internal::Call*, v8::internal::HValue*, v8::internal::SmallMapList*, v8::internal::Handle<v8::internal::String>)':
/home/lwf/lo35/1work-cfzz1-w801/alps/external/stlport/stlport/stl/_algo.c:962:5: warning: array subscript is above array bounds [-Warray-bounds]
__insertion_sort(__first, __first + __stl_threshold, _STLP_VALUE_TYPE(__first,_RandomAccessIter), __comp);
和envsetup.sh是这样的:
function make()
{
local start_time=$(date +"%s")
$(get_make_command) "$@" //line1469
local ret=$?
local end_time=$(date +"%s")
local tdiff=$(($end_time-$start_time))
local hours=$(($tdiff / 3600 ))
local mins=$((($tdiff % 3600) / 60))
local secs=$(($tdiff % 60))
echo