Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168736 - Keywording request for dev-java/jamvm-1.5.4-r1
Summary: Keywording request for dev-java/jamvm-1.5.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on: 168780
Blocks: 316477
  Show dependency tree
 
Reported: 2007-02-28 14:10 UTC by Petteri Räty (RETIRED)
Modified: 2010-07-05 17:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-02-28 14:10:03 UTC
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 Markus Rothe (RETIRED) gentoo-dev 2007-02-28 20:14:48 UTC
unfortunately I'm not able to comile gnu-classpath-0.93 (DEPEND of jamvm-1.4.5)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-02-28 20:24:48 UTC
(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 Petteri Räty (RETIRED) gentoo-dev 2007-03-02 20:01:12 UTC
(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 Markus Rothe (RETIRED) gentoo-dev 2007-03-06 19:03:26 UTC
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 Petteri Räty (RETIRED) gentoo-dev 2007-03-06 19:10:45 UTC
(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 Petteri Räty (RETIRED) gentoo-dev 2007-03-06 20:57:44 UTC
(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 Markus Rothe (RETIRED) gentoo-dev 2007-03-07 07:14:43 UTC
(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 Petteri Räty (RETIRED) gentoo-dev 2007-03-07 11:26:56 UTC
(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 Markus Rothe (RETIRED) gentoo-dev 2007-03-07 16:43:33 UTC
Good point... I have only tried with USE="-ffi". Will try with that useflag enabled.
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-03-07 20:58:45 UTC
(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 Petteri Räty (RETIRED) gentoo-dev 2007-03-07 21:07:33 UTC
(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 Petteri Räty (RETIRED) gentoo-dev 2008-03-03 18:01:17 UTC
Hello ppc64 people. Time to test jamvm-1.5.0.
Comment 13 Markus Rothe (RETIRED) gentoo-dev 2008-03-08 16:14:16 UTC
same as comment #4
Comment 14 Brent Baude (RETIRED) gentoo-dev 2009-03-15 18:12:47 UTC
still same; thoughts?
Comment 15 Alistair Bush (RETIRED) gentoo-dev 2010-03-27 18:00:10 UTC
Can we try this newer version?
Comment 16 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-03-27 22:38:35 UTC
Make it 1.5.4-r1
Please check both with USE=libffi and USE="-libffi"
Comment 17 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-25 11:53:00 UTC
The other option is to drop the ppc64 keyword
- no reverse dependencies
- I doubt the current stable (1.4.2) still works
- no user seemed to care so far

So I ask whether you agree to
- drop current stable and keep this open
- drop and close
- keep open
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2010-07-05 17:22:39 UTC
(In reply to comment #17)
> The other option is to drop the ppc64 keyword
> - no reverse dependencies
> - I doubt the current stable (1.4.2) still works
> - no user seemed to care so far
> 
> So I ask whether you agree to
> - drop current stable and keep this open
> - drop and close
> - keep open
> 

+  05 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> jamvm-1.4.2.ebuild:
+  Drop ppc64 wrt #168736, Comment #17