[Bug java/20561] New: Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com
I followed the instruction on
http://developer.classpath.org/mediation/ClasspathShowcase to compile eclipse.
Here's the error:

Compiling ./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar to native
/tmp/cccNhHCN.s: Assembler messages:
/tmp/cccNhHCN.s:1952484: Error: operand out of range (7ee4 not
between -32768 and 32767)
/tmp/cccNhHCN.s:3406968: Error: operand out of range (7ee4 not
between -32768 and 32767)

The command used is:
gcj-4.0 -shared -findirect-dispatch -fjni -fPIC -o jdtcore.jar.so jdtcore.jar

-- 
   Summary: Error compiling jdtcore.jar on powerpc
   Product: gcc
   Version: 4.0.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kahing at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org


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


[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com

--- Additional Comments From kahing at gmail dot com  2005-03-20 00:43 
---
$ gcj-4.0 -mlong-branch -shared -findirect-dispatch -fjni -fPIC -o
./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar.so
./plugins/org.eclipse.jdt.core_3.0.1/jdtcore.jar
jc1: error: invalid option ‘long-branch’

$ gcj-4.0 -v
Using built-in specs.
Reading specs from /usr/lib/gcc/powerpc-linux/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Target: powerpc-linux
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada
--prefix=/usr --libexecdir=/usr/lib --enable-shared --with-system-zlib
--enable-nls --enable-threads=posix --without-included-gettext
--program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo --enable-mpfr --disable-multilib
--enable-checking=release powerpc-linux
Thread model: posix
gcc version 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu6)


-- 


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


[Bug target/20561] Error compiling jdtcore.jar on powerpc

2005-03-19 Thread kahing at gmail dot com

--- Additional Comments From kahing at gmail dot com  2005-03-20 01:16 
---
That works. Thanks.

-- 


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