public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19110] New: Simple java program does not work properly
@ 2004-12-21 16:30 avdyk at debian dot org
  2004-12-21 16:31 ` [Bug java/19110] " avdyk at debian dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: avdyk at debian dot org @ 2004-12-21 16:30 UTC (permalink / raw)
  To: java-prs

arnaud@oz:/tmp$ cat Hello.java
public class Hello{
  public static void main(String[] args) {
    System.out.println("hello");
  }
}

arnaud@oz:/tmp$ gcj-3.4 -o hello --main=Hello Hello.java
arnaud@oz:/tmp$ ./hello
?
arnaud@oz:/tmp$ gcj-3.3 -o hello --main=Hello Hello.java
arnaud@oz:/tmp$ ./hello
hello
arnaud@oz:/tmp$

-- 
           Summary: Simple java program does not work properly
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: avdyk at debian dot org
                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=19110


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

* [Bug java/19110] Simple java program does not work properly
  2004-12-21 16:30 [Bug java/19110] New: Simple java program does not work properly avdyk at debian dot org
@ 2004-12-21 16:31 ` avdyk at debian dot org
  2004-12-21 18:47 ` pinskia at gcc dot gnu dot org
  2005-01-02  4:28 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: avdyk at debian dot org @ 2004-12-21 16:31 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From avdyk at debian dot org  2004-12-21 16:31 -------
I'm working on Debian Sid on a powerpc.

-- 


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


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

* [Bug java/19110] Simple java program does not work properly
  2004-12-21 16:30 [Bug java/19110] New: Simple java program does not work properly avdyk at debian dot org
  2004-12-21 16:31 ` [Bug java/19110] " avdyk at debian dot org
@ 2004-12-21 18:47 ` pinskia at gcc dot gnu dot org
  2005-01-02  4:28 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21 18:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-21 18:47 -------
Hmm, this works on the mainline (I know because one of the gcj developers use powerpc-linux, I think 
debian or fordora core).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
 GCC target triplet|                            |powerpc-linux-gnu


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


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

* [Bug java/19110] Simple java program does not work properly
  2004-12-21 16:30 [Bug java/19110] New: Simple java program does not work properly avdyk at debian dot org
  2004-12-21 16:31 ` [Bug java/19110] " avdyk at debian dot org
  2004-12-21 18:47 ` pinskia at gcc dot gnu dot org
@ 2005-01-02  4:28 ` amodra at bigpond dot net dot au
  2 siblings, 0 replies; 4+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-01-02  4:28 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From amodra at bigpond dot net dot au  2005-01-02 04:28 -------
This also works with current 3.4 branch.  My guess is that somehow the wrong
libgcj.so is being used.  -v -Wl,-v,-t are useful in checking which objects are
linked.  Also LD_DEBUG=files ./hello to see which libs at runtime.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2005-01-02  4:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 16:30 [Bug java/19110] New: Simple java program does not work properly avdyk at debian dot org
2004-12-21 16:31 ` [Bug java/19110] " avdyk at debian dot org
2004-12-21 18:47 ` pinskia at gcc dot gnu dot org
2005-01-02  4:28 ` amodra at bigpond dot net dot au

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