From owner-freebsd-java Fri Feb 21 9:23: 6 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 339D837B401 for ; Fri, 21 Feb 2003 09:23:02 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423F843F75 for ; Fri, 21 Feb 2003 09:23:01 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1LHMr4p017536; Fri, 21 Feb 2003 12:22:53 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1LHMr7n017533; Fri, 21 Feb 2003 12:22:53 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15958.24685.239353.1126@ool-18bacefa.dyn.optonline.net> Date: Fri, 21 Feb 2003 12:22:53 -0500 To: Munehiro Matsuda Cc: c.rued@xsb.com, freebsd-java@FreeBSD.ORG Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing In-Reply-To: <20030221.100406.41628347.haro@kgt.co.jp> References: <15956.19601.491644.845972@ool-18bacefa.dyn.optonline.net> <20030220.152353.104026134.haro@kgt.co.jp> <15957.11931.949338.673306@ool-18bacefa.dyn.optonline.net> <20030221.100406.41628347.haro@kgt.co.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Haro, I attempted to compile/run the jdk13 with the patches you provided. All patches now apply cleanly. I am still having some trouble, however. When I try to compile the jdk like so: # make WITH_HOTSPOT=compiler2 -DWITH_NATIVE_THREADS install I get: gmake[2]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linu x/linux_i486_compiler2/product' Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm /adlc/adlparse.cpp cc1plus: Invalid option `-fguess-branch-probability' cc1plus: Invalid option `-fcprop-registers' cc1plus: Invalid option `-fmerge-constants' cc1plus: Invalid option `-fmerge-all-constants' cc1plus: Invalid option `-foptimize-sibling-calls' cc1plus: Invalid option `-fgcse-sm' cc1plus: Invalid option `-fgcse-lm' cc1plus: Invalid option `-fpeephole2' cc1plus: Invalid option `-fdelete-null-pointer-checks' cc1plus: Invalid option `-freorder-blocks' cc1plus: Invalid option `-fprefetch-loop-arrays' cc1plus: Invalid option `-fno-guess-branch-probability' cc1plus: Invalid option `-falign-functions' cc1plus: Invalid option `-falign-labels' cc1plus: Invalid option `-falign-loops' cc1plus: Invalid option `-falign-jumps' cc1plus: Invalid option `-fssa' cc1plus: Invalid option `-frename-registers' cc1plus: Invalid option `-fguess-branch-probability' cc1plus: Invalid option `-fcprop-registers' cc1plus: Invalid option `-fmerge-constants' cc1plus: Invalid option `-fmerge-all-constants' cc1plus: Invalid option `-foptimize-sibling-calls' cc1plus: Invalid option `-fgcse-sm' cc1plus: Invalid option `-fgcse-lm' cc1plus: Invalid option `-fpeephole2' cc1plus: Invalid option `-fdelete-null-pointer-checks' cc1plus: Invalid option `-freorder-blocks' cc1plus: Invalid option `-fprefetch-loop-arrays' cc1plus: Invalid option `-fno-guess-branch-probability' cc1plus: Invalid option `-falign-functions' cc1plus: Invalid option `-falign-labels' cc1plus: Invalid option `-falign-loops' cc1plus: Invalid option `-falign-jumps' cc1plus: Invalid option `-fssa' cc1plus: Invalid option `-frename-registers' gmake[2]: *** [../generated/adfiles/adlparse.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux /linux_i486_compiler2/product' gmake[1]: *** [ad_stuff] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux /linux_i486_compiler2/product' gmake: *** [product] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk13. When I try to compile the jdk with either of the following: # make WITH_HOTSPOT=compiler1 -DWITH_NATIVE_THREADS install or # make WITH_HOTSPOT=core -DWITH_NATIVE_THREADS install it compiles without complaining, but crashes with the following message when I try to run it: Unexpected Signal : 4 occurred at PC=0x80c022b Function name=(N/A) Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Fri Feb 21 12:01:17 2003 Elapsed Time = -2147483648 # # HotSpot Virtual Machine Error : 4 # Error ID : 4F530E43505002CC # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Core VM (1.3.1-internal interpreted mode) # # An error report file has been saved as hs_err_pid17508.log. # Please refer to the file for further information. # Munehiro Matsuda writes: > ::Something that someone (I forget who) on this mailing list said is > ::also causing me to wonder about another issue: My FreeBSD source tree > ::(under /usr/src) is not in sync with my compiled system; it's about > ::two weeks newer. I was under the impression that the source under > ::/usr/src was never used by any ports (just /usr/include, > ::/usr/X11R6/include, etc). Should I be worried about my source in > ::/usr/src being out of sync with my system? Is the source under > ::/usr/src used in the build? > > The only file FreeBSD's JDK patchset tries include from the /usr/src > is the pthread_private.h file, I think. > It is not installed by default, so /usr/src becomes a must have. Well, the last time anything in the uthread directory was changed seems to be when a new file was added, 11 days ago. pthread_private.h was last changed 6 weeks ago -- my system was built with source from two weeks ago...I don't think recompiling my system would help, but I might give it a shot anyway -- just to be sure. Any other thoughts??? Thanks again :-) -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message