This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pchmerge-branch


HI!

When I used attached patch,
I got second problem on linuxppc.

Kaoru

./xgcc -B./ -B/usr/ppc-linux/bin/ -isystem /usr/ppc-linux/include -O2
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/usr/src/redhat/BUILD/gcc-3.1/gcc -I/usr/src/redhat/BUILD/gcc-3.1/gcc/.
-I/usr/src/redhat/BUILD/gcc-3.1/gcc/config
-I/usr/src/redhat/BUILD/gcc-3.1/gcc/../include  -fPIC -mstrict-align
-DL_negdi2 -c /usr/src/redhat/BUILD/gcc-3.1/gcc/libgcc2.c -o
libgcc/./_negdi2.o
In file included from /usr/include/string.h:360,
                 from /usr/src/redhat/BUILD/gcc-3.1/gcc/tsystem.h:76,
                 from /usr/src/redhat/BUILD/gcc-3.1/gcc/libgcc2.c:37:
/usr/include/bits/string2.h:893: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/string.h:360,
                 from /usr/src/redhat/BUILD/gcc-3.1/gcc/tsystem.h:76,
                 from /usr/src/redhat/BUILD/gcc-3.1/gcc/libgcc2.c:37:
/usr/include/bits/string2.h:893: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_negdi2.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/obj-gcc-ppc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/obj-gcc-ppc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/obj-gcc-ppc/gcc'
make: *** [bootstrap-lean] Error 2



diff -urN base/gcc/config/rs6000/rs6000.c fixed/gcc/config/rs6000/rs6000.c
--- base/gcc/config/rs6000/rs6000.c Wed Sep 26 03:02:42 2001
+++ fixed/gcc/config/rs6000/rs6000.c Thu Oct  4 20:19:57 2001
@@ -8442,12 +8442,12 @@
 static void
 rs6000_add_gc_roots ()
 {
-  ggc_add_rtx_root (&rs6000_compare_op0, 1);
-  ggc_add_rtx_root (&rs6000_compare_op1, 1);
+  ggc_add_rtx_root (&rs6000_compare_op0, 1,"rs6000_compare_op0");
+  ggc_add_rtx_root (&rs6000_compare_op1, 1,"rs6000_compare_op1");

   toc_hash_table = htab_create (1021, toc_hash_function, toc_hash_eq,
NULL);
   ggc_add_root (&toc_hash_table, 1, sizeof (toc_hash_table),
-  toc_hash_mark_table);
+  toc_hash_mark_table,"toc_hash_table");

 #if TARGET_MACHO
   machopic_add_gc_roots ();
-------------------------------------------------------


Kaoru Fukui wrote:

> Hi!
>
> I tried pchmerge-branch,but I have the error.
> My system is linuxppc.
> I used compiler which is gcc-3.0.2pre.
>
> Kaoru
> ------------------------------------------------------
> gcc -c  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
> -DHAVE_CONFIG_H    -I. -I. -I/usr/src/redhat/BUILD/gcc-3.1/gcc
> -I/usr/src/redhat/BUILD/gcc-3.1/gcc/.
> -I/usr/src/redhat/BUILD/gcc-3.1/gcc/config
> -I/usr/src/redhat/BUILD/gcc-3.1/gcc/../include
> /usr/src/redhat/BUILD/gcc-3.1/gcc/tlink.c -o tlink.o
> /usr/src/redhat/BUILD/gcc-3.1/gcc/config/rs6000/rs6000.c: In function
> `rs6000_add_gc_roots':
> /usr/src/redhat/BUILD/gcc-3.1/gcc/config/rs6000/rs6000.c:8445: too few
> arguments to function `ggc_add_rtx_root'
> /usr/src/redhat/BUILD/gcc-3.1/gcc/config/rs6000/rs6000.c:8446: too few
> arguments to function `ggc_add_rtx_root'
> /usr/src/redhat/BUILD/gcc-3.1/gcc/config/rs6000/rs6000.c:8450: too few


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]