Skip to content

Instantly share code, notes, and snippets.

@benclarkk
Created January 5, 2019 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benclarkk/d96ec11ed92d28a6af0efd1d723fb209 to your computer and use it in GitHub Desktop.
Save benclarkk/d96ec11ed92d28a6af0efd1d723fb209 to your computer and use it in GitHub Desktop.
HABUILD_SDK [mako] ben@fortnite:~/hadk$ make hybris-hal
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.5-90.current-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM2.171019.029.B1
OUT_DIR=/home/ben/hadk/out
============================================
ninja: no work to do.
[1/1] /home/ben/hadk/out/soong/.bootstrap/bin/soong_build /home/ben/hadk/out/soong/build.ninja
FAILED: /home/ben/hadk/out/soong/build.ninja
/home/ben/hadk/out/soong/.bootstrap/bin/soong_build -t -b /home/ben/hadk/out/soong -d /home/ben/hadk/out/soong/build.ninja.d -o /home/ben/hadk/out/soong/build.ninja Android.bp
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0x80b26e, 0x16)
prebuilts/go/linux-x86/src/runtime/panic.go:596 +0x95
runtime.sysMap(0xc47c590000, 0x232e0000, 0xa0c300, 0xa23c98)
prebuilts/go/linux-x86/src/runtime/mem_linux.go:216 +0x1d0
runtime.(*mheap).sysAlloc(0xa0bb00, 0x232e0000, 0x420cf1)
prebuilts/go/linux-x86/src/runtime/malloc.go:428 +0x374
runtime.(*mheap).grow(0xa0bb00, 0x11969, 0x0)
prebuilts/go/linux-x86/src/runtime/mheap.go:774 +0x62
runtime.(*mheap).allocSpanLocked(0xa0bb00, 0x11969, 0x300)
prebuilts/go/linux-x86/src/runtime/mheap.go:678 +0x44f
runtime.(*mheap).alloc_m(0xa0bb00, 0x11969, 0x100000000, 0xffffffffffffffff)
prebuilts/go/linux-x86/src/runtime/mheap.go:562 +0xe2
runtime.(*mheap).alloc.func1()
prebuilts/go/linux-x86/src/runtime/mheap.go:627 +0x4b
runtime.systemstack(0xc420a65f10)
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:343 +0xab
runtime.(*mheap).alloc(0xa0bb00, 0x11969, 0x10100000000, 0xa0dfb0)
prebuilts/go/linux-x86/src/runtime/mheap.go:628 +0xa0
runtime.largeAlloc(0x232d04f0, 0x7f2dbd59b001, 0xc400000028)
prebuilts/go/linux-x86/src/runtime/malloc.go:795 +0x93
runtime.mallocgc.func1()
prebuilts/go/linux-x86/src/runtime/malloc.go:690 +0x3e
runtime.systemstack(0xc420022000)
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
prebuilts/go/linux-x86/src/runtime/proc.go:1132
goroutine 1 [running]:
runtime.systemstack_switch()
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:281 fp=0xc4211e5420 sp=0xc4211e5418
runtime.mallocgc(0x232d04f0, 0x777680, 0xc420124701, 0xc442126000)
prebuilts/go/linux-x86/src/runtime/malloc.go:691 +0x930 fp=0xc4211e54c0 sp=0xc4211e5420
runtime.makeslice(0x777680, 0x232d04f0, 0x232d04f0, 0xc4211e55c8, 0x468a32, 0x0)
prebuilts/go/linux-x86/src/runtime/slice.go:54 +0x7b fp=0xc4211e5510 sp=0xc4211e54c0
bytes.makeSlice(0x232d04f0, 0x0, 0x0, 0x0)
prebuilts/go/linux-x86/src/bytes/buffer.go:201 +0x77 fp=0xc4211e5550 sp=0xc4211e5510
bytes.(*Buffer).grow(0xc4227477a0, 0xc10, 0x0)
prebuilts/go/linux-x86/src/bytes/buffer.go:109 +0x177 fp=0xc4211e55a0 sp=0xc4211e5550
bytes.(*Buffer).Write(0xc4227477a0, 0xc442126000, 0xc10, 0x2000, 0x3, 0x3, 0x40d46f)
prebuilts/go/linux-x86/src/bytes/buffer.go:137 +0x41 fp=0xc4211e55d0 sp=0xc4211e55a0
fmt.Fprintf(0x9e77a0, 0xc4227477a0, 0x803958, 0xa, 0xc4211e56b8, 0x3, 0x3, 0x9ea660, 0xc465b4ad40, 0x0)
prebuilts/go/linux-x86/src/fmt/print.go:182 +0xa9 fp=0xc4211e5638 sp=0xc4211e55d0
github.com/google/blueprint.(*ninjaWriter).ScopedAssign(0xc4262837e0, 0x801e2f, 0x6, 0xc465b9ac80, 0xc02, 0xc465b4ad20, 0x1)
/home/ben/hadk/build/blueprint/ninja_writer.go:172 +0x1a4 fp=0xc4211e56f8 sp=0xc4211e5638
github.com/google/blueprint.(*buildDef).WriteTo(0xc4431d0d80, 0xc4262837e0, 0xc44f74a360, 0x0, 0x0)
/home/ben/hadk/build/blueprint/ninja_defs.go:398 +0x818 fp=0xc4211e5ac8 sp=0xc4211e56f8
github.com/google/blueprint.(*Context).writeLocalBuildActions(0xc420106280, 0xc4262837e0, 0xc42273aa20, 0x0, 0x0)
/home/ben/hadk/build/blueprint/context.go:3152 +0x2bc fp=0xc4211e5b60 sp=0xc4211e5ac8
github.com/google/blueprint.(*Context).writeAllModuleActions(0xc420106280, 0xc4262837e0, 0x0, 0x0)
/home/ben/hadk/build/blueprint/context.go:3036 +0x923 fp=0xc4211e5d10 sp=0xc4211e5b60
github.com/google/blueprint.(*Context).WriteBuildFile(0xc420106280, 0x9e77a0, 0xc4227477a0, 0x5d2, 0xc44f752000)
/home/ben/hadk/build/blueprint/context.go:2712 +0x19a fp=0xc4211e5d48 sp=0xc4211e5d10
github.com/google/blueprint/bootstrap.Main(0xc420106280, 0x7f6c60, 0xc4200b8f00, 0xc4209b7f58, 0x2, 0x2)
/home/ben/hadk/build/blueprint/bootstrap/command.go:150 +0x73e fp=0xc4211e5ed0 sp=0xc4211e5d48
main.main()
/home/ben/hadk/build/soong/cmd/soong_build/main.go:48 +0x235 fp=0xc4211e5f88 sp=0xc4211e5ed0
runtime.main()
prebuilts/go/linux-x86/src/runtime/proc.go:185 +0x20a fp=0xc4211e5fe0 sp=0xc4211e5f88
runtime.goexit()
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4211e5fe8 sp=0xc4211e5fe0
ninja: build stopped: subcommand failed.
20:07:47 soong failed with: exit status 1
#### failed to build some targets (01:16 (mm:ss)) ####
HABUILD_SDK [mako] ben@fortnite:~/hadk$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment