Home > Mobile >  Help: Android P compilation fails
Help: Android P compilation fails

Time:11-02

Consult everybody a great god, and the android P compile just start out of memory error, what reason be?
Thank you,

Error message:
============================================
Ninja: no work to do.
1/1 [100%] out/soong/. The bootstrap/bin/soong_build out/soong/build. The ninja
FAILED: the out/soong/build. The ninja
Out/soong/. The bootstrap/bin/soong_build - t - out l/. Module_paths/Android. Bp. The list - out b/soong - n out - d out/soong/build. Ninja. D - globFile out/soong/. The bootstrap/build - globs. Ninja - o out/soong/build. Ninja Android. Bp
fatal error: the runtime: out of memory

runtime stack:
Xa31765 runtime. Throw (0, 0 x16)
Prebuilts/go/Linux x86/SRC/runtime/panic. Go: 617 + 0 x72
Xc164000000 runtime. SysMap (0, 0 x4000000, 0 xf79658)
Prebuilts/go/Linux x86/SRC/runtime/mem_linux go: 170 + 0 xc7
Runtime. (* mheap). SysAlloc (xf61e50 xf61e40 0, 0 x2000, 0, 0 x1)
Prebuilts/go/Linux x86/SRC/runtime/malloc go: 633 + 0 x1cd
Runtime. (* mheap). Turns (0 xf61e40, 0 x1, 0 x0)
Prebuilts/go/Linux x86/SRC/runtime/mheap go: 1232 + 0 x42
The runtime. (* mheap). AllocSpanLocked (xf79668 xf61e40 0, 0 x1, 0, 0 x7f0595b01058)
Prebuilts/go/Linux x86/SRC/runtime/mheap go: 1150 + 0 x3a7
The runtime. (* mheap). Alloc_m (x45003b xf61e40 0, 0 x1, 0, 0 x7f0595b01058)
Prebuilts/go/Linux x86/SRC/runtime/mheap go: 977 + 0 xc2
The runtime. (* mheap). Alloc. Func1 ()
Prebuilts/go/Linux x86/SRC/runtime/mheap go: 1048 + 0 x4c
The runtime. Systemstack (0 xc052869980)
Prebuilts/go/Linux x86/SRC/runtime/asm_amd64. S: 351 + 0 x66
The runtime. Mstart ()
Prebuilts/go/Linux x86/SRC/runtime/proc. Go: 1153

