some additional info on the compiler error
[11059.079200] cc1plus invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[11059.079227] CPU: 0 PID: 4855 Comm: cc1plus Not tainted 3.12.36-piCore+ #1
[11059.079282] [<c00145c0>] (unwind_backtrace+0x0/0xec) from [<c0011924>] (show_stack+0x10/0x14)
[11059.079314] [<c0011924>] (show_stack+0x10/0x14) from [<c00a1db4>] (dump_header.isra.13+0x70/0x1b8)
[11059.079336] [<c00a1db4>] (dump_header.isra.13+0x70/0x1b8) from [<c00a243c>] (oom_kill_process+0x2d4/0x454)
[11059.079355] [<c00a243c>] (oom_kill_process+0x2d4/0x454) from [<c00a29f4>] (out_of_memory+0x220/0x324)
[11059.079378] [<c00a29f4>] (out_of_memory+0x220/0x324) from [<c00a6de4>] (__alloc_pages_nodemask+0x8e8/0x924)
[11059.079398] [<c00a6de4>] (__alloc_pages_nodemask+0x8e8/0x924) from [<c00a05c8>] (filemap_fault+0x224/0x4ac)
[11059.079420] [<c00a05c8>] (filemap_fault+0x224/0x4ac) from [<c00bd9f0>] (__do_fault+0x68/0x598)
[11059.079439] [<c00bd9f0>] (__do_fault+0x68/0x598) from [<c00c10f8>] (handle_mm_fault+0x4e4/0x9e8)
[11059.079468] [<c00c10f8>] (handle_mm_fault+0x4e4/0x9e8) from [<c044e8c0>] (do_page_fault+0x2f0/0x418)
[11059.079490] [<c044e8c0>] (do_page_fault+0x2f0/0x418) from [<c0008364>] (do_DataAbort+0x34/0x98)
[11059.079508] [<c0008364>] (do_DataAbort+0x34/0x98) from [<c044d1bc>] (__dabt_usr+0x3c/0x40)
[11059.079518] Exception stack(0xcabc3fb0 to 0xcabc3ff8)
[11059.079531] 3fa0: 00000000 0223d540 00000000 00000000
[11059.079548] 3fc0: 00000022 00ba2e60 00000000 00000000 00000000 00ba3c10 00000001 bee4f0b4
[11059.079562] 3fe0: 00000000 bee4ed60 00000000 00798600 60000010 ffffffff
[11059.079569] Mem-info:
[11059.079576] Normal per-cpu:
[11059.079585] CPU 0: hi: 42, btch: 7 usd: 36
[11059.079606] active_anon:12061 inactive_anon:12100 isolated_anon:0
[11059.079606] active_file:51 inactive_file:52 isolated_file:0
[11059.079606] unevictable:0 dirty:0 writeback:0 unstable:0
[11059.079606] free:548 slab_reclaimable:1246 slab_unreclaimable:11526
[11059.079606] mapped:309 shmem:3202 pagetables:145 bounce:0
[11059.079606] free_cma:0
[11059.079656] Normal free:2192kB min:1732kB low:2164kB high:2596kB active_anon:48244kB inactive_anon:48400kB active_file:204kB inactive_file:208kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:196608kB managed:187896kB mlocked:0kB dirty:0kB writeback:0kB mapped:1236kB shmem:12808kB slab_reclaimable:4984kB slab_unreclaimable:46104kB kernel_stack:1320kB pagetables:580kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:2492 all_unreclaimable? yes
[11059.079669] lowmem_reserve[]: 0 0
[11059.079682] Normal: 100*4kB (UER) 6*8kB (R) 7*16kB (R) 1*32kB (R) 1*64kB (R) 0*128kB 0*256kB 1*512kB (R) 1*1024kB (R) 0*2048kB 0*4096kB = 2192kB
[11059.079727] 3335 total pagecache pages
[11059.079738] 30 pages in swap cache
[11059.079746] Swap cache stats: add 10944, delete 10914, find 14/32
[11059.079752] Free swap = 0kB
[11059.079758] Total swap = 41892kB
[11059.087528] 49152 pages of RAM
[11059.087546] 813 free pages
[11059.087553] 2178 reserved pages
[11059.087559] 3745 slab pages
[11059.087564] 2717 pages shared
[11059.087570] 30 pages swap cached
[11059.087579] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[11059.087610] [ 75] 0 75 507 183 4 37 -1000 udevd
[11059.087671] [ 3981] 0 3981 506 128 4 36 -1000 udevd
[11059.087685] [ 4015] 0 4015 506 96 4 57 -1000 udevd
[11059.087699] [ 4084] 1001 4084 781 217 5 0 0 sh
[11059.087713] [ 4087] 0 4087 753 148 5 1 0 startserialtty
[11059.087726] [ 4101] 0 4101 754 164 5 0 0 getty
[11059.087740] [ 4144] 0 4144 1187 166 5 0 -1000 sshd
[11059.087753] [ 4166] 0 4166 753 107 5 0 0 udhcpc
[11059.087767] [ 4199] 0 4199 4308 253 8 0 0 shairport
[11059.087780] [ 4208] 0 4208 1234 273 5 0 0 sshd
[11059.087795] [ 4211] 1001 4211 753 141 5 0 0 sh
[11059.087809] [ 4212] 1001 4212 1030 178 4 0 0 sftp-server
[11059.087823] [ 4800] 1001 4800 560 231 4 0 0 make
[11059.087836] [ 4801] 1001 4801 764 154 5 0 0 sh
[11059.087988] [ 4802] 1001 4802 695 352 4 0 0 make
[11059.088007] [ 4832] 1001 4832 764 155 5 0 0 sh
[11059.088021] [ 4836] 1001 4836 765 214 5 0 0 sh
[11059.088036] [ 4854] 1001 4854 717 136 5 0 0 g++
[11059.088050] [ 4855] 1001 4855 24750 20082 53 0 0 cc1plus
[11059.088062] Out of memory: Kill process 4855 (cc1plus) score 350 or sacrifice child
[11059.088073] Killed process 4855 (cc1plus) total-vm:99000kB, anon-rss:79768kB, file-rss:560kB