Subversion Status

2010-04-07 Thread Andrew John Hughes
Has anyone else seen this error from trunk?

$ svn status
svn: Error at entry 15 in entries file for 'gcc/testsuite/g++.dg/warn':
svn: Bogus date

Even if I delete the gcc/testsuite/g++.dg/warn tree, an update brings
the error back.

svn is 1.6.9.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


Re: Subversion Status

2010-04-08 Thread Andrew John Hughes
On 11:05 Thu 08 Apr , Manuel López-Ibáñez wrote:
> On 7 April 2010 23:52, Andrew John Hughes  wrote:
> > Has anyone else seen this error from trunk?
> >
> > $ svn status
> > svn: Error at entry 15 in entries file for 'gcc/testsuite/g++.dg/warn':
> > svn: Bogus date
> 
> Then entries file for that directory is perhaps in g++.dg/.svn/. Have
> you tried deleting all of g++.dg/ ? A fresh checkout? Perhaps a
> hard-drive glitch?

Deleting g++.dg worked.  I don't know how it became broken to begin
with (all I did was update and I only usually work in libjava) but
sorry for the noise.

I saw mention of a git mirror (http://gcc.gnu.org/wiki/GitMirror) so
may switch to that :-)

> 
> Cheers,
> 
> Manuel.
> 
> >
> > Even if I delete the gcc/testsuite/g++.dg/warn tree, an update brings
> > the error back.
> >
> > svn is 1.6.9.
> > --
> > Andrew :-)
> >
> > Free Java Software Engineer
> > Red Hat, Inc. (http://www.redhat.com)
> >
> > Support Free Java!
> > Contribute to GNU Classpath and the OpenJDK
> > http://www.gnu.org/software/classpath
> > http://openjdk.java.net
> >
> > PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> > Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
> >

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


Build failure on x86_64 following patch to add ix86_units_per_simd_word

2010-09-14 Thread Dr Andrew John Hughes
/home/andrew/builder/gcj/./prev-gcc/xgcc
-B/home/andrew/builder/gcj/./prev-gcc/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/bin/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/bin/
-B/home/andrew/build/gcj/x86_64-unknown-linux-gnu/lib/ -isystem
/home/andrew/build/gcj/x86_64-unknown-linux-gnu/include -isystem
/home/andrew/build/gcj/x86_64-unknown-linux-gnu/sys-include-c   -g
-O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Werror -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -I.
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/.
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../include
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libcpp/include
 -I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libdecnumber
-I/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../libdecnumber/bid
-I../libdecnumber  -DCLOOG_PPL_BACKEND  -I/usr/include/libelf
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c
-o tree-vect-stmts.o
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:
In function ‘get_vectype_for_scalar_type’:
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:4681:3:
error: implicit declaration of function ‘ix86_units_per_simd_word’
[-Werror=implicit-function-declaration]
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/tree-vect-stmts.c:4681:29:
error: comparison between signed and unsigned integer expressions
[-Werror=sign-compare]

This would seem to be due to:

2010-09-13  H.J. Lu  

* config/i386/i386-protos.h (ix86_units_per_simd_word): New.

* config/i386/i386.c (initial_ix86_tune_features): Add
X86_TUNE_VECTORIZE_DOUBLE.
(ix86_units_per_simd_word): New.

* config/i386/i386.h (ix86_tune_indices): Add
X86_TUNE_VECTORIZE_DOUBLE.
(TARGET_VECTORIZE_DOUBLE): New.
(UNITS_PER_SIMD_WORD): Defined with ix86_units_per_simd_word.

Configured as:

$GCC_HOME/configure --prefix=$GCC_INSTALL --disable-multilib
--enable-languages=c,c++,java \
--enable-java-awt=gtk,xlib,qt --enable-gconf-peer
--enable-gstreamer-peer --enable-gjdoc \
--enable-java-maintainer-mode --with-java-home=$GCC_INSTALL
--enable-java-home \
--with-jvm-root-dir=$GCC_INSTALL/jdk
--with-jvm-jar-dir=$GCC_INSTALL/jvm-exports \
--with-ecj-jar=${GCJ_ECJ_JAR}

-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


Re: gcj fails to compile java

2010-09-28 Thread Dr Andrew John Hughes
On 25 September 2010 14:20, Jack Howarth  wrote:
>  I've filed PR45773 concerning the new regression in gcj where java classes 
> can
> no longer be compiled with ecj.jar. Since r163770 (with r163814 backported to 
> fix
> the libjava build), any attempt to compile a java source file with gcj 
> produces
> the error...
>
> gcj --main=testme -O testme.java
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org.eclipse.jdt.internal.compiler.batch.GCCMain
>   at gnu.java.lang.MainThread.run(libgcj.12.dylib)
> Caused by: java.lang.ClassNotFoundException: 
> org.eclipse.jdt.internal.compiler.batch.GCCMain not found in 
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/sw/share/java/ecj/ecj.jar,file:./],
>  parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>   at java.net.URLClassLoader.findClass(libgcj.12.dylib)
>   at java.lang.ClassLoader.loadClass(libgcj.12.dylib)
>   at java.lang.ClassLoader.loadClass(libgcj.12.dylib)
>   at gnu.java.lang.MainThread.run(libgcj.12.dylib)
>
> This problem does not exist at r163768. I am reposting this problem since the 
> new
> bugzilla keeps reporting...
>
> GCC Bugzilla has suffered an internal error. Please save this page and send 
> it to dber...@gcc.gnu.org with details of what you were doing at the time 
> this message appeared.
>
> URL: file:///Users/howarth/Internal Error.html
>
> There was an error sending mail from '"howarth at nitro dot med.uc.edu" 
> ' to 'java-...@gcc.gnu.org':Can't send data
>
> whenever I add new information and nothing appears in the gcc-bugs archives 
> from those sessions
> (although the PR itself if updated).
>            Jack
>

With a simple HelloWorld class:

$ cat HelloWorld.java
public class HelloWorld
{
  public static void main(String[] args) { System.out.println("Hello World!"); }
}

current HEAD works fine for me:

$ /home/andrew/build/gcj/bin/gcj --main=HelloWorld -O HelloWorld.java
$ LD_LIBRARY_PATH=/home/andrew/build/gcj/lib64 ./a.out
Hello World!
$ /home/andrew/build/gcj/bin/gcj --version
gcj (GCC) 4.6.0 20100928 (experimental) [trunk revision 164689]

Can you attach the testme.java file?
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8