wyciek pamieci w gcc?

Paweł Sikora pluto w ds14.agh.edu.pl
Pią, 2 Sty 2004, 23:58:11 CET


zobaczcie ile cc1 zjadl zasobow, gdy probowal zabic mi dysk
podczas proby kompilacji dc_gui.

po wyrzuceniu flag -fomit-frame-pointer oraz -funroll-loops
skonsumowal tylko 40MB i proces chyba sie zapetlil.

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke
-------------- następna część ---------
top - 23:45:54 up 2 days, 12:28,  3 users,  load average: 0.84, 1.19, 1.85
Tasks:  42 total,   2 running,  29 sleeping,  11 stopped,   0 zombie
Cpu(s):   0.3% user,   0.3% system,   0.0% nice,  99.3% idle
Mem:    256152k total,   252820k used,     3332k free,      764k buffers
Swap:   524120k total,   402208k used,   121912k free,     4900k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
29614 root      15   0   880  836  684 R  0.7  0.3   0:10.65 top
    1 root      15   0   512  476  452 S  0.0  0.2   0:05.64 init
    2 root      15   0     0    0    0 S  0.0  0.0   0:39.12 keventd
    3 root      35  19     0    0    0 S  0.0  0.0   0:01.36 ksoftirqd_CPU0
    4 root      15   0     0    0    0 S  0.0  0.0   1:42.66 kswapd
    5 root      15   0     0    0    0 S  0.0  0.0   0:00.23 bdflush
    6 root      15   0     0    0    0 S  0.0  0.0   0:00.11 kupdated
    7 root      15   0     0    0    0 S  0.0  0.0   0:02.10 kinoded
    8 root      15   0     0    0    0 S  0.0  0.0   0:02.91 kjournald
  188 root      15   0     0    0    0 S  0.0  0.0   0:05.29 kjournald
 4902 root      15   0     0    0    0 S  0.0  0.0   0:10.52 kjournald
12781 root      15   0   624  556  520 S  0.0  0.2   0:00.27 syslogd
31899 root      15   0  1328  436  436 S  0.0  0.2   0:00.07 klogd
28039 root      15   0   604  556  524 S  0.0  0.2   0:00.02 crond
12513 root      15   0   620  480  464 S  0.0  0.2   0:00.05 lisa
23364 root      16   1  3972 3972 3188 S  0.0  1.6   0:00.34 ntpd
14661 root      15   0   784  564  564 S  0.0  0.2   0:00.03 login
21033 root      20   0   356  304  304 S  0.0  0.1   0:00.00 mingetty
 4948 root      21   0   356  304  304 S  0.0  0.1   0:00.01 mingetty
 6385 root      16   0   356  304  304 S  0.0  0.1   0:00.00 mingetty
31117 root      16   0   356  304  304 S  0.0  0.1   0:00.00 mingetty
 1167 pluto     15   0  1652 1084  860 S  0.0  0.4   0:02.79 bash
25857 root      15   0   788  572  572 S  0.0  0.2   0:00.01 login
22611 root      15   0  1040  512  512 S  0.0  0.2   0:03.48 bash
22733 root      15   0   364  276  276 S  0.0  0.1   0:00.00 vsftpd
27299 root      15   0  3100  792  760 R  0.0  0.3   0:50.13 mc
16414 root      15   0   328  264  264 S  0.0  0.1   0:02.22 cons.saver
 9223 root      15   0  1056  572  572 S  0.0  0.2   0:00.46 bash
 1577 root      15   0  1144 1144  928 S  0.0  0.4   0:00.11 login
17888 pluto     15   0  1164  636  636 T  0.0  0.2   0:00.15 rpmbuild
 2900 pluto     15   0   392  324  296 T  0.0  0.1   0:00.10 sh
30536 pluto     15   0   616  468  452 T  0.0  0.2   0:00.02 make
  342 pluto     15   0   712  552  536 T  0.0  0.2   0:00.02 make
 9506 pluto     15   0   400  324  300 T  0.0  0.1   0:00.01 sh
 3955 pluto     15   0   408  328  300 T  0.0  0.1   0:00.00 sh
23393 pluto     15   0   792  552  536 T  0.0  0.2   0:00.66 make
14308 pluto     15   0   396  328  296 T  0.0  0.1   0:00.00 sh
23126 pluto     15   0   408  320  320 T  0.0  0.1   0:00.00 i686-pld-linux-
 8070 pluto     15   0  615m 230m  596 T  0.0 92.1   1:43.22 cc1
  548 pluto     15   0   668  396  396 T  0.0  0.2   0:00.00 as
17199 root      18   0   376  324  320 S  0.0  0.1   0:00.00 mingetty
-------------- następna część ---------
"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/inclu
de/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/includ
e -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/inclu
de/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -DWITH_PYTHON -I/usr/include/python2.3   -DBDB_V4 -DHAVE_ZLIB  -O2 -march
=i686 -fomit-frame-pointer -funroll-loops -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.c:550:2: warning: #warning CODE REMPLACED (no backward compatibility fonction)
if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale
"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/inclu
de/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/includ
e -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/inclu
de/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -DWITH_PYTHON -I/usr/include/python2.3   -DBDB_V4 -DHAVE_ZLIB  -O2 -march
=i686 -fomit-frame-pointer -funroll-loops -pipe -MT support.o -MD -MP -MF ".deps/support.Tpo" \
  -c -o support.o `test -f 'support.c' || echo './'`support.c; \
then mv -f ".deps/support.Tpo" ".deps/support.Po"; \
else rm -f ".deps/support.Tpo"; exit 1; \
fi
if i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale
"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/inclu
de/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/includ
e -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/inclu
de/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -DWITH_PYTHON -I/usr/include/python2.3   -DBDB_V4 -DHAVE_ZLIB  -O2 -march
=i686 -fomit-frame-pointer -funroll-loops -pipe -MT interface.o -MD -MP -MF ".deps/interface.Tpo" \
  -c -o interface.o `test -f 'interface.c' || echo './'`interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; \
else rm -f ".deps/interface.Tpo"; exit 1; \
fi

[1]+  Stopped                 rpmbuild -bb -v dc_gui.spec
[pluto]-[~/rpm/SPECS] # fg
rpmbuild -bb -v dc_gui.spec

[1]+  Stopped                 rpmbuild -bb -v dc_gui.spec
[pluto]-[~/rpm/SPECS] # fg
rpmbuild -bb -v dc_gui.spec

[1]+  Stopped                 rpmbuild -bb -v dc_gui.spec
[pluto]-[~/rpm/SPECS] # fg
rpmbuild -bb -v dc_gui.spec

[1]+  Stopped                 rpmbuild -bb -v dc_gui.spec
[pluto]-[~/rpm/SPECS] #
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: pkgs.txt.bz2
Type: application/x-bzip2
Size: 4597 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20040626/d959ead2/pkgs.txt.bz2


Więcej informacji o liście dyskusyjnej pld-devel-pl