LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   How to compile chromium using Alien's script ? (https://www.linuxquestions.org/questions/slackware-arm-108/how-to-compile-chromium-using-alien%27s-script-4175588249/)

Linux.tar.gz 08-29-2016 11:53 AM

How to compile chromium using Alien's script ?
 
Hi !
I'm trying to build it on ARM, but I haven't found a way to remove the invocation of -msse2 -mfpmath=sse -mmmx -msse2 -mfpmath=sse -mmmx so the build obviously fails.

http://www.slackware.com/~alien/slac...hromium/build/

dab1414 08-29-2016 12:43 PM

There is nothing in that slackbuild for those flags. Most likely its in your system flags. You can view them maybe
Code:

env
or
Code:

echo "$CFLAGS"
change CFLAGS to other you want to view, off the top of my head I can't remember all of them ( it looks like it is pulling in CRFLAGS). I am not at home to verify anything. Also I believe that they are set in /etc/profile, but I may be mistaken. You can set your own flags to use for while compiling chromium, or modify the slackbuild. Hopefully this is start in right direction, but I havent done too much with slackbuilds yet:D

Linux.tar.gz 08-30-2016 06:36 AM

I checked for the sake of being exhaustive, but no flags like that in the env.

Linux.tar.gz 08-30-2016 07:07 AM

I have the same behavior with the SBo script.

drmozes 08-30-2016 07:24 AM

Quote:

Originally Posted by Linux.tar.gz (Post 5597825)
Hi !
I'm trying to build it on ARM, but I haven't found a way to remove the invocation of -msse2 -mfpmath=sse -mmmx -msse2 -mfpmath=sse -mmmx so the build obviously fails.

http://www.slackware.com/~alien/slac...hromium/build/

At a minimum you should patch that build script. The following sets it for hard float.
If you are using soft float, change the CFLAGS to -O2 -march=armv5te

I don't know if Chromium would build on soft float but you could try!

Code:

root@platano:/tmp/build# diff -u chromium.SlackBuild.orig chromium.SlackBuild
--- chromium.SlackBuild.orig    2016-08-30 13:04:05.488717574 +0100
+++ chromium.SlackBuild 2016-08-30 13:04:40.138717590 +0100
@@ -364,8 +364,6 @@
 if [ -z "$ARCH" ]; then
  case "$MARCH" in
    i?86)    export ARCH=i486 ;;
-    armv7hl) export ARCH=$MARCH ;;
-    armv6hl) export ARCH=$MARCH ;;
    arm*)    export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *)      export ARCH=$MARCH ;;
@@ -386,14 +384,7 @@
              #DSSE="0"
              DSSE="1"
              ;;
-  armv7hl)  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
-            SLKLDFLAGS=""; LIBDIRSUFFIX=""
-            TARGETARCH="arm"
-            DSSE="1"
-            # Widevine not supported (no binary library available):
-            USE_CDM=0
-            ;;
-  armv6hl)  SLKCFLAGS="-O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard"
+  arm)      SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
              SLKLDFLAGS=""; LIBDIRSUFFIX=""
              TARGETARCH="arm"
              DSSE="1"


Linux.tar.gz 08-30-2016 12:41 PM

Thanks a lot, looking at your diff I saw a noob-esque mistake in mine !
It's actually compiling on -current.

drmozes 09-01-2016 04:24 AM

Quote:

Originally Posted by Linux.tar.gz (Post 5598317)
Thanks a lot, looking at your diff I saw a noob-esque mistake in mine !
It's actually compiling on -current.

Please let us know when it's complete and whether it's worth building - i.e. is it fast enough?

thanks

Linux.tar.gz 09-01-2016 04:54 PM

I started compilation on a odroid xu4, but this little piece of crap crash when pushed hard on CPU (exynos).
I plan to compile on a real ARM processor (OMAP5) in the next few days. I'll post here the result.

Linux.tar.gz 09-02-2016 06:10 AM

Compiling since a few hours.
Quote:

[11097/20190] CXX obj/google_apis/drive/google_apis.task_util.o
[11098/20190] CXX obj/google_apis/drive/google_apis.time_util.o
I had to remove the -mfpu=vfpv3-d16 flag as it make the compilation fail.
To be continued...

Linux.tar.gz 09-02-2016 11:17 AM

Failure :

