GCJ on Linux

Boehm, Hans hboehm@exch.hpl.hp.com
Sat Apr 1 00:00:00 GMT 2000


Title: GCJ on Linux



Assuming this is a runtime failure, it's likely to be 
caused by the fact that Mandrake 6.1 aparently uses a kernel configured for > 
1GB physical memory.  This causes the main process stack to start at an 
address different from what the garbage collector expects.  This is fixed 
in more recent versions of the garbage collector.
 
Hans

  -----Original Message----- From: Andrew Zahra 
  [mailto:andzahra@nortelnetworks.com] Sent: Monday, January 24, 2000 
  5:48 PM To: java-discuss@sourceware.cygnus.com Cc: Peter 
  Nicholson; Justin Urbanski Subject: GCJ on 
Linux
  We have just installed gcj on a Linux/intel 
  machine. When we compile a trivial hello world program we get a segmentation 
  violation. Does GCJ work under Linux on intel?
  Our system details: Mandrake Linux 6.1 
  [root@zwolb00c gcc]# uname -a Linux zwolb00c.asiapac.nortel.com 2.2.13-7mdksmp #1 SMP Wed 
  Sep 15 16:38:50 CEST 1999 i686 
  unknown 
  [root@zwolb00c gcc]# gcc -v Reading specs from 
  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs 
  gcc version 2.95.1 19990816 (release) 
  [root@zwolb00c gcc]# gcj -dumpversion 
  2.95.1 [root@zwolb00c gcc]# gcj -dumpmachine i686-pc-linux-gnu 
  Hardware is dual Celerons 
  ---------------------- Andrew Zahra, Nortel Networks - Wollongong 
  Australia. andzahra@nortelnetworks.com Tel: +61 2 4224 2872   ESN: 639 2872     
  Fax: +61 2 4224 2801  Mobile: 
  +61 428 403 759 Box U87, Uni of 
  Wollongong Wollongong, NSW 
  2500 Australia 




More information about the Java mailing list