public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20561] New: Error compiling jdtcore.jar on powerpc
@ 2005-03-20  0:46 kahing at gmail dot com
  2005-03-20  1:16 ` [Bug target/20561] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: kahing at gmail dot com @ 2005-03-20  0:46 UTC (permalink / raw)
  To: java-prs

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 (ffffffffffff7ee4 not
between -32768 and 32767)
/tmp/cccNhHCN.s:3406968: Error: operand out of range (ffffffffffff7ee4 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
@ 2005-03-20  1:16 ` pinskia at gcc dot gnu dot org
  2005-03-21 16:57 ` kahing at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-20  1:16 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-19 22:44 -------
try compiling with -mlong-branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |target


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
  2005-03-20  1:16 ` [Bug target/20561] " pinskia at gcc dot gnu dot org
@ 2005-03-21 16:57 ` kahing at gmail dot com
  2005-03-22 13:30 ` pinskia at physics dot uc dot edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kahing at gmail dot com @ 2005-03-21 16:57 UTC (permalink / raw)
  To: java-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
  2005-03-20  1:16 ` [Bug target/20561] " pinskia at gcc dot gnu dot org
  2005-03-21 16:57 ` kahing at gmail dot com
@ 2005-03-22 13:30 ` pinskia at physics dot uc dot edu
  2005-03-22 13:40 ` kahing at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2005-03-22 13:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at physics dot uc dot edu  2005-03-20 00:46 -------
Subject: Re:  Error compiling jdtcore.jar on powerpc

I had meant -mlongcall.

-- Pinski



-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
                   ` (2 preceding siblings ...)
  2005-03-22 13:30 ` pinskia at physics dot uc dot edu
@ 2005-03-22 13:40 ` kahing at gmail dot com
  2005-03-22 16:03 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kahing at gmail dot com @ 2005-03-22 13:40 UTC (permalink / raw)
  To: java-prs


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
                   ` (3 preceding siblings ...)
  2005-03-22 13:40 ` kahing at gmail dot com
@ 2005-03-22 16:03 ` pinskia at gcc dot gnu dot org
  2005-03-22 16:42 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-22 16:03 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-21 16:57 -------
This is also:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151466

And patch was posted here: 
<http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02001.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch, wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-21 16:57:03
               date|                            |


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
                   ` (4 preceding siblings ...)
  2005-03-22 16:03 ` pinskia at gcc dot gnu dot org
@ 2005-03-22 16:42 ` cvs-commit at gcc dot gnu dot org
  2005-03-22 16:55 ` pinskia at gcc dot gnu dot org
  2005-03-22 16:55 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-22 16:42 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-22 13:29 -------
Subject: Bug 20561

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-03-22 13:29:30

Modified files:
	gcc            : ChangeLog cfglayout.c final.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: 20050321-2.c 

Log message:
	PR target/20561
	* cfglayout.c (reemit_insn_block_notes): Don't put block notes in
	between jump table and its label.
	* final.c (shorten_branches): Handle notes in between ADDR_VEC
	resp. ADDR_DIFF_VEC and the label preceeding it.
	(final_scan_insn): Likewise.  Ensure ADDR_VEC resp. ADDR_DIFF_VEC
	is emitted in the right section.
	
	* gcc.dg/20050321-2.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7955&r2=2.7956
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfglayout.c.diff?cvsroot=gcc&r1=1.82&r2=1.83
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&r1=1.344&r2=1.345
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5193&r2=1.5194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050321-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
                   ` (5 preceding siblings ...)
  2005-03-22 16:42 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-22 16:55 ` pinskia at gcc dot gnu dot org
  2005-03-22 16:55 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-22 16:55 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-22 16:03 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/20561] Error compiling jdtcore.jar on powerpc
  2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
                   ` (6 preceding siblings ...)
  2005-03-22 16:55 ` pinskia at gcc dot gnu dot org
@ 2005-03-22 16:55 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-22 16:55 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-22 13:40 -------
Subject: Bug 20561

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	jakub@gcc.gnu.org	2005-03-22 13:39:37

Modified files:
	gcc            : ChangeLog cfglayout.c final.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: 20050321-2.c 

Log message:
	PR target/20561
	* cfglayout.c (reemit_insn_block_notes): Don't put block notes in
	between jump table and its label.
	* final.c (shorten_branches): Handle notes in between ADDR_VEC
	resp. ADDR_DIFF_VEC and the label preceeding it.
	(final_scan_insn): Likewise.  Ensure ADDR_VEC resp. ADDR_DIFF_VEC
	is emitted in the right section.
	
	* gcc.dg/20050321-2.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.76&r2=2.7592.2.77
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfglayout.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.79&r2=1.79.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.344&r2=1.344.12.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.59&r2=1.5084.2.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050321-2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-22 16:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-20  0:46 [Bug java/20561] New: Error compiling jdtcore.jar on powerpc kahing at gmail dot com
2005-03-20  1:16 ` [Bug target/20561] " pinskia at gcc dot gnu dot org
2005-03-21 16:57 ` kahing at gmail dot com
2005-03-22 13:30 ` pinskia at physics dot uc dot edu
2005-03-22 13:40 ` kahing at gmail dot com
2005-03-22 16:03 ` pinskia at gcc dot gnu dot org
2005-03-22 16:42 ` cvs-commit at gcc dot gnu dot org
2005-03-22 16:55 ` pinskia at gcc dot gnu dot org
2005-03-22 16:55 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).