[14423/20190] CXX obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDebugShaders.o
FAILED: obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDebugShaders.o
c++ -MMD -MF obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDebugShaders.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=269902-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_HANGOUT_SERVICES_EXTENSION=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DMOJO_USE_SYSTEM_IMPL -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 -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libevent/target -Igen -I../.. -I../../skia/config -I../../third_party/WebKit/Source -I../../third_party/khronos -I../../gpu -Igen/angle -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -I../../third_party/zlib -I../../third_party/WebKit -Igen/third_party/WebKit -Igen/blink -I../../third_party/libpng -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/qcms/src -I../../v8/include -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wno-maybe-uninitialized -march=armv7-a -mtune=generic-armv7-a -mfpu=neon -mfloat-abi=hard -mthumb -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -march=armv7-a -Wno-unused-local-typedefs -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-abi -std=gnu++11 -Wno-narrowing -c ../../third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp -o obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDebugShaders.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[14424/20190] CXX obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDepthTexture.o
[14425/20190] CXX obj/third_party/WebKit/Source/modules/webgl/modules.WebGLDrawBuffers.o
ninja: build stopped: subcommand failed.
install: cannot stat 'out/Release/chrome': No such file or directory
chromium.SlackBuild FAILED at line 655

real 539m19.693s

I added a bit of SWAP to see if it's linked to a lack of memory.

drmozes 09-02-2016 12:36 PM

Quote:

Originally Posted by Linux.tar.gz (Post 5599827)
Failure :

Code:

c++: internal compiler error: Killed (program cc1plus)
I added a bit of SWAP to see if it's linked to a lack of memory.

Looks like a lack of memory indeed.

My build machines have 1GB RAM and 3GB swap.

Linux.tar.gz 09-02-2016 02:29 PM

This one had 2G RAM and zero swap. I only added 740MB swap, I'll add more if needed.
That's something I like with ARM machines: no noise, no heat, low current consumption. I can let it compile with serenity :^) .

Linux.tar.gz 09-03-2016 03:10 AM

It had indeed not enough RAM as the build went further, then stop again. New try with 9G RAM.

Linux.tar.gz 09-03-2016 05:39 PM

Failure at link, unfortunately :

[20189/20190] CXX obj/chrome/app/chrome_initial.chrome_main_delegate.o
[20190/20190] LINK chrome
FAILED: chrome
c++ -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -pie -L. -L. -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,-rpath=\$ORIGIN/lib/ -Wl,-rpath-link=lib/ -o etc.
etc.
etc.
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
ninja: build stopped: subcommand failed.
strip:/tmp/build/package-chromium/usr/lib/chromium/chromium: File format not recognized
chromium.SlackBuild FAILED at line 700

real 860m34.243s
OMAP5 dual-core Cortex-A15 1.5GHz, mSATA SSD, for the record.

Maybe lack of RAM again.
I heard once that even with a lot of swap, link can fail if not enough RAM.
Any suggestion ?

drmozes 09-04-2016 02:47 AM

Quote:

Originally Posted by Linux.tar.gz (Post 5600332)
collect2: fatal error: ld terminated with signal 9 [Killed]

dmesg will tell you what was killed and why.

Linux.tar.gz 09-04-2016 05:58 AM

Crap, i halted the machine.
Anyway, here's the /var/log/messages :

Code:

