gcc suxa

 ( dominis | 2004. december 16., csütörtök - 2:39 )

Hozzászólás megjelenítési lehetőségek

A választott hozzászólás megjelenítési mód a „Beállítás” gombbal rögzíthető.

amikor forgatok valamit ilyen hibakkal kilep:

[code:1:ca97c6003d]gcc: Internal error: Leállítva (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

make: *** [ext/pcre/pcrelib/pcre.lo] Error 1[/code:1:ca97c6003d]

syslogban ez van:
[code:1:ca97c6003d]Dec 16 02:30:16 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:30:16 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:30:16 vertigo kernel: VM: killing process munin-graph
Dec 16 02:31:10 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:31:10 vertigo kernel: VM: killing process cc1
Dec 16 02:31:21 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:31:21 vertigo kernel: VM: killing process cc1[/code:1:ca97c6003d]

sid van a masinan!
mi a megoldas?

[quote:d44a68dc6b="dominis"]amikor forgatok valamit ilyen hibakkal kilep:

[code:1:d44a68dc6b]gcc: Internal error: Leállítva (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

make: *** [ext/pcre/pcrelib/pcre.lo] Error 1[/code:1:d44a68dc6b]

syslogban ez van:
[code:1:d44a68dc6b]Dec 16 02:30:16 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:30:16 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:30:16 vertigo kernel: VM: killing process munin-graph
Dec 16 02:31:10 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:31:10 vertigo kernel: VM: killing process cc1
Dec 16 02:31:21 vertigo kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 16 02:31:21 vertigo kernel: VM: killing process cc1[/code:1:d44a68dc6b]

sid van a masinan!
mi a megoldas?[/quote:d44a68dc6b]
Ahogy elnezem nem tud masik memoria szegmensre lapozni. A gcc 3.3.x seriesre eleg sokat panaszkodtak a kernel-hackerek is, hogy eleg rosszminosegu kodot general, bugos es lassu is. Ezert van az, hogy a kernelnek tobb gcc verziohoz is nyujtjak meg a supportot. Meg a 2.x.x series-hez is van support.

En javaslok egy gyors gcc frissitest. :)

[quote:0af78b95d3="dominis"]amikor forgatok valamit ilyen hibakkal kilep:

[code:1:0af78b95d3]gcc: Internal error: Leállítva (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

make: *** [ext/pcre/pcrelib/pcre.lo] Error 1[/code:1:0af78b95d3]
[/quote:0af78b95d3]

Szerintem mielott gcc-t leirod hogy sux, futtass egy alapos memtestet. Esetleg nezd meg, ennek a kis kodnak a forditasa is elszall-e:

[code:1:0af78b95d3]
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int
main (int argc, char **argv)
{
if (argc < 2)
{
fprintf (stderr, "usage: %s foo\n", argv[0]);
exit (1);
}
printf ("yadayada: %s\n", argv[1]);
exit (0);
}
[/code:1:0af78b95d3]

[code:1:760c37d6f1]
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int
main (int argc, char **argv)
{
if (argc < 2)
{
fprintf (stderr, "usage: %s foo\n", argv[0]);
exit (1);
}
printf ("yadayada: %s\n", argv[1]);
exit (0);
}
[/code:1:760c37d6f1]
ezt tokeltesen lefordult, memtest pedig semmi nem mond, de este kiprobalom masik memoriaval...