public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/25535]  New: gcj broken on 64-bit big-endian systems
@ 2005-12-22 17:15 aph at gcc dot gnu dot org
  2005-12-22 17:16 ` [Bug java/25535] " aph at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-22 17:15 UTC (permalink / raw)
  To: java-prs

BC-compiled code doesn't work on a big-endian 64-bit box because of a
silly mistake initializing entries in the constant pool.  In all cases
the initializer must appear as the first 32-bit integer of a machine
word stored in memory.


-- 
           Summary: gcj broken on 64-bit big-endian systems
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: aph at gcc dot gnu dot org
        ReportedBy: aph at gcc dot gnu dot org
GCC target triplet: ppc64-linux-gnu


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
@ 2005-12-22 17:16 ` aph at gcc dot gnu dot org
  2005-12-22 18:34 ` aph at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-22 17:16 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from aph at gcc dot gnu dot org  2005-12-22 17:16 -------
public class Test {
     public static void main(String[] args) {
         System.out.println(javax.rmi.CORBA.Stub.class);
     }
}

This fails with a SEGV on PPC 64.


-- 


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
  2005-12-22 17:16 ` [Bug java/25535] " aph at gcc dot gnu dot org
@ 2005-12-22 18:34 ` aph at gcc dot gnu dot org
  2005-12-23  5:44 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-22 18:34 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from aph at gcc dot gnu dot org  2005-12-22 18:34 -------
Subject: Bug 25535

Author: aph
Date: Thu Dec 22 18:34:01 2005
New Revision: 108961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108961
Log:
2005-12-22  Andrew Haley  <aph@redhat.com>

        PR java/25535
        * testsuite/libjava.lang/PR25535.java: New test.


Added:
    trunk/libjava/testsuite/libjava.lang/PR25535.java
    trunk/libjava/testsuite/libjava.lang/PR25535.out
Modified:
    trunk/libjava/ChangeLog


-- 


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
  2005-12-22 17:16 ` [Bug java/25535] " aph at gcc dot gnu dot org
  2005-12-22 18:34 ` aph at gcc dot gnu dot org
@ 2005-12-23  5:44 ` pinskia at gcc dot gnu dot org
  2006-01-16 15:51 ` aph at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-23  5:44 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-23 05:44:35
               date|                            |


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-23  5:44 ` pinskia at gcc dot gnu dot org
@ 2006-01-16 15:51 ` aph at gcc dot gnu dot org
  2006-02-07 19:02 ` aph at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-01-16 15:51 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from aph at gcc dot gnu dot org  2006-01-16 15:51 -------
Subject: Bug 25535

Author: aph
Date: Mon Jan 16 15:51:42 2006
New Revision: 109748

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109748
Log:
2006-01-16  Andrew Haley  <aph@redhat.com>

        PR java/25535
        * constants.c (build_constants_constructor): move initializer into
        first halfword on a 6-bit big-endian machine.


Modified:
    branches/gcc-4_1-branch/gcc/java/ChangeLog
    branches/gcc-4_1-branch/gcc/java/constants.c


-- 


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-01-16 15:51 ` aph at gcc dot gnu dot org
@ 2006-02-07 19:02 ` aph at gcc dot gnu dot org
  2006-02-23 17:40 ` aph at gcc dot gnu dot org
  2006-02-27  3:42 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-07 19:02 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from aph at gcc dot gnu dot org  2006-02-07 19:02 -------
Subject: Bug 25535

Author: aph
Date: Tue Feb  7 19:02:39 2006
New Revision: 110710

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110710
Log:
2006-02-07  Andrew Haley  <aph@redhat.com>

        * expr.c (expand_invoke): (BC mode.)  If we find a method in a
        class other than the one in which we expected to find it, ignore
        the result.

        PR java/25535
        * constants.c (build_constants_constructor): move initializer into
        first halfword on a 6-bit big-endian machine.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/constants.c
    trunk/gcc/java/expr.c


-- 


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-02-07 19:02 ` aph at gcc dot gnu dot org
@ 2006-02-23 17:40 ` aph at gcc dot gnu dot org
  2006-02-27  3:42 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-23 17:40 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from aph at gcc dot gnu dot org  2006-02-23 17:40 -------
.


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug java/25535] gcj broken on 64-bit big-endian systems
  2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-02-23 17:40 ` aph at gcc dot gnu dot org
@ 2006-02-27  3:42 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27  3:42 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2006-02-27  3:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22 17:15 [Bug java/25535] New: gcj broken on 64-bit big-endian systems aph at gcc dot gnu dot org
2005-12-22 17:16 ` [Bug java/25535] " aph at gcc dot gnu dot org
2005-12-22 18:34 ` aph at gcc dot gnu dot org
2005-12-23  5:44 ` pinskia at gcc dot gnu dot org
2006-01-16 15:51 ` aph at gcc dot gnu dot org
2006-02-07 19:02 ` aph at gcc dot gnu dot org
2006-02-23 17:40 ` aph at gcc dot gnu dot org
2006-02-27  3:42 ` pinskia 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).