Sep  3 22:29:17 darkstar kernel: [174127.272268] kworker/0:1 cpuset=/ mems_allowed=0
Sep  3 22:29:17 darkstar kernel: [174127.652414] [ pid ]  uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
Sep  3 22:29:17 darkstar kernel: [174127.661472] [  197]    0  197    2834        3      7      0      215        -1000 udevd
Sep  3 22:29:18 darkstar kernel: [174127.670630] [  367]    0  367      691        1      4      0      24            0 cgmanager
Sep  3 22:29:18 darkstar kernel: [174127.680140] [  401]    0  401      500      164      5      0        9            0 syslogd
Sep  3 22:29:18 darkstar kernel: [174127.689485] [  405]    0  405      465      130      4      0        4            0 klogd
Sep  3 22:29:18 darkstar kernel: [174127.698623] [  549]    0  549      539      33      4      0      32            0 dhcpcd
Sep  3 22:29:18 darkstar kernel: [174127.707865] [  561]    81  561      832        3      4      0      53            0 dbus-daemon
Sep  3 22:29:18 darkstar kernel: [174127.717580] [  597]    0  597    12729        3      12      0      102            0 console-kit-dae
Sep  3 22:29:18 darkstar kernel: [174127.727661] [  603]    0  603      587      76      5      0      15            0 crond
Sep  3 22:29:18 darkstar kernel: [174127.736854] [  608]    0  608      585      11      4      0      19            0 atd
Sep  3 22:29:18 darkstar kernel: [174127.745848] [  619]    87  619    15555        3      14      0      568            0 polkitd
Sep  3 22:29:18 darkstar kernel: [174127.755189] [  648]    0  648    2046        3      6      0      150            0 cupsd
Sep  3 22:29:18 darkstar kernel: [174127.764372] [  650]    0  650      671        3      4      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.773593] [  651]    0  651      671        3      5      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.782866] [  652]    0  652      671        3      5      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.792112] [  653]    0  653      671        3      5      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.801362] [  654]    0  654      671        3      4      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.810626] [  655]    0  655      671        3      5      0      53            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.819867] [  656]    0  656      593        3      4      0      26            0 agetty
Sep  3 22:29:18 darkstar kernel: [174127.829120] [  700]    0  700    1316      47      5      0      52        -1000 sshd
Sep  3 22:29:18 darkstar kernel: [174127.838151] [  779]  1000  779    1088      146      5      0      82            0 screen
Sep  3 22:29:18 darkstar kernel: [174127.847381] [  780]  1000  780    1276        3      6      0      119            0 bash
Sep  3 22:29:18 darkstar kernel: [174127.856453] [  782]    0  782    1457        3      5      0      300            0 bash
Sep  3 22:29:18 darkstar kernel: [174127.865510] [ 7337]    0  7337    1137        3      5      0      91            0 sh
Sep  3 22:29:18 darkstar kernel: [174127.874406] [ 8454]    0  8454    10669        3      24      0    9532            0 ninja
Sep  3 22:29:18 darkstar kernel: [174127.883585] [ 8455]    0  8455      553        2      5      0      42            0 tee
Sep  3 22:29:18 darkstar kernel: [174127.892586] [ 2126]    0  2126      921        5      5      0      94            0 c++
Sep  3 22:29:18 darkstar kernel: [174127.901581] [ 2127]    0  2127      813        5      4      0      53            0 collect2
Sep  3 22:29:18 darkstar kernel: [174127.911003] [ 2128]    0  2128  567435  470338    1104      0    90277            0 ld

The /var/log/syslog :
Code:

Sep  3 22:29:17 darkstar kernel: [174127.257551] kworker/0:1 invoked oom-killer: gfp_mask=0x26142c0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_NOTRACK), order=3, oom_score_adj=0
Sep  3 22:29:17 darkstar kernel: [174127.277168] CPU: 0 PID: 12903 Comm: kworker/0:1 Not tainted 4.7.2 #1
Sep  3 22:29:17 darkstar kernel: [174127.283939] Hardware name: Generic OMAP5 (Flattened Device Tree)
Sep  3 22:29:17 darkstar kernel: [174127.290352] Workqueue: events usbnet_deferred_kevent [usbnet]
Sep  3 22:29:17 darkstar kernel: [174127.296479] [<c011004c>] (unwind_backtrace) from [<c010c230>] (show_stack+0x10/0x14)
Sep  3 22:29:17 darkstar kernel: [174127.304681] [<c010c230>] (show_stack) from [<c04836ec>] (dump_stack+0xb0/0xe4)
Sep  3 22:29:17 darkstar kernel: [174127.312333] [<c04836ec>] (dump_stack) from [<c0290fd4>] (dump_header+0x58/0x370)
Sep  3 22:29:17 darkstar kernel: [174127.320176] [<c0290fd4>] (dump_header) from [<c0235fe0>] (oom_kill_process+0x20c/0x59c)
Sep  3 22:29:17 darkstar kernel: [174127.328653] [<c0235fe0>] (oom_kill_process) from [<c02367ec>] (out_of_memory+0x414/0x46c)
Sep  3 22:29:17 darkstar kernel: [174127.337312] [<c02367ec>] (out_of_memory) from [<c023be0c>] (__alloc_pages_nodemask+0xf94/0x100c)
Sep  3 22:29:17 darkstar kernel: [174127.346606] [<c023be0c>] (__alloc_pages_nodemask) from [<c027f660>] (cache_alloc_refill+0xfc/0x7cc)
Sep  3 22:29:17 darkstar kernel: [174127.356172] [<c027f660>] (cache_alloc_refill) from [<c027ffd8>] (__kmalloc_track_caller+0x2a8/0x338)
Sep  3 22:29:17 darkstar kernel: [174127.365831] [<c027ffd8>] (__kmalloc_track_caller) from [<c0656024>] (__kmalloc_reserve+0x24/0x70)
Sep  3 22:29:17 darkstar kernel: [174127.375223] [<c0656024>] (__kmalloc_reserve) from [<c06560ec>] (__alloc_skb+0x7c/0x164)
Sep  3 22:29:17 darkstar kernel: [174127.383699] [<c06560ec>] (__alloc_skb) from [<c065c394>] (__netdev_alloc_skb+0x3c/0x148)
Sep  3 22:29:17 darkstar kernel: [174127.392275] [<c065c394>] (__netdev_alloc_skb) from [<bf5aec50>] (rx_submit+0x2c/0x208 [usbnet])
Sep  3 22:29:17 darkstar kernel: [174127.401483] [<bf5aec50>] (rx_submit [usbnet]) from [<bf5afc6c>] (usbnet_deferred_kevent+0x84/0x32c [usbnet])
Sep  3 22:29:17 darkstar kernel: [174127.411880] [<bf5afc6c>] (usbnet_deferred_kevent [usbnet]) from [<c01548b4>] (process_one_work+0x1fc/0x770)
Sep  3 22:29:17 darkstar kernel: [174127.422176] [<c01548b4>] (process_one_work) from [<c0154e60>] (worker_thread+0x38/0x550)
Sep  3 22:29:17 darkstar kernel: [174127.430749] [<c0154e60>] (worker_thread) from [<c015af44>] (kthread+0xd4/0xf0)
Sep  3 22:29:17 darkstar kernel: [174127.438405] [<c015af44>] (kthread) from [<c0107890>] (ret_from_fork+0x14/0x24)
Sep  3 22:29:17 darkstar kernel: [174127.446136] Mem-Info:
Sep  3 22:29:17 darkstar kernel: [174127.448649] active_anon:320341 inactive_anon:162032 isolated_anon:0
Sep  3 22:29:17 darkstar kernel: [174127.448649]  active_file:1812 inactive_file:2074 isolated_file:0
Sep  3 22:29:17 darkstar kernel: [174127.448649]  unevictable:0 dirty:34 writeback:0 unstable:0
Sep  3 22:29:17 darkstar kernel: [174127.448649]  slab_reclaimable:3322 slab_unreclaimable:2348
Sep  3 22:29:17 darkstar kernel: [174127.448649]  mapped:166 shmem:0 pagetables:1273 bounce:0
Sep  3 22:29:17 darkstar kernel: [174127.448649]  free:12766 free_pcp:8 free_cma:460
Sep  3 22:29:17 darkstar kernel: [174127.483853] Normal free:48452kB min:3456kB low:4320kB high:5184kB active_anon:324268kB inactive_anon:325828kB active_file:6620kB inactive_file:6592kB unevictable:0kB isolate
d(anon):0kB isolated(file):0kB present:786432kB managed:747664kB mlocked:0kB dirty:64kB writeback:0kB mapped:312kB shmem:0kB slab_reclaimable:13288kB slab_unreclaimable:9392kB kernel_stack:1008kB pagetables:192
8kB unstable:0kB bounce:0kB free_pcp:16kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:16 all_unreclaimable? no
Sep  3 22:29:17 darkstar kernel: [174127.530692] lowmem_reserve[]: 0 9968 9968
Sep  3 22:29:17 darkstar kernel: [174127.535063] HighMem free:2488kB min:512kB low:1988kB high:3464kB active_anon:957096kB inactive_anon:322300kB active_file:628kB inactive_file:1788kB unevictable:0kB isolated(
anon):0kB isolated(file):0kB present:1292288kB managed:1292288kB mlocked:0kB dirty:72kB writeback:0kB mapped:352kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:3164kB unstab
le:0kB bounce:0kB free_pcp:96kB local_pcp:0kB free_cma:1840kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep  3 22:29:17 darkstar kernel: [174127.581191] lowmem_reserve[]: 0 0 0
Sep  3 22:29:17 darkstar kernel: [174127.585038] Normal: 7693*4kB (UME) 2156*8kB (UME) 30*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 48500kB
Sep  3 22:29:17 darkstar kernel: [174127.599377] HighMem: 33*4kB (UC) 49*8kB (UMC) 40*16kB (UMC) 17*32kB (UMC) 3*64kB (C) 1*128kB (C) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 2028kB
Sep  3 22:29:17 darkstar kernel: [174127.614469] 138650 total pagecache pages
Sep  3 22:29:17 darkstar kernel: [174127.618678] 134614 pages in swap cache
Sep  3 22:29:17 darkstar kernel: [174127.622742] Swap cache stats: add 679268, delete 544655, find 304863/432446
Sep  3 22:29:17 darkstar kernel: [174127.630189] Free swap  = 8923632kB
Sep  3 22:29:17 darkstar kernel: [174127.633856] Total swap = 9823412kB
Sep  3 22:29:17 darkstar kernel: [174127.637530] 519680 pages RAM
Sep  3 22:29:17 darkstar kernel: [174127.640667] 323072 pages HighMem/MovableOnly
Sep  3 22:29:17 darkstar kernel: [174127.645241] 9692 pages reserved
Sep  3 22:29:17 darkstar kernel: [174127.648641] 4096 pages cma reserved
Sep  3 22:29:18 darkstar kernel: [174127.919884] Out of memory: Kill process 2128 (ld) score 183 or sacrifice child
Sep  3 22:29:18 darkstar kernel: [174127.927583] Killed process 2128 (ld) total-vm:2269740kB, anon-rss:1880840kB, file-rss:512kB, shmem-rss:0kB