Goroutine 1 [running] :
The runtime. Systemstack_switch ()
Prebuilts/go/Linux x86/SRC/runtime/asm_amd64. S: 311 fp=0 xc12fe7b190 sp=0 xc12fe7b188 PC=0 x4587f0
The runtime. (* mheap). Alloc (x7f059501003b xf61e40 0, 0 x1, 0, 0 x7f0595b01058)
Prebuilts/go/Linux x86/SRC/runtime/mheap go: 1047 + 0 x8a fp=0 xc12fe7b1e0 sp=0 xc12fe7b190 PC=0 x42434a
Runtime. (* McEntral). Turns (0 xf63080, 0 x0)
Prebuilts/go/Linux x86/SRC/runtime/McEntral go: 256 + 0 x95 fp=0 xc12fe7b228 sp=0 xc12fe7b1e0 PC=0 x417285
The runtime. (* McEntral). CacheSpan (x1007f0595b01058 xf63080 0, 0)
Prebuilts/go/Linux x86/SRC/runtime/McEntral go: 106 + 0 x2ff fp=0 xc12fe7b288 sp=0 xc12fe7b228 PC=0 x416d8f
McAche runtime. (*). Refill (x3b x7f05ab2cd8b8 0, 0)
Prebuilts/go/Linux x86/SRC/runtime/McAche go: 135 + 0 x86 fp=0 xc12fe7b2a8 sp=0 xc12fe7b288 PC=0 x416826
The runtime. (* McAche). NextFree (xc163ffe000 x7f05ab2cd8b8 0, 0 x3b, 0, 0 xc12fe7b328, 0 x44661f)
Prebuilts/go/Linux x86/SRC/runtime/malloc go: 786 + 0 x88 fp=0 xc12fe7b2e0 sp=0 xc12fe7b2a8 PC=0 x40b488
X300 runtime. Mallocgc (0, 0 x0, 0 x0, 0 xc163ffbb00)
Prebuilts/go/Linux x86/SRC/runtime/malloc go: 939 + 0 x76e fp=0 xc12fe7b380 sp=0 xc12fe7b2e0 PC=0 x40bd9e
X2fe runtime. Rawstring (0, 0 x0, 0 x0, 0 x0, 0 x0, 0 x0)
Prebuilts/go/Linux x86/SRC/runtime/string go: 259 + 0 x4f fp=0 xc12fe7b3b0 sp=0 xc12fe7b380 PC=0 x44661f
The runtime. Rawstringtmp (x2fe 0 x0, 0, 0 x1, 0 x2fd, 0 xc163ffbb00, 0 x2fd, 0 x2fd)
Prebuilts/go/Linux x86/SRC/runtime/string go: 123 + 0 x72 fp=0 xc12fe7b3f0 sp=0 xc12fe7b3b0 PC=0 x445fe2
The runtime. Concatstrings (0 x0, 0 xc12fe7b4d0, 0 x2, 0 x2, 0 x4e3ff0, 0 xc000036400)
Prebuilts/go/Linux x86/SRC/runtime/string go: 49 + 0 xae fp=0 xc12fe7b488 sp=0 xc12fe7b3f0 PC=0 x445a6e
The runtime. Concatstring2 (xc163ffbb00 0 x0, 0, 0 x2fd, 0 xc05271bdf8, 0 x1, 0 xc163fbbe80, 0 x33)
Prebuilts/go/Linux x86/SRC/runtime/string go: 58 + 0 x47 fp=0 xc12fe7b4c8 sp=0 xc12fe7b488 PC=0 x445ce7
NinjaString github.com/google/blueprint. (*). ValueWithEscaper (xc000036400 xc0552d89c0 0, 0 xc12ffa1230, 0, 0 x6, 0 xc12fe7b8b8)
/home/will/aosp/build/blueprint/ninja_strings. Go: 283 + 0 x1c1 fp=0 xc12fe7b560 sp=0 xc12fe7b4c8 PC=0 x5e1951
NinjaString github.com/google/blueprint. (*). The Value (... )
/home/will/aosp/build/blueprint/ninja_strings. Go: 274
Xc07fbe0d80 buildDef github.com/google/blueprint. (*). WriteTo (0, 0 xc0247a8ca0, 0 xc12ffa1230, 0 x0, 0 x0)
/home/will/aosp/build/blueprint/ninja_defs. Go: 391 + 0 x4f1 fp=0 xc12fe7b950 sp=0 xc12fe7b560 PC=0 x5dead1
Xc0000a29c0 github.com/google/blueprint. Context (*). WriteLocalBuildActions (0, 0 xc0247a8ca0, 0 xc04d159f28, 0 x1, 0 x1)
/home/will/aosp/build/blueprint/context. Go: 3513 + 0 x44c fp=0 xc12fe7ba38 sp=0 xc12fe7b950 PC=0 x5d39cc
Xc0000a29c0 github.com/google/blueprint. Context (*). WriteAllModuleActions (0, 0 xc0247a8ca0, 0 x0, 0 x0)
/home/will/aosp/build/blueprint/context. Go: 3397 + 0 x850 fp=0 xc12fe7bc00 sp=0 xc12fe7ba38 PC=0 x5d2b00
Github.com/google/blueprint. Context (*). WriteBuildFile. Func1 (xc12ffa1320 xb28780 0, 0)
/home/will/aosp/build/blueprint/context. Go: 3050 + 0 x2b2 fp=0 xc12fe7bc60 sp=0 xc12fe7bc00 PC=0 x5f90d2
The runtime/pprof. Do (xc0247a8c80 xb28780 0, 0 xc12ffa1320, 0, 0 x1, 0 x1, 0 xc12fe7bd08)
Prebuilts/go/Linux x86/SRC/runtime/pprof/runtime. Go: 35 + 0 xca fp=0 xc12fe7bca8 sp=0 xc12fe7bc60 PC=0 x59c22a
Xc0000a29c0 github.com/google/blueprint. Context (*). WriteBuildFile (0, 0 xb1d520, 0 xc0cafe0e40, 0 xc014e31000, 0 xc12fea6300)
nullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related