public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] jamvm
@ 2006-12-21 21:27 Natanael Copa
  2006-12-21 21:58 ` Morgan, Austin D.
  0 siblings, 1 reply; 4+ messages in thread
From: Natanael Copa @ 2006-12-21 21:27 UTC (permalink / raw
  To: gentoo-embedded

Hi,

Has anybody managed to install jamvm and classpath with hardened/uclibc?

gnu-classpath fails to emerge because there is no java vm - and the
javavm is supposed to be jamvm.

Any hints?



-- 
gentoo-embedded@gentoo.org mailing list



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

* RE: [gentoo-embedded] jamvm
  2006-12-21 21:27 [gentoo-embedded] jamvm Natanael Copa
@ 2006-12-21 21:58 ` Morgan, Austin D.
  2006-12-21 22:16   ` Natanael Copa
  2006-12-21 22:58   ` Natanael Copa
  0 siblings, 2 replies; 4+ messages in thread
From: Morgan, Austin D. @ 2006-12-21 21:58 UTC (permalink / raw
  To: gentoo-embedded

According to the ebuild gnu-classpath requires jikes to compile due to
other compilers requiring a particular jvm or incorrect compilation of
the app.  With this is mind is that the error you are receiving?

Austin

-----Original Message-----
From: gentoo-embedded+bounces-1464-AUSTIN.D.MORGAN=saic.com@gentoo.org
[mailto:gentoo-embedded+bounces-1464-AUSTIN.D.MORGAN=saic.com@gentoo.org
] On Behalf Of Natanael Copa
Sent: Thursday, December 21, 2006 3:28 PM
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] jamvm


Hi,

Has anybody managed to install jamvm and classpath with hardened/uclibc?

gnu-classpath fails to emerge because there is no java vm - and the
javavm is supposed to be jamvm.

Any hints?



-- 
gentoo-embedded@gentoo.org mailing list

-- 
gentoo-embedded@gentoo.org mailing list



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

* RE: [gentoo-embedded] jamvm
  2006-12-21 21:58 ` Morgan, Austin D.
@ 2006-12-21 22:16   ` Natanael Copa
  2006-12-21 22:58   ` Natanael Copa
  1 sibling, 0 replies; 4+ messages in thread
From: Natanael Copa @ 2006-12-21 22:16 UTC (permalink / raw
  To: gentoo-embedded

On Thu, 2006-12-21 at 15:58 -0600, Morgan, Austin D. wrote:
> According to the ebuild gnu-classpath requires jikes to compile due to
> other compilers requiring a particular jvm or incorrect compilation of
> the app.  With this is mind is that the error you are receiving?

Yes. jikes can't find the java vm, which is what im trying to install. I
need to bootstrap java somehow.

I tried to run "emerge --nodeps jamvm" and it complains about not
finding classpath. However, if I run ./configure without the 
--with-classpath-install-dir=/usr then it compiles just fine.



> 
> Austin
> 
> -----Original Message-----
> From: gentoo-embedded+bounces-1464-AUSTIN.D.MORGAN=saic.com@gentoo.org
> [mailto:gentoo-embedded+bounces-1464-AUSTIN.D.MORGAN=saic.com@gentoo.org
> ] On Behalf Of Natanael Copa
> Sent: Thursday, December 21, 2006 3:28 PM
> To: gentoo-embedded@lists.gentoo.org
> Subject: [gentoo-embedded] jamvm
> 
> 
> Hi,
> 
> Has anybody managed to install jamvm and classpath with hardened/uclibc?
> 
> gnu-classpath fails to emerge because there is no java vm - and the
> javavm is supposed to be jamvm.
> 
> Any hints?
> 
> 
> 
> -- 
> gentoo-embedded@gentoo.org mailing list
> 

-- 
gentoo-embedded@gentoo.org mailing list



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

* RE: [gentoo-embedded] jamvm
  2006-12-21 21:58 ` Morgan, Austin D.
  2006-12-21 22:16   ` Natanael Copa
@ 2006-12-21 22:58   ` Natanael Copa
  1 sibling, 0 replies; 4+ messages in thread
From: Natanael Copa @ 2006-12-21 22:58 UTC (permalink / raw
  To: gentoo-embedded

On Thu, 2006-12-21 at 15:58 -0600, Morgan, Austin D. wrote:
> Hi,
> 
> Has anybody managed to install jamvm and classpath with hardened/uclibc?
> 
> gnu-classpath fails to emerge because there is no java vm - and the
> javavm is supposed to be jamvm.

I managed to compile jamvm-1.4.4-r1 with --nodeps and this patch:

--- src/os/linux/os.c.orig      2006-12-21 22:39:25 +0000
+++ src/os/linux/os.c   2006-12-21 22:46:12 +0000
@@ -28,18 +28,11 @@
 #include "../../jam.h"

 void *nativeStackBase() {
-    pthread_attr_t attr;
-    void *addr;
-    int size;
-
-    pthread_getattr_np(pthread_self(), &attr);
-    pthread_attr_getstack(&attr, &addr, &size);
-
-    return addr+size;
+    return NULL;
 }

 int nativeAvailableProcessors() {
-    return get_nprocs();
+    return 1;
 }

 char *nativeLibPath() {

See: http://sourceforge.net/mailarchive/message.php?msg_id=37266311

gnu-classpath failed on configure due to missing gconf though.

> Any hints?
> 
> 
> 
> -- 
> gentoo-embedded@gentoo.org mailing list
> 

-- 
gentoo-embedded@gentoo.org mailing list



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

end of thread, other threads:[~2006-12-21 22:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 21:27 [gentoo-embedded] jamvm Natanael Copa
2006-12-21 21:58 ` Morgan, Austin D.
2006-12-21 22:16   ` Natanael Copa
2006-12-21 22:58   ` Natanael Copa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox