First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 168736
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: ppc64 architecture team <ppc64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 168736 depends on: 168780 Show dependency tree
Bug 168736 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-28 14:10 0000
dev-libs/libffi is now optional via the ffi use flag so you should be able to
add your keywords back if jamvm works on ppc64 without libffi (meaning that it
has it's own code for native calling on ppc64).

------- Comment #1 From Markus Rothe 2007-02-28 20:14:48 0000 -------
unfortunately I'm not able to comile gnu-classpath-0.93 (DEPEND of jamvm-1.4.5)

------- Comment #2 From Petteri Räty 2007-02-28 20:24:48 0000 -------
(In reply to comment #1)
> unfortunately I'm not able to comile gnu-classpath-0.93 (DEPEND of jamvm-1.4.5)
> 

As a stop gap measure you can mask the nsplugin use flag. The plugin is unsafe
any way but I will try looking into this.

------- Comment #3 From Petteri Räty 2007-03-02 20:01:12 0000 -------
(In reply to comment #1)
> unfortunately I'm not able to comile gnu-classpath-0.93 (DEPEND of jamvm-1.4.5)
> 

Should be fixed now.

------- Comment #4 From Markus Rothe 2007-03-06 19:03:26 0000 -------
hmm.. I'm not sure what this program does ;-)

I've done this to test this application:

$ cat helloworld.java 
class Hello {
    public static void main(String args[]) {
        System.out.println("Hello World!");
    }
}
$ javac helloworld.java
$ jamvm Hello.class


the result is that my CPU is being used 100%, but nothing else happens.. is
this good or bad? what does this "virtual machine" do? have I used it
completely wrong?

------- Comment #5 From Petteri Räty 2007-03-06 19:10:45 0000 -------
(In reply to comment #4)

>
> the result is that my CPU is being used 100%, but nothing else happens.. is
> this good or bad? what does this "virtual machine" do? have I used it
> completely wrong?
> 

Ok some Java basics:

javac is used with .java like and the vm with just the class name:

betelgeuse@pena ~/test/java $ javac Hello.java
betelgeuse@pena ~/test/java $ jamvm Hello
Hello World!
/tmp

But it certainly should not just go into using 100% CPU.

------- Comment #6 From Petteri Räty 2007-03-06 20:57:44 0000 -------
(In reply to comment #5)

> }
> $ javac helloworld.java
> $ jamvm Hello.class
> 
> 

What javac did you use to compile it (eselect java-vm list)?

------- Comment #7 From Markus Rothe 2007-03-07 07:14:43 0000 -------
(In reply to comment #5)
> betelgeuse@pena ~/test/java $ jamvm Hello

ok. used that command and I'm getting the same result (100% CPU use, no output)


$ eselect java-vm list
Available Java Virtual Machines:
  [1]   ibm-jdk-bin-1.4 
  [2]   ibm-jdk-bin-1.5  system-vm
  [3]   jamvm

------- Comment #8 From Petteri Räty 2007-03-07 11:26:56 0000 -------
(In reply to comment #7)
> (In reply to comment #5)
> > betelgeuse@pena ~/test/java $ jamvm Hello
> 
> ok. used that command and I'm getting the same result (100% CPU use, no output)
> 

Did you try with ffi use flag on and off?

------- Comment #9 From Markus Rothe 2007-03-07 16:43:33 0000 -------
Good point... I have only tried with USE="-ffi". Will try with that useflag
enabled.

------- Comment #10 From Vlastimil Babka (Caster) 2007-03-07 20:58:45 0000 -------
(In reply to comment #7)
> (In reply to comment #5)
> > betelgeuse@pena ~/test/java $ jamvm Hello
> $ eselect java-vm list
> Available Java Virtual Machines:
>   [1]   ibm-jdk-bin-1.4 
>   [2]   ibm-jdk-bin-1.5  system-vm
>   [3]   jamvm

This means your javac produced 1.5 bytecode, while jamvm can only handle 1.4 (I
think)?

------- Comment #11 From Petteri Räty 2007-03-07 21:07:33 0000 -------
(In reply to comment #10)
> 
> This means your javac produced 1.5 bytecode, while jamvm can only handle 1.4 (I
> think)?
> 

False:
betelgeuse@pena ~/test/java $ javac Hello.java
betelgeuse@pena ~/test/java $ javac -version
javac 1.6.0
betelgeuse@pena ~/test/java $ jamvm Hello
Hello World!
/tmp
betelgeuse@pena ~/test/java $ 

------- Comment #12 From Petteri Räty 2008-03-03 18:01:17 0000 -------
Hello ppc64 people. Time to test jamvm-1.5.0.

------- Comment #13 From Markus Rothe 2008-03-08 16:14:16 0000 -------
same as comment #4

------- Comment #14 From Brent Baude 2009-03-15 18:12:47 0000 -------
still same; thoughts?

First Last Prev Next    No search results available      Search page      Enter new bug