[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-09-13 06:05 --- This is nothing we can really do for very very old versions of GCC really, they are no longer supported. By the way when building 3.3.4, you should use make bootstrap and not just make, it will most likely pass at that point. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #6 from mirko dot bruzzone at primeur dot com 2006-06-13 13:59 --- (In reply to comment #5) Subject: Re: Problem: gcc 4.0.3 on Unix_SV mirko dot bruzzone at primeur dot com wrote: gt-c-pragma.h:46: parse error before `__attribute__' gt-c-pragma.h uses attribute unused in a parameter list, before the parameter type. Like so: void sub (__attribute__ ((unused)) int i) { } This is a syntax that gcc-2.7.2 doesn't support. It was added later. You could try hacking this out, but it might be simpler to try baby steps. Use 2.7.2 to compile gcc-2.95.3, use 2.95.3 to compile gcc-3.3.4, use 3.3.4 to compile gcc-4.x. I see that 2.95.3 supports this syntax, so it might be able to compile gcc-4.x, but there may also be other problems, so going from 2.95.e to a 3.x release, and then to a 4.x release is more likely to work. We could probably fix this with some ifdefs, but gcc-2.7.2 is so old that it doesn't seem worth the hassle. Plus there are probably other issues that haven't been noticed yet. Thank you very much for your reply. I tried with success to compile gcc 2.95, but when I try to compile gcc 3.3.4 with gcc 2.95, I see this error: gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \ gengenrtl.o ../libiberty/libiberty.a ./gengenrtl -h tmp-genrtl.h Segmentation Fault - core dumped make[1]: *** [s-genrtl] Error 139 make[1]: Leaving directory `/usr1/bruzzonem/obj334/gcc' make: *** [all-gcc] Error 2 So, could you help me again? all the best. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #5 from wilson at specifix dot com 2006-06-09 00:17 --- Subject: Re: Problem: gcc 4.0.3 on Unix_SV mirko dot bruzzone at primeur dot com wrote: gt-c-pragma.h:46: parse error before `__attribute__' gt-c-pragma.h uses attribute unused in a parameter list, before the parameter type. Like so: void sub (__attribute__ ((unused)) int i) { } This is a syntax that gcc-2.7.2 doesn't support. It was added later. You could try hacking this out, but it might be simpler to try baby steps. Use 2.7.2 to compile gcc-2.95.3, use 2.95.3 to compile gcc-3.3.4, use 3.3.4 to compile gcc-4.x. I see that 2.95.3 supports this syntax, so it might be able to compile gcc-4.x, but there may also be other problems, so going from 2.95.e to a 3.x release, and then to a 4.x release is more likely to work. We could probably fix this with some ifdefs, but gcc-2.7.2 is so old that it doesn't seem worth the hassle. Plus there are probably other issues that haven't been noticed yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #4 from mirko dot bruzzone at primeur dot com 2006-06-01 08:08 --- I tried to compile in another directory than the source directory and I executed the make bootstrap...but nothing. This is the report: gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwri te-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I. -I/usr1/bruzzonem/gcc-4.0.3/gcc -I/usr1/bruzzonem/gcc-4.0.3/gcc/. -I/usr1/bruzzo nem/gcc-4.0.3/gcc/../include -I./../intl -I/usr1/bruzzonem/gcc-4.0.3/gcc/../libc pp/include /usr1/bruzzonem/gcc-4.0.3/gcc/c-pragma.c -o c-pragma.o In file included from /usr1/bruzzonem/gcc-4.0.3/gcc/c-pragma.c:708: gt-c-pragma.h:46: parse error before `__attribute__' /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_last' defined but n ot used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_iterate' defined bu t not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_alloc' defined but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_free' defined but n ot used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_embedded_size' defi ned but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_embedded_init' defi ned but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_safe_push' defined but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_pop' defined but no t used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_truncate' defined b ut not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_replace' defined bu t not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_lower_bound' define d but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_safe_insert' define d but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_ordered_remove' def ined but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_unordered_remove' d efined but not used /usr1/bruzzonem/gcc-4.0.3/gcc/tree.h:166: warning: `VEC_tree_address' defined bu t not used make[2]: *** [c-pragma.o] Error 1 make[2]: Leaving directory `/usr1/bruzzonem/objgcc/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/usr1/bruzzonem/objgcc/gcc' make: *** [bootstrap] Error 2 I hope that someone can help me! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-01 05:36 --- Can you try building in a different directory than the source directory and try using make bootstrap instead of just make? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #2 from mirko dot bruzzone at primeur dot com 2006-05-26 07:33 --- (In reply to comment #1) Good morning, I tried to compile the gcc version 4.0.3 on this platform: UNIX_SV ulisse 4.0 3.0 3425/3482/3485 Pentium III(TM)-ISA/PCI On the system there is an old gcc and its version is: 2.7.2.3 I had a problem when I compiled this source: c-pragma.c In file included from /usr1/bruzzonem/gcc-4.0.3/gcc/c-pragma.c:707: gt-c-pragma.h:46: parse error before `__attribute__' Could you help me to understand this error? Best regards, Mirko Bruzzone (In reply to comment #1) On the system there is an old gcc and its version is: 2.7.2.3 Ick. What is Unix_SV? Is it a product of SCO? Because I don't know how much support if it is old. Second there is not enough info here on what is going on. How did you configure and invoke make? Unix_SV is NCR I executed this command: uname -a and the information are: UNIX_SV ulisse 4.0 3.0 3425/3482/3485 Pentium III(TM)-ISA/PCI Of course, I executed in the farmer ./configure and in the latter make. So, I don't have any other information. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767
[Bug target/27767] Problem: gcc 4.0.3 on Unix_SV
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-25 17:05 --- On the system there is an old gcc and its version is: 2.7.2.3 Ick. What is Unix_SV? Is it a product of SCO? Because I don't know how much support if it is old. Second there is not enough info here on what is going on. How did you configure and invoke make? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27767