This is the mail archive of the gcc-regression@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: GCC build of HEAD failed for native with your patch on 2004-04-05T22:25:51Z.


Andrew Pinski wrote:
Note the error message from the full log:
...rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -W -Wall -D_GNU_SOURCE -DPREFIX=\"/Users/regress/tbox/objs\" -DLIBDIR=\"/Users/regress/tbox/objs/lib\" -DBOOT_CLASS_PATH=\"/Users/regress/tbox/objs/share/java/libgcj -3.5.0.jar\" -g -O2 -Wp,-MD,.deps/boehm.pp -c /Users/regress/tbox/cvs-gcc/gcc/libjava/boehm.cc -fno-common -DPIC -o .libs/boehm.o
In file included from /Users/regress/tbox/cvs-gcc/gcc/libjava/java/lang/Class.h:18,
from ./include/java-gc.h:26,
from /Users/regress/tbox/cvs-gcc/gcc/libjava/include/jvm.h:25,
from /Users/regress/tbox/cvs-gcc/gcc/libjava/boehm.cc:16:
./java/lang/String.h:25: error: global qualification of class name is invalid before ':' token
In file included from /Users/regress/tbox/cvs-gcc/gcc/libjava/java/lang/Class.h:19,
from ./include/java-gc.h:26,
from /Users/regress/tbox/cvs-gcc/gcc/libjava/include/jvm.h:25,
from /Users/regress/tbox/cvs-gcc/gcc/libjava/boehm.cc:16:
./java/net/URL.h:25: error: global qualification of class name is invalid before ':' token
....


The only patch which could have caused this is:

+2004-04-05  Nathan Sidwell  <nathan@codesourcery.com>
+
+    PR c++/3518
+    * pt.c (check_cv_quals_for_unify): Ignore bogus CV quals at outer
+    level.
I am only seeing the following error with and without my patch.

gcj -B/home/nathan/egcs/HEAD/i686-pc-linux-gnu/i686-pc-linux-gnu/libjava/ --encoding=UTF-8 -Wno-deprecated -C -g -classpath '' -bootclasspath /home/nathan/egcs/HEAD/i686-pc-linux-gnu/i686-pc-linux-gnu/libjava:../../../gcc/libjava -d /home/nathan/egcs/HEAD/i686-pc-linux-gnu/i686-pc-linux-gnu/libjava ../../../gcc/libjava/gnu/awt/LightweightRedirector.java
../../../gcc/libjava/java/awt/font/TextAttribute.java:44: Superclass `AttributedCharacterIterator.Attribute' of class `java.awt.font.TextAttribute' not found.
   public final class TextAttribute extends AttributedCharacterIterator.Attribute

I do not see how that patch to the template deduction machinery could cause
either of these errors.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



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