[Bug 259799] devel/rust-cbindgen: armv6: build using "make" fails, using "cargo build --release -j 1" works

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Nov 2021 08:36:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259799

--- Comment #22 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Here a data point from building rust-cbindgen natively on the RPI-B, while
building tempfile:

last pid:  1455;  load averages:  2.15,  2.06,  1.79    up 0+01:17:25  09:31:20
35 processes:  3 running, 32 sleeping
CPU: 60.9% user,  0.0% nice, 25.9% system,  6.0% interrupt,  7.1% idle
Mem: 268M Active, 26M Inact, 33M Laundry, 88M Wired, 51M Buf, 9768K Free
Swap: 1701M Total, 688M Used, 1013M Free, 40% Inuse, 2692K In, 1024K Out

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME    WCPU COMMAND
 1358 root          2  56    0  1101M   301M uwait    4:17  57.96% rustc
 1455 root          1  50    0    55M    26M RUN      0:01  22.16% pkg-static
 1253 root          1  40    0    13M  2980K select   0:08   2.00% xterm
 1226 root          1  40    0  6848K  1696K RUN      0:38   1.91% top
 1155 root          1  40    0  8284K  2472K RUN      0:15   1.83% tmux
 1138 root          1  40    0    15M  2156K select   0:29   1.14% xterm
 1204 root          3  40    0    28M  1568K uwait    0:15   0.42% cargo
  708 root          1  40    0    10M  2892K select   0:03   0.19% wpa_supplica
 1123 root          1  40    0    13M  2028K select   0:08   0.00% xterm
 1156 root          1  16    0    11M     0B pause    0:04   0.00% <zsh>
 1269 root          1  16    0  8944K  1164K pause    0:04   0.00% zsh
 1141 root          1  16    0  8892K     0B pause    0:03   0.00% <zsh>
 1124 root          1  16    0  8332K     0B pause    0:03   0.00% <zsh>
 1254 root          1  16    0  8332K     0B pause    0:03   0.00% <zsh>
 1187 root          1   8    0  6112K     0B wait     0:02   0.00% <make>
 1136 root          1  40    0  8684K  1568K select   0:02   0.00% xload

The size of the rustc process approximately doubles every few minutes (on this
small machine, it is running very slowly). A few minutes after this it will
have a size of more than 1900M, and at that point the machine freezes (the OOM
killer kills a lot of other processes but ultimately does not save the machine;
it has to be power cycled).

I am still building sysutils/lsd using the qemu-arm-static emulation, but it
seems that it has already passed tempfile there without a hitch. We will see.

-- Martin

-- 
You are receiving this mail because:
You are on the CC list for the bug.