Memory problem, again.
I can add more swap if you think it can help.
I can also use zram.

Alien Bob 09-04-2016 09:23 AM

I use Intel-compatible VM's with 2 GB of RAM and 16 GB of swap to compile my Chromium packages.

Linux.tar.gz 09-04-2016 11:16 PM

With 19GB RAM, the out of memory arrives now at the middle of the build.

Linux.tar.gz 09-05-2016 12:53 AM

Trying now with 1.4GB of zram.

Linux.tar.gz 09-05-2016 03:36 PM

It finally worked, I have a package.
Unfortunately, Chromium crashes right after I see its window.
I only tested in a VNC for now.

Code:

$ chromium
Received signal 4 <unknown> 000082b57480
#0 0x00007fd1b4b2 <unknown>
#1 0x00007fd1b780 <unknown>
#2 0x0000b59c5160 <unknown>
#3 0x000082b57480 <unknown>
#4 0x0000805774b2 <unknown>
#5 0x000080577d1e <unknown>
#6 0x0000805745b4 <unknown>
#7 0x000080574a4a <unknown>
#8 0x000080ab6fa6 <unknown>
#9 0x000080aaf4c8 <unknown>
#10 0x000080aafc92 <unknown>
#11 0x00008204f1b0 <unknown>
#12 0x000082050ae6 <unknown>
#13 0x000082045a3a <unknown>
#14 0x000082f26d68 <unknown>
#15 0x000080425d92 <unknown>
#16 0x00007fd6350c <unknown>
#17 0x000082f6e8ba <unknown>
#18 0x000082f6eca4 <unknown>
#19 0x000082f6d3d4 <unknown>
#20 0x00007fd6350c <unknown>
#21 0x00007fd2f24e <unknown>
#22 0x00007fd2f8f8 <unknown>
#23 0x00007fd2fa88 <unknown>
#24 0x00007fd3091c <unknown>
#25 0x00007fd4039a <unknown>
#26 0x00007fd2e8fc <unknown>
#27 0x00008205deda <unknown>
#28 0x00007fcf9848 <unknown>
#29 0x00007fcf9c52 <unknown>
#30 0x00007fcf92aa <unknown>
#31 0x00007f9ed4b8 ChromeMain
#32 0x0000b59ab6f8 __libc_start_main
[end of stack trace]
Received signal 4 <unknown> 000082b57480
#0 0x00007fd1b4b2 <unknown>
#1 0x00007fd1b780 <unknown>
#2 0x0000b59c5160 <unknown>
#3 0x000082b57480 <unknown>
#4 0x0000805774b2 <unknown>
#5 0x000080577d1e <unknown>
#6 0x0000805745b4 <unknown>
#7 0x000080574a4a <unknown>
#8 0x000080ab6fa6 <unknown>
#9 0x000080aaf4c8 <unknown>
#10 0x000080aafc92 <unknown>
#11 0x00008204f1b0 <unknown>
#12 0x000082050ae6 <unknown>
#13 0x000082045a3a <unknown>
#14 0x000082f26d68 <unknown>
#15 0x000080425d92 <unknown>
#16 0x00007fd6350c <unknown>
#17 0x000082f6e8ba <unknown>
#18 0x000082f6eca4 <unknown>
#19 0x000082f6d3d4 <unknown>
#20 0x00007fd6350c <unknown>
#21 0x00007fd2f24e <unknown>
#22 0x00007fd2f8f8 <unknown>
#23 0x00007fd2fa88 <unknown>
#24 0x00007fd3091c <unknown>
#25 0x00007fd4039a <unknown>
#26 0x00007fd2e8fc <unknown>
#27 0x00008205deda <unknown>
#28 0x00007fcf9848 <unknown>
#29 0x00007fcf9c52 <unknown>
#30 0x00007fcf92aa <unknown>
#31 0x00007f9ed4b8 ChromeMain
#32 0x0000b59ab6f8 __libc_start_main
[end of stack trace]
Received signal 4 <unknown> 000082b57480
#0 0x00007fd1b4b2 <unknown>
#1 0x00007fd1b780 <unknown>
#2 0x0000b59c5160 <unknown>Received signal 4 <unknown> 000082b57480
#3 0x000082b57480
<unknown>#0 0x
00007fd1b4b2# <unknown>
#4 0x0000805774b2 1 0x00007fd1b780<unknown>
#5 0x000080577d1e  <unknown>
#2 0x0000b59c5160 <unknown>
#6 0x0000805745b4 <unknown>
#<unknown>
#3 0x000082b57480 7 0x000080574a4a <unknown>
#4 0x0000805774b2 <unknown>
#8 0x000080ab6fa6 <unknown>
#5 0x000080577d1e <unknown><unknown>

