[Bug java/45433] New: Can't find GCCMain in org.eclipse.jdt.internal.compiler.batch.GCCMain

2010-08-27 Thread leo dot izen at gmail dot com
I just compiled gcc for fedora, and I'm getting this error:

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

[...@chessman ~]$ gcj -v -save-temps -o HelloWorld HelloWorld.java
Using built-in specs.
Reading specs from
/usr/local/lib/gcc/x86_64-fedora-linux-gnu/4.6.0/../../../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=gcj
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-fedora-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-fedora-linux-gnu
Configured with: ./configure --build=x86_64-fedora-linux-gnu --with-ecj-jar
Thread model: posix
gcc version 4.6.0 20100827 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-fsaw-java-file' '-v' '-save-temps' '-o' 'HelloWorld'
'-fbootclasspath=./:/usr/local/share/java/libgcj-4.6.0.jar' '-g1'
'-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/local/libexec/gcc/x86_64-fedora-linux-gnu/4.6.0/ecj1 HelloWorld.java -g1
-fbootclasspath=./:/usr/local/share/java/libgcj-4.6.0.jar -g1 -fsource=1.5
-ftarget=1.5 -fzip-dependency HelloWorld.zip -fzip-target HelloWorld.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org.eclipse.jdt.internal.compiler.batch.GCCMain
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.batch.GCCMain not found in
gnu.gcj.runtime.SystemClassLoader{urls=[],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at gnu.java.lang.MainThread.run(libgcj.so.10)
[...@chessman ~]$ 

I built this GCC today with the GCC I built yesterday (also 4.6.0). That also
had this java error.


-- 
   Summary: Can't find GCCMain in
org.eclipse.jdt.internal.compiler.batch.GCCMain
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: major
      Priority: P3
 Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leo dot izen at gmail dot com
 GCC build triplet: x86_64-fedora-linux-gnu
  GCC host triplet: x86_64-fedora-linux-gnu
GCC target triplet: x86_64-fedora-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45433



[Bug java/45433] Can't find GCCMain in org.eclipse.jdt.internal.compiler.batch.GCCMain

2010-08-27 Thread leo dot izen at gmail dot com


--- Comment #1 from leo dot izen at gmail dot com  2010-08-27 21:08 ---
Created an attachment (id=21580)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21580&action=view)
file I tried to compile


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45433



[Bug target/45469] New: When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com
I got this error when building an i386-apple-darwin cross compiler on my
x86_64-fedora-linux-gnu. It compiles everything up to the command
ranlib libbackend.a and a little after, then the sub-directory configure script
fails. 
I configured it and made it with this:
[...@chessman gcc-cross-mactel-4.6.0]$ ./configure
--build=x86_64-fedora-linux-gnu --target=i386-apple-darwin --with-ecj-jar
>/home/Leo/i386-apple-darwin-configure-log 2>&1
[...@chessman gcc-cross-mactel-4.6.0]$ make
>/home/Leo/i386-apple-darwin-make-log 2>&1
[...@chessman gcc-cross-mactel-4.6.0]$ 

I attached the configure log and the make log. I am running
x86_64-fedora-linux-gnu. The reason I added --build was because otherwize it
said I was on x86_64-unknown-linux-gnu.


-- 
   Summary: When building cross compiler cannot compute suffix of
object files.
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: leo dot izen at gmail dot com
 GCC build triplet: x86_64-fedora-linux-gnu
  GCC host triplet: x86_64-fedora-linux-gnu
GCC target triplet: i386-apple-darwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #1 from leo dot izen at gmail dot com  2010-08-31 21:17 ---
Created an attachment (id=21623)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21623&action=view)
configure output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #2 from leo dot izen at gmail dot com  2010-08-31 21:18 ---
Created an attachment (id=21624)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21624&action=view)
make output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #4 from leo dot izen at gmail dot com  2010-08-31 22:08 ---
(In reply to comment #3)
> >./configure
> 
> First don't build in the source directory.
> 
> 
> Second can you attach
> /home/Leo/Documents/gcc-cross-mactel-4.6.0/i386-apple-darwin/libgcc/config.log
> ?
> 

I changed it so I wasn't building in source directory. 

Now it is: 
[...@chessman i386appledarwinbuild]$ ../Documents/gcc-mactel/configure
--build=x86_64-fedora-linux-gnu --target=i386-apple-darwin --with-ecj-jar
>/home/Leo/i386-apple-darwin-configure-log 2>&1
[...@chessman i386appledarwinbuild]$ make >/home/Leo/i386-apple-darwin-make-log
2>&1
[...@chessman i386appledarwinbuild]$ 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #5 from leo dot izen at gmail dot com  2010-08-31 22:09 ---
Created an attachment (id=21625)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21625&action=view)
new configure output


-- 

leo dot izen at gmail dot com changed:

   What|Removed |Added

  Attachment #21623|0   |1
is obsolete||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #6 from leo dot izen at gmail dot com  2010-08-31 22:09 ---
Created an attachment (id=21626)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21626&action=view)
new make log


-- 

leo dot izen at gmail dot com changed:

   What|Removed |Added

  Attachment #21624|0   |1
is obsolete||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469



[Bug target/45469] When building cross compiler cannot compute suffix of object files.

2010-08-31 Thread leo dot izen at gmail dot com


--- Comment #8 from leo dot izen at gmail dot com  2010-08-31 22:59 ---
Created an attachment (id=21628)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21628&action=view)
the config.log


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469