Strange out of memory on pandaboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap4 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
A GCC trunk bootstrap fails with:
gcc -g -fkeep-
build/
/bin/bash ../../trunk/
echo timestamp > s-gtyp-input
build/gengtype \
build/gengtype \
out of memory allocating 4072 bytes after a total of 199240912 bytes
make[3]: *** [s-gtype] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/
make: *** [bootstrap] Error 2
real 8m9.482s
user 4m0.680s
sys 1m37.547s
Looking at top at the time of failure:
Mem: 681844k total, 368152k used, 313692k free, 6076k buffers
Swap: 0k total, 0k used, 0k free, 240456k cached
/home is mounted over NFS, swap is commented out, make bootstrap after a clean boot, /etc/rc.local has:
sysctl -w vm.overcommit_
echo 0 > /proc/sys/
In a different situation, with mem=768M in a previous test I got various issues reported in /var/log/messages
copy here: wget http://
rsalveti asked me to open a report.
tags: | added: armel |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | New → Confirmed |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Confirmed → Fix Released |
tags: | added: patch |
Changed in linux-ti-omap4 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Triaged → Incomplete |
Interestingly without swap but with mem=768M I got past the failure point.