##6 0x0000805745b4 9 0x000080aaf4c8 _gnu_cxx17__normal_iteratorIPKhSt6vectorIhS0_EEEEEvSt15_Deque_iteratorIhRhPhET_SE_j
#7 0x000080574a4a <unknown>
#8 0x000080ab6fa6 <unknown>
#9 0x000080aaf4c8 <unknown>
#10 0x000080aafc92 <unknown>
#11 0x00008204f1b0 <unknown>
#12 0x000082050ae6 <unknown>
#10 0x000080aafc92 <unknown>
#11 0x00008204f1b0 <unknown>
#12 0x000082050ae6 <unknown>
#13 0x000082045a3a <unknown>
#13 0x000082045a3a<unknown>
#14 0x000082f26d68  <unknown>
#14 0x000082f26d68 <unknown>
#15 0x000080425d92 <unknown><unknown>
#15 0x000080425d92 <unknown>
#16
#16 0x00007fd6350c <unknown>
#17 0x000082f6e8ba 0x00007fd6350c <unknown><unknown>
#
#18 0x17 0x000082f6e8ba 000082f6eca4 <unknown>
#18 0x000082f6eca4 <unknown>
#19 0x000082f6d3d4 <unknown><unknown>
#19 0x
#20 0x00007fd6350c 000082f6d3d4 <unknown>
#20 0x00007fd6350c _gnu_cxx17__normal_iteratorIPKhSt6vectorIhS0_EEEEEvSt15_Deque_iteratorIhRhPhET_SE_j
#21 0x<unknown>
#21 0x00007fd2f24e 00007fd2f24e <unknown>
#22 0x00007fd2f8f8 <unknown>
#22 0x00007fd2f8f8 <unknown>
#<unknown>
#23 0x00007fd2fa88 23 0x00007fd2fa88 <unknown>
#24 0x00007fd3091c <unknown>
#24 0x00007fd3091c <unknown>
#25 0x00007fd4039a <unknown>
#25 <unknown>
#26 0x00007fd4039a 0x00007fd2e8fc <unknown>
#<unknown>
#27 260x00008205deda  0x00007fd2e8fc <unknown>
#28 0x00007fcf9848<unknown>
#27 0x 00008205deda _gnu_cxx17__normal_iteratorIPKhSt6vectorIhS0_EEEEEvSt15_Deque_iteratorIhRhPhET_SE_j
#29 0x00007fcf9c52 <unknown>
#28 0x00007fcf9848 <unknown>
#29 <unknown>
#30 0x00007fcf92aa <unknown>
#31 0x00007f9ed4b8 ChromeMain
#32 0x0000b59ab6f8 0x00007fcf9c52 <unknown>__libc_start_main
[end of stack trace]

#30 0x00007fcf92aa <unknown>
#31 0x00007f9ed4b8 ChromeMain
#32 0x0000b59ab6f8 __libc_start_main
[end of stack trace]
Segmentation fault

EDIT :
Same with a normal screen.

Linux.tar.gz 09-11-2016 05:56 PM

Latest version fails to run too.
Just for information as I myself don't really care because other browsers are working just fine.


All times are GMT -5. The time now is 06:17 PM.