From mi@symbion.zaytman.com  Sun Apr  6 19:58:20 2008
Return-Path: <mi@symbion.zaytman.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8F7AB1065671;
	Sun,  6 Apr 2008 19:58:20 +0000 (UTC)
	(envelope-from mi@symbion.zaytman.com)
Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102])
	by mx1.freebsd.org (Postfix) with ESMTP id 234928FC1C;
	Sun,  6 Apr 2008 19:58:20 +0000 (UTC)
	(envelope-from mi@symbion.zaytman.com)
Received: from mr08.lnh.mail.rcn.net ([207.172.157.28])
  by smtp02.lnh.mail.rcn.net with ESMTP; 06 Apr 2008 15:28:50 -0400
Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11])
	by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA)
	with ESMTP id JUY83344;
	Sun, 6 Apr 2008 15:28:41 -0400 (EDT)
Received: from 146-115-44-134.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com (HELO symbion.zaytman.com) ([146.115.44.134])
  by smtp01.lnh.mail.rcn.net with ESMTP; 06 Apr 2008 16:33:20 -0400
Received: from symbion.zaytman.com (localhost.zaytman.com [127.0.0.1])
	by symbion.zaytman.com (8.14.2/8.13.8) with ESMTP id m36JScfa004615;
	Sun, 6 Apr 2008 15:28:38 -0400 (EDT)
	(envelope-from mi@symbion.zaytman.com)
Received: (from mi@localhost)
	by symbion.zaytman.com (8.14.2/8.14.2/Submit) id m36JScxY004582;
	Sun, 6 Apr 2008 15:28:38 -0400 (EDT)
	(envelope-from mi)
Message-Id: <200804061928.m36JScxY004582@symbion.zaytman.com>
Date: Sun, 6 Apr 2008 15:28:38 -0400 (EDT)
From: "Mikhail T." <mi@aldan.algebra.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: emulation@FreeBSD.org
Subject: native JDKs unbuildable with Linux ones
X-Send-Pr-Version: 3.113

>Number:         122513
>Category:       java
>Synopsis:       native JDKs unbuildable with Linux ones
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 20:00:11 UTC 2008
>Closed-Date:    Wed May 21 21:15:09 UTC 2014
>Last-Modified:  Wed May 21 21:15:09 UTC 2014
>Originator:     Mikhail T.
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
Virtual Estates, Inc. http://libpipe.com/
>Environment:
System: FreeBSD symbion.zaytman.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Apr 5 21:43:40 EDT 2008 root@symbion.zaytman.com:/usr/obj/ibm/src/sys/SYMBION i386

>Description:

	The native JDK-ports are supposed to build using any other
	already installed JDK such as diablo, linux, or an earlier
	version of the natively-built JDK (of which diablo is an
	"official" example).

	I discovered some time ago on 6.3/amd64 and am now confirming
	on 7.0/i386, builds using the Linux JDKs fail with misterious
	core-dumps by the (Linux) java and/or javac.

	It is likely, that the problem is not with Java, but with
	the Linuxulator. However, there is no PR-category for
	"emulation" yet :-)

>How-To-Repeat:

	Remove all JDK and JRE packages installed. Install the
	most recent linux-sun-jdk15. Try building native jdk16.

>Fix:

	Build the JDK using the "diablo" binaries.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Fri May 21 07:02:47 UTC 2010 
State-Changed-Why:  
Awaiting submitter's feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122513 

From: Stefan Walter <stefan@freebsd.org>
To: "Mikhail T." <mi@aldan.algebra.com>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: java/122513: native JDKs unbuildable with Linux ones
Date: Fri, 21 May 2010 09:02:26 +0200

 Hi Mikhail,
 
 there hasn't been an update on your PR for quite a while, and I haven't
 seen any problems with building the JDK. Can you still reproduce the
 problem, or can this PR be closed?
 
 Regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=java/122513

From: "Mikhail T." <mi@aldan.algebra.com>
To: Stefan Walter <stefan@freebsd.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>, Todd Wasson <tsw5@duke.edu>,
        emulation@FreeBSD.org
Subject: Re: java/122513: native JDKs unbuildable with Linux ones
Date: Fri, 21 May 2010 11:47:31 -0400

 21.05.2010 03:02, Stefan Walter wrote:
 
 > there hasn't been an update on your PR for quite a while, and I haven't
 > seen any problems with building the JDK. Can you still reproduce the
 > problem, or can this PR be closed?
 
 > [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=java/122513
 
 Yes, as a matter of fact, I just experienced this problem on a friend's 
 brand-new laptop -- with clean new install of 8.1-prerelease/i386. As 
 documented in the PR, a native build of jdk16 was attempted after 
 installing linux-jdk16. The build dies after the Linux java-process 
 receives a SIGKILL.
 
 Another example of the same problem is here:
 
 	http://freebsd.monkey.org/freebsd-stable/200905/msg00567.html
 
 The work-around is to use FreeBSD's natived -- diablo-jdk16... Perhaps, 
 the problem is with Linuxulator?
 
 Yours,
 
 	-mi
State-Changed-From-To: feedback->open 
State-Changed-By: stefan 
State-Changed-When: Fri May 21 17:36:14 UTC 2010 
State-Changed-Why:  
Feedback received, problem still reproducable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122513 
State-Changed-From-To: open->closed 
State-Changed-By: jkim 
State-Changed-When: Wed May 21 21:06:18 UTC 2014 
State-Changed-Why:  
I fixed this problem in r303834 and it worked well enough to build 
java/openjdk6 with java/linux-sun-jdk16.  However, the port was 
deprecated (r351023) and removed (r353685).  Closing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122513 
>Unformatted:
