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]
Other format: [Raw text]

Re: Build problem with gcc 4.3.0 20070108 (experimental)


> > 
> > > >`/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu/gcc'
> > > >make[2]: *** [all-stage2-gcc] Error 2
> > > >make[2]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu'
> > > >make[1]: *** [stage2-bubble] Error 2
> > > >make[1]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu'
> > > >make: *** [bootstrap] Error 2
> > > 
> > > That's honza's patch - but bootstrap doesn't abort for me at that point.
> > 
> > Hi,
> > I've comited the obvious fix. Sorry for that.  I wonder why the
> > bootstrap doesn't fail on all targets?
> 
> This only fixes on of the problems, the other one is 
> function_and_variable_visibility needs to return unsigned int and 0.
> This fixes an ICE building libgcc for spu-elf on powerpc-linux-gnu.

Hi,
I've commit the obvious fix too and I doubly apologize for the problems.
I've doublechecked that the patch tested ineed was the same as comitted
and it is the case.  I don't see how it can possibly pass -Werror
bootstrap, will investigate it tomorrow.

Hope that all bootstraps are fine now!

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 120589)
+++ ChangeLog	(working copy)
@@ -1,6 +1,7 @@
 2007-01-08  Jan Hubicka  <jh@suse.cz>
 
 	* tree-vectorizer.c (gate_increase_alignment): Fix return type.
+	* ipa.c (function_and_variable_visibility): Fix return type.
 
 2007-01-08  Richard Guenther  <rguenther@suse.de>
 
Index: ipa.c
===================================================================
--- ipa.c	(revision 120580)
+++ ipa.c	(working copy)
@@ -220,7 +220,7 @@ cgraph_remove_unreachable_nodes (bool be
    in language point of view but we want to overwrite this default
    via visibilities for the backend point of view.  */
 
-static void
+static unsigned int
 function_and_variable_visibility (void)
 {
   struct cgraph_node *node;
@@ -272,6 +272,7 @@ function_and_variable_visibility (void)
       fprintf (dump_file, "\n\n");
     }
   cgraph_function_flags_ready = true;
+  return 0;
 }
 
 struct tree_opt_pass pass_ipa_function_and_variable_visibility = 


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