Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#52082 - [gcc] OOM when compiling Chromium or Firefox
Attached to Project:
Arch Linux
Opened by Anonymous (reallybmn) - Thursday, 08 December 2016, 12:40 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 08 December 2016, 14:57 GMT
Opened by Anonymous (reallybmn) - Thursday, 08 December 2016, 12:40 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 08 December 2016, 14:57 GMT
|
DetailsDescription: When I attempt to compile Chromium or Firefox I get this OOM. Here is chromium for reference.
Additional info: * package version(s) pacman -Si gcc Repository : core Name : gcc Version : 6.2.1-1 Description : The GNU Compiler Collection - C and C++ frontends Architecture : x86_64 URL : http://gcc.gnu.org Licenses : GPL LGPL FDL custom Groups : base-devel Provides : None Depends On : gcc-libs=6.2.1-1 binutils>=2.26 libmpc Optional Deps : None Conflicts With : None Replaces : None Download Size : 27.91 MiB Installed Size : 110.75 MiB Packager : Allan McRae <allan@archlinux.org> Build Date : Tue 30 Aug 2016 06:47:05 AM EDT Validated By : MD5 Sum SHA-256 Sum Signature * config and/or log files etc. makepkg.conf ---snip--- #-- Compiler and Linker Flags # -march (or -mcpu) builds exclusively for an architecture # -mtune optimizes for an architecture, but builds for whole processor family CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" #-- Make Flags: change this for DistCC/SMP systems #MAKEFLAGS="-j2" #-- Debugging flags DEBUG_CFLAGS="-g -fvar-tracking-assignments" DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" ---- dmesg: ------- [ 5514.510159] Node 0 DMA free:15892kB min:176kB low:220kB high:264kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:16kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes [ 5514.510163] lowmem_reserve[]: 0 3479 5941 5941 [ 5514.510166] Node 0 DMA32 free:49024kB min:39480kB low:49348kB high:59220kB active_anon:3379148kB inactive_anon:992kB active_file:3548kB inactive_file:5268kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3652480kB managed:3577232kB mlocked:0kB dirty:448kB writeback:0kB mapped:1480kB shmem:1372kB slab_reclaimable:23312kB slab_unreclaimable:17100kB kernel_stack:2928kB pagetables:16676kB unstable:0kB bounce:0kB free_pcp:3656kB local_pcp:464kB free_cma:0kB writeback_tmp:0kB pages_scanned:56556 all_unreclaimable? yes [ 5514.510170] lowmem_reserve[]: 0 0 2461 2461 [ 5514.510172] Node 0 Normal free:27316kB min:27924kB low:34904kB high:41884kB active_anon:2369148kB inactive_anon:5904kB active_file:1592kB inactive_file:2008kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:2621440kB managed:2520324kB mlocked:0kB dirty:344kB writeback:0kB mapped:6924kB shmem:6284kB slab_reclaimable:24380kB slab_unreclaimable:15816kB kernel_stack:3536kB pagetables:11340kB unstable:0kB bounce:0kB free_pcp:3740kB local_pcp:216kB free_cma:0kB writeback_tmp:0kB pages_scanned:23636 all_unreclaimable? yes [ 5514.510176] lowmem_reserve[]: 0 0 0 0 [ 5514.510178] Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15892kB [ 5514.510186] Node 0 DMA32: 490*4kB (UE) 1258*8kB (UE) 960*16kB (UME) 300*32kB (UE) 123*64kB (UME) 33*128kB (UME) 1*256kB (M) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 49336kB [ 5514.510194] Node 0 Normal: 570*4kB (UME) 669*8kB (UME) 525*16kB (UME) 228*32kB (UME) 61*64kB (UME) 2*128kB (ME) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 27488kB [ 5514.510201] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [ 5514.510202] 5643 total pagecache pages [ 5514.510204] 0 pages in swap cache [ 5514.510205] Swap cache stats: add 0, delete 0, find 0/0 [ 5514.510205] Free swap = 0kB [ 5514.510206] Total swap = 0kB [ 5514.510207] 1572478 pages RAM [ 5514.510208] 0 pages HighMem/MovableOnly [ 5514.510208] 44112 pages reserved [ 5514.510209] 0 pages hwpoisoned [ 5514.510210] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 5514.510215] [ 381] 0 381 17294 146 29 3 0 0 systemd-journal [ 5514.510217] [ 410] 0 410 2999 23 10 3 0 0 paxd-libre [ 5514.510219] [ 424] 0 424 9387 573 19 3 0 -1000 systemd-udevd [ 5514.510221] [ 499] 0 499 23005 51 15 3 0 0 lvmetad [ 5514.510223] [ 567] 192 567 28548 106 25 3 0 0 systemd-timesyn [ 5514.510225] [ 579] 81 579 8370 200 22 3 0 -900 dbus-daemon [ 5514.510227] [ 591] 0 591 9641 147 23 3 0 0 systemd-logind [ 5514.510230] [ 633] 0 633 28285 228 59 3 0 0 login [ 5514.510232] [ 636] 997 636 12016 94 27 3 0 0 dnsmasq [ 5514.510234] [ 652] 1000 652 13722 250 30 4 0 0 systemd [ 5514.510235] [ 655] 1000 655 20559 374 42 3 0 0 (sd-pam) [ 5514.510237] [ 660] 1000 660 3423 114 11 3 0 0 startx [ 5514.510239] [ 719] 1000 719 3979 45 14 3 0 0 xinit [ 5514.510241] [ 720] 1000 720 77156 9411 123 3 0 0 Xorg [ 5514.510242] [ 723] 1000 723 143593 520 108 4 0 0 gnome-session-b [ 5514.510244] [ 727] 1000 727 8310 197 20 3 0 0 dbus-daemon [ 5514.510246] [ 729] 1000 729 86148 670 36 4 0 0 at-spi-bus-laun [ 5514.510248] [ 734] 1000 734 8187 69 21 3 0 0 dbus-daemon [ 5514.510249] [ 736] 1000 736 55264 194 42 4 0 0 at-spi2-registr [ 5514.510251] [ 739] 1000 739 69966 194 38 3 0 0 gvfsd [ 5514.510253] [ 746] 1000 746 103333 689 37 4 0 0 gvfsd-fuse [ 5514.510255] [ 769] 1000 769 52655 195 34 3 0 0 gnome-keyring-d [ 5514.510257] [ 779] 1000 779 261363 1869 205 4 0 0 gnome-settings- [ 5514.510258] [ 789] 1000 789 139551 629 89 4 0 0 pulseaudio [ 5514.510260] [ 790] 0 790 75014 322 44 3 0 0 upowerd [ 5514.510262] [ 792] 133 792 44463 66 22 4 0 0 rtkit-daemon [ 5514.510264] [ 813] 102 813 131194 2590 52 3 0 0 polkitd [ 5514.510265] [ 839] 1000 839 206652 5253 192 4 0 0 budgie-wm [ 5514.510267] [ 840] 124 840 77447 2445 55 4 0 0 colord [ 5514.510269] [ 847] 1000 847 131134 480 114 3 0 0 gsd-printer [ 5514.510274] [ 873] 1000 873 46317 186 27 3 0 0 dconf-service [ 5514.510276] [ 883] 0 883 70364 1024 43 4 0 0 accounts-daemon [ 5514.510281] [ 892] 1000 892 77979 851 51 3 0 0 gvfs-udisks2-vo [ 5514.510283] [ 902] 0 902 93128 478 46 4 0 0 udisksd [ 5514.510285] [ 910] 1000 910 307943 3246 194 4 0 0 nautilus-deskto [ 5514.510287] [ 912] 1000 912 158571 1288 115 3 0 0 zeitgeist-datah [ 5514.510288] [ 913] 1000 913 123897 5375 178 3 0 0 python2 [ 5514.510292] [ 924] 1000 924 103934 813 36 4 0 0 zeitgeist-daemo [ 5514.510294] [ 930] 1000 930 461919 2323 117 5 0 0 conky [ 5514.510295] [ 993] 1000 993 69525 331 37 4 0 0 zeitgeist-fts [ 5514.510297] [ 1022] 1000 1022 88996 215 40 3 0 0 gvfsd-trash [ 5514.510299] [ 1043] 1000 1043 88399 164 38 4 0 0 gvfsd-burn [ 5514.510301] [ 1055] 1000 1055 16400 126 35 3 0 0 gconfd-2 [ 5514.510302] [ 1064] 1000 1064 48562 134 30 3 0 0 gvfsd-metadata [ 5514.510304] [ 1070] 1000 1070 10975 685 27 3 0 0 zsh [ 5514.510306] [ 1489] 0 1489 23774 283 50 3 0 0 sudo [ 5514.510308] [ 1595] 0 1595 4117 271 13 3 0 0 bash [ 5514.510309] [ 3368] 0 3368 4117 280 12 3 0 0 bash [ 5514.510311] [10174] 0 10174 4085 254 12 3 0 0 bash [ 5514.510313] [10175] 0 10175 4117 280 12 3 0 0 bash [ 5514.510314] [10176] 0 10176 4990 125 14 3 0 0 perl [ 5514.510316] [10252] 0 10252 10702 100 25 4 0 0 systemd-nspawn [ 5514.510318] [10268] 0 10268 3513 64 12 3 0 0 chrootbuild [ 5514.510319] [10269] 0 10269 17576 174 38 4 0 0 sudo [ 5514.510321] [10270] 1000 10270 3696 794 11 3 0 0 makepkg [ 5514.510323] [10550] 1000 10550 1047 16 8 3 0 0 tee [ 5514.510325] [19691] 1000 19691 21884 18528 47 3 0 0 ninja [ 5514.510327] [13640] 1000 13640 2083 21 8 3 0 0 g++ [ 5514.510328] [13676] 1000 13676 2083 20 9 3 0 0 g++ [ 5514.510330] [13677] 1000 13677 160542 148457 317 3 0 0 cc1plus [ 5514.510332] [13678] 1000 13678 170708 154947 330 3 0 0 cc1plus [ 5514.510334] [13679] 1000 13679 4377 1213 13 3 0 0 as [ 5514.510335] [13680] 1000 13680 4377 1212 14 3 0 0 as [ 5514.510337] [13716] 1000 13716 2083 22 9 3 0 0 g++ [ 5514.510339] [13717] 1000 13717 162923 150496 321 3 0 0 cc1plus [ 5514.510340] [13718] 1000 13718 4377 1214 12 3 0 0 as [ 5514.510342] [13754] 1000 13754 2083 21 8 3 0 0 g++ [ 5514.510344] [13755] 1000 13755 168121 156382 333 4 0 0 cc1plus [ 5514.510346] [13756] 1000 13756 4707 1604 14 3 0 0 as [ 5514.510347] [13827] 1000 13827 2083 21 9 3 0 0 g++ [ 5514.510349] [13828] 1000 13828 173151 157290 333 4 0 0 cc1plus [ 5514.510351] [13829] 1000 13829 4377 1213 13 3 0 0 as [ 5514.510352] [13935] 1000 13935 2083 20 10 3 0 0 g++ [ 5514.510354] [13936] 1000 13936 136906 125261 270 4 0 0 cc1plus [ 5514.510356] [13937] 1000 13937 4377 1213 13 3 0 0 as [ 5514.510358] [13973] 1000 13973 2083 21 8 3 0 0 g++ [ 5514.510359] [13974] 1000 13974 135005 123408 267 4 0 0 cc1plus [ 5514.510361] [13975] 1000 13975 4377 1213 14 3 0 0 as [ 5514.510363] [14011] 1000 14011 2083 20 8 3 0 0 g++ [ 5514.510364] [14012] 1000 14012 126307 109380 241 4 0 0 cc1plus [ 5514.510366] [14013] 1000 14013 4377 1213 13 3 0 0 as [ 5514.510368] [14014] 1000 14014 2083 22 9 3 0 0 g++ [ 5514.510370] [14015] 1000 14015 123511 111482 245 3 0 0 cc1plus [ 5514.510371] [14016] 1000 14016 4377 1177 14 3 0 0 as [ 5514.510373] [14156] 1000 14156 2083 21 9 3 0 0 g++ [ 5514.510375] [14158] 1000 14158 111153 99324 221 3 0 0 cc1plus [ 5514.510377] [14159] 1000 14159 4377 1177 13 3 0 0 as [ 5514.510378] [14552] 1000 14552 3423 99 10 3 0 0 sh [ 5514.510380] [14558] 1000 14558 3423 103 11 3 0 0 sh [ 5514.510382] [14560] 1000 14560 4937 21 13 3 0 0 awk [ 5514.510384] [14562] 1000 14562 3423 95 11 3 0 0 sh [ 5514.510385] [14563] 1000 14563 3423 102 11 3 0 0 sh [ 5514.510387] [14564] 1000 14564 3423 91 11 3 0 0 sh [ 5514.510389] [14566] 1000 14566 4993 24 12 3 0 0 journalctl [ 5514.510391] [14569] 1000 14569 1454 10 8 3 0 0 fold [ 5514.510392] [14570] 1000 14570 4937 60 11 3 0 0 awk [ 5514.510394] [14571] 1000 14571 2689 51 10 3 0 0 grep [ 5514.510396] [14572] 1000 14572 5414 107 14 3 0 0 awk [ 5514.510397] [14573] 1000 14573 1456 10 7 3 0 0 head [ 5514.510399] [14574] 1000 14574 1459 9 7 3 0 0 tr [ 5514.510401] [14576] 1000 14576 2689 51 9 3 0 0 grep [ 5514.510402] [14577] 1000 14577 4937 48 12 3 0 0 awk [ 5514.510404] [14578] 1000 14578 1459 10 8 3 0 0 tr [ 5514.510406] [14580] 1000 14580 2689 50 10 3 0 0 grep [ 5514.510407] [14581] 1000 14581 4937 59 12 3 0 0 awk [ 5514.510409] [14582] 1000 14582 1459 10 8 3 0 0 tr [ 5514.510410] Out of memory: Kill process 13828 (cc1plus) score 103 or sacrifice child [ 5514.510414] Killed process 13828 (cc1plus) total-vm:692604kB, anon-rss:629160kB, file-rss:0kB [ 7133.392264] perf interrupt took too long (5025 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 ---- free -m :( total used free shared buff/cache available Mem: 5970 768 3091 20 2110 4933 Swap: 0 0 0 --- Error during compile: --snip--- | [17576/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings15.o | FAILED: obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings15.o | g++ -MMD -MF obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings15.o.d -DV8_DEPRECATION_WARNINGS -DENABLE_MDNS=1 -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_CORE_IMPLEMENTATION=1 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DENABLE_OILPAN=1 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DWTF_USE_ICCJPEG=1 -DWTF_USE_QCMSLIB=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -Igen/blink -I../.. -Igen -I../../third_party/WebKit/Source -Igen/blink -I../../third_party/khronos -I../../gpu -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/snappy_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -Igen/shim_headers/libvpx_shim -I../../third_party/WebKit/Source -I../../third_party/WebKit -Igen/blink -Igen/third_party/WebKit -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/angle/include -I../../third_party/angle/src/common/third_party/numerics -Igen/angle -I../../third_party/iccjpeg -I/usr/include/libpng16 -I../../third_party/libxml/src/include -I../../third_party/libxml/linux/include -I/usr/include/libxml2 -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/zlib -I../../v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fvisibility=hidden -g0 -DLIBXML_STATIC= -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -c gen/blink/bindings/core/v8/V8GeneratedCoreBindings15.cpp -o obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings15.o | g++: internal compiler error: Killed (program cc1plus) | Please submit a full bug report, | with preprocessed source if appropriate. | See <https://bugs.archlinux.org/> for instructions. | [17577/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings13.o | [17578/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings19.o | [17579/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings16.o | [17580/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings12.o | [17581/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings17.o | [17582/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings20.o | [17583/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings11.o | [17584/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings18.o | [17585/21219] CXX obj/third_party/WebKit/Source/core/core_generated/V8GeneratedCoreBindings21.o | ninja: build stopped: subcommand failed. | ==> ERROR: A failure occurred in build(). | Aborting... --- Steps to reproduce: 1) Go to AUR 2) Attempt to compile Chromium or Firefox 3) Get an OOM on 4GB of ram. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 08 December 2016, 14:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Not having enough memory is not a bug
Thursday, 08 December 2016, 14:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Not having enough memory is not a bug