![]() |
Compiling on-device problem
After managing to compile QtCreator on-device everything seemed to be well and good and awesome, but today got this error:
Code:
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -Dhttps://github.com/Swordfish90/cool-retro-term (you also need the qmltermwidget) Is that jolla killing process too soon (on first try had it in background and was doing something else, second attempt foreground nothing running except term, same result), or gcc bug? Bit worried, had programs with 12+ hours of compile time on n900 and it looks like the jolla watchdog is killing it :/ |
Re: Compiling on-device problem
ok, I think by now tried all the echo tricks from OOM thread, cc1plus still gets killed, not sure if should try swappiness tricks or just gcc bug :(
|
Re: Compiling on-device problem
Is dmesg showing something, e.g.
Code:
[88886.470155] lowmemorykiller: Killing 'genautomata' (10246), adj 0, |
Re: Compiling on-device problem
Yeah, well damn, it's like with scummvm that worked in 1.2.0.5 and stopped with 1.3.0.8, one step forward two steps back (my bet qtcreator is no longer compilable on device):
Code:
[nemo@Jolla ~]$ dmesg | grep lowmemecho "0,0,0,0,0" > /sys/module/lowmemorykiller/parameters/minfree cc1plus gets killed *sigh* |
Re: Compiling on-device problem
|
Re: Compiling on-device problem
Quote:
with Code:
echo '9999' > /sys/module/lowmemorykiller/parameters/adj(interestingly enough, browser running in the background was not, weird, but compilation failed, previously pretty much everything was killed too and only fingerterm left) |
Re: Compiling on-device problem
How about adding more swap?
Code:
devel-su |
Re: Compiling on-device problem
Quote:
Can be increased 'on the fly' (40M in this example) # mount -o remount,size=40M tmpfs /tmp/ |
Re: Compiling on-device problem
tmp stays at 400mb free throughout (was same on n900, only time needed to resize its tmp was for wifite which used to dump ivs in there)
will check out later with increased swap, hopefully this will do it (but such a shame lowmemkill isn't just toggleable, the too deep sleep at least can be turned off in one command): |
Re: Compiling on-device problem
Ok, after watching in htop, looks like nieldk's answer was correct, the killing of background apps is inhibited and it is just gcc eating through whole swap and then remaining ram until it dies, going to check with increased swap, thanks!
|
| All times are GMT. The time now is 13:43. |
vBulletin® Version 3.8.8