From owner-freebsd-java@FreeBSD.ORG Sun Dec 8 04:11:56 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6F3F4FD for ; Sun, 8 Dec 2013 04:11:56 +0000 (UTC) Received: from nm47.bullet.mail.ne1.yahoo.com (nm47.bullet.mail.ne1.yahoo.com [98.138.120.54]) by mx1.freebsd.org (Postfix) with SMTP id 719431FA4 for ; Sun, 8 Dec 2013 04:11:56 +0000 (UTC) Received: from [127.0.0.1] by nm47.bullet.mail.ne1.yahoo.com with NNFMP; 08 Dec 2013 04:11:49 -0000 Received: from [98.138.101.128] by nm47.bullet.mail.ne1.yahoo.com with NNFMP; 08 Dec 2013 04:09:09 -0000 Received: from [106.10.166.120] by tm16.bullet.mail.ne1.yahoo.com with NNFMP; 08 Dec 2013 04:09:08 -0000 Received: from [106.10.151.123] by tm9.bullet.mail.sg3.yahoo.com with NNFMP; 08 Dec 2013 04:09:08 -0000 Received: from [127.0.0.1] by omp1005.mail.sg3.yahoo.com with NNFMP; 08 Dec 2013 04:09:08 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 518817.93932.bm@omp1005.mail.sg3.yahoo.com Received: (qmail 30905 invoked by uid 60001); 8 Dec 2013 04:09:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.hk; s=s1024; t=1386475748; bh=r2WxpYaeePPtodMP+qMnb0tqS13bG1ofdKhhewNDHc4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=q8FkzScfbPIo/d9akZmeaG0dfGn5uuTCBrU106bbAf+1ax7P6zA/N7aMlKYudPV/jUlDQqHqkGXz7iMPGK3Aj4aHcYvbIOBPHFZB/gSd2lx+bcgfZ3wosSbuCBbryzvKsUL1SufBmMlfZVVmw4sUhdpwjFLaJt5CRBhBk5jNUo0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VVcEp7EasohyhkMcOZclDy08q3hMAHH/owOBMHex4DC0UJvY7I29SoOScjhto54I7/zoZ9gFan7o8fyjS5Q8xc7iAnWQ+P33c5wum7E/QVx344Ll9v2VhsMpiaKk2DBAu/l45P4h85+01F3Z58fEknXxZb2np64aeljviFPN284=; X-YMail-OSG: 5TWGSrMVM1k323YpGrGY5QHWNgursOemtY6yh809OHdgVBn Jr7Sr5VWiNzpre4rToMpwYxnug00yP9wD9ym7dz6ALg2a99F2hC8iRCMOqLM uzFS_KgbldK0wsWgmoGrsohciGg9_MGVMG3G.LDdpaZq0h4irsQ4_ZaJxqb0 uZhBDGE5orw7puqClp792UVuKrkgfG8g2oxJkDHx3S8Y9RRoZBIVid3_fzzh PZWxsNvdJ3dJnbj0ZVLXPve.kMKlO69cjYAxnb_R4zqWiHLF_qKgbOFIKkr5 T1A0uhQjnaFbNEtOfH6XDL6IyUaCGf0.Gg8aycm23zGJ53AeAB9Z.Yx7vtym Y7ypHN5dGcbp7QfS9fcdazN7lJo43lQcDEjYhT6ahVQswsr1nFnqb32erNiy IAUPTTY_mZ3BMbaue7TF7huAyJaBsPs5lWWWXABC6a2ilwTYa7KsayC8u8Hd UGp.K9Z32o.f1gxLo4rD4I7FDBe.bAn4ZpU5BX9T4FJKBXAeLsn3Fx7BM6tp QmQWkyJNKk3Dcu_UgzBTVYaSsBCtrG4kiCnVYxxAtlyKNtf26lFd88Sn6gf5 v08FuWNRxCrDP6SYrW0w4ct5poXoF9kg_uV7ChwjSV5ulxAKIMpkLtcx_Sf6 8_GHTd1C3Epz31A-- Received: from [219.79.249.253] by web193502.mail.sg3.yahoo.com via HTTP; Sun, 08 Dec 2013 12:09:08 SGT X-Rocket-MIMEInfo: 002.001, T24gU3VuZGF5LCBEZWNlbWJlciA4LCAyMDEzIDM6MzEgQU0sIEdyZWcgTGV3aXMgPGdsZXdpc0BleWVzYmV5b25kLmNvbT4gd3JvdGU6Ck9uIFNhdCwgRGVjIDA3LCAyMDEzIGF0IDExOjA1OjQ1QU0gLTA4MDAsIEdyZWcgTGV3aXMgd3JvdGU6Cj4gT24gU2F0LCBEZWMgMDcsIDIwMTMgYXQgMTA6MjI6MzFBTSArMDEwMCwgQWxiZXJ0IFNoaWggd3JvdGU6Cj4gPsKgIExlIDA2LzEyLzIwMTMgPyAyMjo0MDo0NC0wODAwLCBHcmVnIExld2lzIGEgP2NyaXQKPiA.ID4gQ2FuIHNvbWVvbmUgcGxlYXNlIGRvd25sb2EBMAEBAQE- X-Mailer: YahooMailWebService/0.8.169.609 References: <20131207064044.GA79133@misty.eyesbeyond.com> <20131207092231.GA51378@pcjas.obspm.fr> <20131207190545.GA87007@misty.eyesbeyond.com> <20131207193105.GA17749@misty.eyesbeyond.com> Message-ID: <1386475748.12996.YahooMailNeo@web193502.mail.sg3.yahoo.com> Date: Sun, 8 Dec 2013 12:09:08 +0800 (SGT) From: Patrick Dung Subject: Re: 7u45 update - amd64 testers To: Greg Lewis , Albert Shih In-Reply-To: <20131207193105.GA17749@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Patrick Dung List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 04:11:56 -0000 On Sunday, December 8, 2013 3:31 AM, Greg Lewis wro= te:=0AOn Sat, Dec 07, 2013 at 11:05:45AM -0800, Greg Lewis wrote:=0A> On Sa= t, Dec 07, 2013 at 10:22:31AM +0100, Albert Shih wrote:=0A> >=A0 Le 06/12/2= 013 ? 22:40:44-0800, Greg Lewis a ?crit=0A> > > Can someone please download= =0A> > > =0A> > > http://people.freebsd.org/~glewis/openjdk7-7u45.diff=0A> = > > =0A> > > and see if it compiles on amd64?=A0 If it does I'll go ahead a= nd commit it.=0A> > > Already tested on i386 locally.=0A> > =0A> > No that'= s not compiles.=0A> > =0A> > On :=0A> > =0A> >=A0 =A0 9.2-STABLE FreeBSD 9= .2-STABLE #11 r258722: Thu Nov 28 23:37:54 CET 2013 =0A> > =0A> >=A0 =A0 k= ernel=A0 /usr/obj/usr/src/sys/GENERIC=A0 amd64=0A> > =0A> > all ports is up= 2date.=0A> > =0A> > Here the logs.=0A> > =0A> > Thanks for your work.=0A> = =0A> Thanks Albert.=A0 That actually looks like a 8.x vs. 9.x problem.=A0 I= t needs=0A> to be fixed regardless.=0A> =0A> On 8.x:=0A> =0A> typedef struc= t sem *=A0 =A0 sem_t;=0A> =0A> On 10.x (and presumably 9.x as well based on= the error)=0A> =0A> typedef struct _sem=A0 =A0 sem_t;=0A> =0A> I think th= e solution is to vary the os_semaphore_t definition in os_bsd.cpp=0A> based= on the FreeBSD version.=A0 Let me test compiling that on 8.x and I'll=0A> = send it out.=0A=0AActually, maybe it's as simple as this.=A0 Can someone gi= ve the following a=0Atry on a 9.x machine?=A0 Preferably amd64 since I stil= l want to make sure=0Awe're ok there.=0A=0Adiff -r 54995aa29dbb src/os/bsd/= vm/os_bsd.cpp=0A--- a/src/os/bsd/vm/os_bsd.cpp=A0=A0=A0 Wed Dec 04 22:06:37= 2013 -0800=0A+++ b/src/os/bsd/vm/os_bsd.cpp=A0=A0=A0 Sat Dec 07 11:29:16 2= 013 -0800=0A@@ -2755,7 +2755,11 @@=0A=A0 =A0 os_semaphore_t _semaphore;=0A= };=0A=0A+#if defined(__FreeBSD__) && __FreeBSD__ > 8=0A+Semaphore::Semaphor= e() : _semaphore() {=0A+#else=0ASemaphore::Semaphore() : _semaphore(0) {=0A= +#endif=0A=A0 SEM_INIT(_semaphore, 0);=0A}=0A=0A-- =0AGreg Lewis=A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Email=A0 : glewis@eyesbeyond.c= om=0AEyes Beyond=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Web=A0 =A0= : http://www.eyesbeyond.com/=0AInformation Technology=A0 =A0 =A0 =A0 =A0 = =A0 =A0 FreeBSD : glewis@FreeBSD.org=0A____________________________________= _=0A=0A=0AHi Greg,=0A=0AI could not patch the files using your last diff (I= was using cat file | patch -u -p6)=0AAnyway, I have maually edited os_bsd.= cpp:=0A=0A#if defined(__FreeBSD__) && __FreeBSD__ > 8=0ASemaphore::Semaphor= e() : _semaphore() {=0A#else=0A#Semaphore::Semaphore() : _semaphore(0) {=0A= #endif=0A=A0 SEM_INIT(_semaphore, 0);=0A}=0A=0A=0AIt compiled on my Freebsd= 9.2 x64.=0A=0AI tried to start my jvm application and seems fine.=0A=0ATha= nks and regards,=0APatrick Dung From owner-freebsd-java@FreeBSD.ORG Sun Dec 8 04:12:47 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 512B9604 for ; Sun, 8 Dec 2013 04:12:47 +0000 (UTC) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E171A1FAC for ; Sun, 8 Dec 2013 04:12:46 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.7/8.14.7) with ESMTP id rB84CiOb065556; Sat, 7 Dec 2013 20:12:45 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.7/8.14.7/Submit) id rB84Ci9K065555; Sat, 7 Dec 2013 20:12:44 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 7 Dec 2013 20:12:43 -0800 From: Greg Lewis To: Albert Shih Subject: Re: 7u45 update - amd64 testers Message-ID: <20131208041243.GA65544@misty.eyesbeyond.com> References: <20131207064044.GA79133@misty.eyesbeyond.com> <20131207092231.GA51378@pcjas.obspm.fr> <20131207190545.GA87007@misty.eyesbeyond.com> <20131207193105.GA17749@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131207193105.GA17749@misty.eyesbeyond.com> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 04:12:47 -0000 On Sat, Dec 07, 2013 at 11:31:05AM -0800, Greg Lewis wrote: > On Sat, Dec 07, 2013 at 11:05:45AM -0800, Greg Lewis wrote: > > On Sat, Dec 07, 2013 at 10:22:31AM +0100, Albert Shih wrote: > > > Le 06/12/2013 ? 22:40:44-0800, Greg Lewis a ?crit > > > > Can someone please download > > > > > > > > http://people.freebsd.org/~glewis/openjdk7-7u45.diff > > > > > > > > and see if it compiles on amd64? If it does I'll go ahead and commit it. > > > > Already tested on i386 locally. > > > > > > No that's not compiles. > > > > > > On : > > > > > > 9.2-STABLE FreeBSD 9.2-STABLE #11 r258722: Thu Nov 28 23:37:54 CET 2013 > > > > > > kernel /usr/obj/usr/src/sys/GENERIC amd64 > > > > > > all ports is up2date. > > > > > > Here the logs. > > > > > > Thanks for your work. > > > > Thanks Albert. That actually looks like a 8.x vs. 9.x problem. It needs > > to be fixed regardless. > > > > On 8.x: > > > > typedef struct sem * sem_t; > > > > On 10.x (and presumably 9.x as well based on the error) > > > > typedef struct _sem sem_t; > > > > I think the solution is to vary the os_semaphore_t definition in os_bsd.cpp > > based on the FreeBSD version. Let me test compiling that on 8.x and I'll > > send it out. > > Actually, maybe it's as simple as this. Can someone give the following a > try on a 9.x machine? Preferably amd64 since I still want to make sure > we're ok there. > > diff -r 54995aa29dbb src/os/bsd/vm/os_bsd.cpp > --- a/src/os/bsd/vm/os_bsd.cpp Wed Dec 04 22:06:37 2013 -0800 > +++ b/src/os/bsd/vm/os_bsd.cpp Sat Dec 07 11:29:16 2013 -0800 > @@ -2755,7 +2755,11 @@ > os_semaphore_t _semaphore; > }; > > +#if defined(__FreeBSD__) && __FreeBSD__ > 8 > +Semaphore::Semaphore() : _semaphore() { > +#else > Semaphore::Semaphore() : _semaphore(0) { > +#endif > SEM_INIT(_semaphore, 0); > } > I got private confirmation that worked for 9-amd64 so I've committed it. Please let me know if you have any problems. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Dec 9 11:06:49 2013 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3195A1A6 for ; Mon, 9 Dec 2013 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 02E031E7D for ; Mon, 9 Dec 2013 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9B6mjr071051 for ; Mon, 9 Dec 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB9B6mtd071049 for freebsd-java@FreeBSD.org; Mon, 9 Dec 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Dec 2013 11:06:48 GMT Message-Id: <201312091106.rB9B6mtd071049@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/183767 java java/openjdk6: /usr/include/iconv.h:43:10: fatal error o java/183662 java OpenJDK 7 manual pages are misconfigured o java/183081 java java crash on machine with zfs kernel module o ports/182384 java java/linux-sun-jdk16 won't build with demos & samples o ports/181136 java java/icedtea-web not build o ports/180643 java java/openjdk6 build fails on amd64 -current o ports/178856 java java/openjdk6, java/openjdk7: Java fails to print when o ports/178728 java [UPDATE] devel/apache-ant to v1.9.0 o ports/178647 java java/openjdk6 does not build (without extra hack) o ports/177802 java Could not update openfire because of problem in java/o o ports/175300 java java/jamvm fails to compile on ARM6 (raspberry-pi) o ports/174825 java java/openjdk6: fails to build on i386 (64-bit mode not o ports/173603 java java/icedtea-web starts javaws incorrectly o ports/173592 java java/openjdk6 fails on FreeBSD_9_1_RC2 o ports/173210 java java/openjdk6 - use better src placement o java/172962 java Sig11 while compiling OpenJDK6-b26 using clang o ports/171014 java [patch] Correct java/openjdk6 Dependency Declaration o ports/167903 java [PATCH] java/openjdk6: Fix build failure in 8.3 jail r o ports/164941 java [UPDATE] [NEW PORTS] java/classpath-initial, including o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c f java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/140002 java java/openjdk6: jconsole dumps tomcat when contacting j o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to 32 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 9 11:07:13 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FEB24D1 for ; Mon, 9 Dec 2013 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 737491ECD for ; Mon, 9 Dec 2013 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9B7Dq8071544 for ; Mon, 9 Dec 2013 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB9B7DVD071542 for java@FreeBSD.org; Mon, 9 Dec 2013 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Dec 2013 11:07:13 GMT Message-Id: <201312091107.rB9B7DVD071542@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/184204 java Undefined symbol "libiconv_open" on startup for java/n 1 problem total. From owner-freebsd-java@FreeBSD.ORG Wed Dec 11 17:08:14 2013 Return-Path: Delivered-To: java@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88EA172A; Wed, 11 Dec 2013 17:08:14 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C180100A; Wed, 11 Dec 2013 17:08:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBBH8EoS037192; Wed, 11 Dec 2013 17:08:14 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBBH8Em6037191; Wed, 11 Dec 2013 17:08:14 GMT (envelope-from linimon) Date: Wed, 11 Dec 2013 17:08:14 GMT Message-Id: <201312111708.rBBH8Em6037191@freefall.freebsd.org> To: linimon@FreeBSD.org, java@FreeBSD.org, freebsd-java@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: ports/184204: Undefined symbol "libiconv_open" on startup for java/netbeans X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 17:08:14 -0000 Synopsis: Undefined symbol "libiconv_open" on startup for java/netbeans Responsible-Changed-From-To: java->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Wed Dec 11 17:08:04 UTC 2013 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=184204 From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 15:00:13 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D70077D for ; Fri, 13 Dec 2013 15:00:13 +0000 (UTC) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A7461033 for ; Fri, 13 Dec 2013 15:00:12 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id mc6so1466379lab.40 for ; Fri, 13 Dec 2013 07:00:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:message-id:date:to :mime-version; bh=DCWjTDhrwEmRFDfMvfFhyo0UjGzo3SCcUZyvxUR40cI=; b=eMyHKUFf/fRLkxeUX2lYcTpNMbnDseytDdeiAQKd/JJabAtuWMRhAFaUFZh2MtXflj KW1P/ttWh3WFieVdIgfmFpyzZq3i3OL51nIwKnSCOkGhPre59JmFYH3I26pGR+cmik7r T2FpsMh2swQWySHNmtFE9LNuAew2wfnvVKIwk9hwlkxbkMD1fp9PU2viGU7cUpmr4FUE V/CjS1L9XQqvycpxeytOVee0WYOzaGtA1JIYvufV8qfWrMi80Uvo6XmDpVJf6VBylUxQ wNrp/1k4pcMnYCdr/MhaYwI5JPewVlWDGiSvdjFubLlPps/d/l8qufe+NISxTqeu+R4m zbwg== X-Gm-Message-State: ALoCoQlKVq8ju7lf6ZrB0Kvh3IInEIiJVyICSgghF6+/7P7kdxZGUu1DlF/S/1uDaZf04hPqkPTJ X-Received: by 10.152.120.102 with SMTP id lb6mr1809142lab.37.1386946804526; Fri, 13 Dec 2013 07:00:04 -0800 (PST) Received: from [192.168.12.33] (broadband-188-255-110-3.nationalcablenetworks.ru. [188.255.110.3]) by mx.google.com with ESMTPSA id r10sm4946255lag.7.2013.12.13.07.00.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 07:00:03 -0800 (PST) From: Valentin Popov Subject: /usr/local/openjdk7/jre/lib/amd64/libnpt.so: Undefined symbol "libiconv_open" Message-Id: <364D8751-C0F2-49A9-B5D5-B9321C54395D@gmail.com> Date: Fri, 13 Dec 2013 19:00:02 +0400 To: freebsd-java@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 15:00:13 -0000 After upgrade openjdk7 to latest one (7.45.18 ) via portmaster, get a = problem with remote debugging.=20 When starting tomcat 7 with options = java_opts=3D"-Dversion=3Denterpriseedition -Xmx2048m -Xms256m = -XX:PermSize=3D128M -XX:MaxPermSize=3D256M -Xdebug = -Xrunjdwp:transport=3Ddt_socket,server=3Dy,address=3D8000"=20 get and error on catalina.out = "/usr/local/openjdk7/jre/lib/amd64/libnpt.so: Undefined symbol = "libiconv_open"" FreeBSD 9.1 AMD64. After downgrade to 7.9.05 version, remote debugging working.=20 Regards, Valentin Popov From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 20:02:58 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32841613 for ; Fri, 13 Dec 2013 20:02:58 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id D8D551765 for ; Fri, 13 Dec 2013 20:02:57 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=caPr8BzM c=1 sm=0 tr=0 a=fEl05wXzeJCkBz9gs2itqQ==:117 a=fEl05wXzeJCkBz9gs2itqQ==:17 a=K-v-2zaBAAAA:8 a=N1DYviGaBlcA:10 a=rwWR8M-SXMwA:10 a=YNqtyO0l_hcA:10 a=LaogzpLLAAAA:8 a=hBFbeQkNOwAA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=uLNmW0lR86XZhRP1oFYA:9 a=wPNLvfGTeEIA:10 a=5BlJD4dB-iLggilZ-rIA:9 a=VFrm-V2OJxTIJ8oJ:21 a=_W_S_7VecoQA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.63.29 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.63.29] ([209.6.63.29:26197] helo=utka.zajac) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id DC/C4-24449-0F76BA25; Fri, 13 Dec 2013 15:02:56 -0500 Message-ID: <52AB67F0.4030805@aldan.algebra.com> Date: Fri, 13 Dec 2013 15:02:56 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: java@FreeBSD.org Subject: java not starting without explicit maximum memory flag Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 20:02:58 -0000 Hello! I'm facing this problem on my 9.2/i386 box -- java (neither 1.7 nor 1.6) would even start, unless I explicitly provide the maximum memory flag (such as -mx). For example: % java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. with the flag -- even with very small limit -- the program starts: % java -mx2m -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK Server VM (build 23.21-b01, mixed mode) It is the same with the 1.6: % /opt/jdk1.6.0/bin/java -version Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine vs. % /opt/jdk1.6.0/bin/java -mx2m -version java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-mi_29_dec_2010_17_46-b00) Java HotSpot(TM) Server VM (build 1.6.0_03-p4-mi_29_dec_2010_17_46-b00, mixed mode) It is so bad, I can't even rebuild the JDK port because of this same problem. What's happening? Given that it affects both 1.6 and 1.7, I suspect, something is wrong with my system, but non-java apps seem fine. What can it be? Thanks! -mi From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 20:24:07 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id 95E5FB9F; Fri, 13 Dec 2013 20:24:07 +0000 (UTC) Message-ID: <52AB6CE7.30605@FreeBSD.org> Date: Fri, 13 Dec 2013 15:24:07 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Mikhail T." , java@FreeBSD.org Subject: Re: java not starting without explicit maximum memory flag References: <52AB67F0.4030805@aldan.algebra.com> In-Reply-To: <52AB67F0.4030805@aldan.algebra.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 20:24:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-12-13 15:02:56 -0500, Mikhail T. wrote: > Hello! > > I'm facing this problem on my 9.2/i386 box -- java (neither 1.7 nor > 1.6) would even start, unless I explicitly provide the maximum > memory flag (such as -mx). For example: > > % java -version Error occurred during initialization of VM Could > not reserve enough space for object heap Error: Could not create > the Java Virtual Machine. Error: A fatal exception has occurred. > Program will exit. > > with the flag -- even with very small limit -- the program starts: > > % java -mx2m -version openjdk version "1.7.0_25" OpenJDK Runtime > Environment (build 1.7.0_25-b15) OpenJDK Server VM (build > 23.21-b01, mixed mode) Please post your "sysctl hw.physmem hw.realmem hw.usermem" output. > It is the same with the 1.6: > > % /opt/jdk1.6.0/bin/java -version Error occurred during > initialization of VM Could not reserve enough space for object > heap Could not create the Java virtual machine > > vs. > > % /opt/jdk1.6.0/bin/java -mx2m -version java version "1.6.0_03-p4" > Java(TM) SE Runtime Environment (build > 1.6.0_03-p4-mi_29_dec_2010_17_46-b00) Java HotSpot(TM) Server VM > (build 1.6.0_03-p4-mi_29_dec_2010_17_46-b00, mixed mode) > > It is so bad, I can't even rebuild the JDK port because of this > same problem. What's happening? Given that it affects both 1.6 and > 1.7, I suspect, something is wrong with my system, but non-java > apps seem fine. What can it be? Thanks! FYI, this version is not supported any more. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSq2zmAAoJEHyflib82/FGlt0H/RAM5O19WYi+BWMINEcbk8qI rkJvDtmXqWdomJHeGgJ/0BPi6ilFL35vzMsopjvepnf1xaxmok5Cpj1jmDOOeNwA ZoywGeLG/7BcNFmSKkF1SNRgEFCRztRKeUbE8FG6S0Np/W0oOJIpv0zPiVOVoAlW x0olcQPrvfLcN7rS1igC/jtxI5Q/rztj8+YpN+tasOuemHmC35alxkksIWG1N0NB ed9SfzTjoC/Prlinr1biQsv4mJOG9N51wohULj0vNG51AvYn6QvA8inqri4bmbWF zV8sooedL20uk5n/tpiaBOM6uha474Ynbr4YvWPK5oudSUst3+Kpn+4n8iWc29o= =eJio -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 20:46:41 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B26525CA for ; Fri, 13 Dec 2013 20:46:41 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 72B911AF9 for ; Fri, 13 Dec 2013 20:46:41 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=PquqMW83 c=1 sm=0 tr=0 a=fEl05wXzeJCkBz9gs2itqQ==:117 a=N1DYviGaBlcA:10 a=nZF06FCg1C0A:10 a=YNqtyO0l_hcA:10 a=LaogzpLLAAAA:8 a=5ZVS6-6xq5cA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=qV-iNpoOMFVIKHUlO0YA:9 a=wPNLvfGTeEIA:10 a=A1Od37CrLOcA:10 a=HYkHd7gMwuAA:10 a=6I5d2MoRAAAA:8 a=dKQOCzhHOBN3YUGqiOUA:9 a=6fVhzjVqBu5mW76r:21 a=_W_S_7VecoQA:10 a=SV7veod9ZcQA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.63.29 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.63.29] ([209.6.63.29:11363] helo=utka.zajac) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id 8B/14-12147-F227BA25; Fri, 13 Dec 2013 15:46:40 -0500 Message-ID: <52AB722F.2050403@aldan.algebra.com> Date: Fri, 13 Dec 2013 15:46:39 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Jung-uk Kim , java@FreeBSD.org Subject: Re: java not starting without explicit maximum memory flag References: <52AB67F0.4030805@aldan.algebra.com> <52AB6CE7.30605@FreeBSD.org> In-Reply-To: <52AB6CE7.30605@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 20:46:41 -0000 On 13.12.2013 15:24, Jung-uk Kim wrote: > Please post your "sysctl hw.physmem hw.realmem hw.usermem" output. % sysctl hw.physmem hw.realmem hw.usermem hw.physmem: 3749085184 hw.realmem: 3758030848 hw.usermem: 3479511040 At boot the kernel reports: real memory = 3758030848 (3583 MB) avail memory = 3677876224 (3507 MB) Thanks! Yours, -mi From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 20:59:27 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AE6611F; Fri, 13 Dec 2013 20:59:27 +0000 (UTC) Received: from mircat.net (mircat.net [81.9.105.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC4FF1D19; Fri, 13 Dec 2013 20:59:26 +0000 (UTC) Received: from [192.168.0.77] (port=48890 helo=dooku.mircat.net) by mircat.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77) (envelope-from ) id 1VrZpN-000DJt-9X; Sat, 14 Dec 2013 00:59:17 +0400 Message-ID: <52AB7522.8040802@samersoff.net> Date: Sat, 14 Dec 2013 00:59:14 +0400 From: Dmitry Samersoff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "Mikhail T." , Jung-uk Kim , java@FreeBSD.org Subject: Re: java not starting without explicit maximum memory flag References: <52AB67F0.4030805@aldan.algebra.com> <52AB6CE7.30605@FreeBSD.org> <52AB722F.2050403@aldan.algebra.com> In-Reply-To: <52AB722F.2050403@aldan.algebra.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: dms@mircat.net X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 20:59:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mikhail, Please run: java -XX:+PrintGCDetails -version - -Dmitry On 2013-12-14 00:46, Mikhail T. wrote: > On 13.12.2013 15:24, Jung-uk Kim wrote: >> Please post your "sysctl hw.physmem hw.realmem hw.usermem" >> output. > > % sysctl hw.physmem hw.realmem hw.usermem hw.physmem: 3749085184 > hw.realmem: 3758030848 hw.usermem: 3479511040 > > At boot the kernel reports: > > real memory = 3758030848 (3583 MB) avail memory = 3677876224 (3507 > MB) > > Thanks! Yours, > > -mi > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java To > unsubscribe, send any mail to > "freebsd-java-unsubscribe@freebsd.org" > - -- Dmitry Samersoff Saint Petersburg, Russia, http://devnull.samersoff.net * There will come soft rains ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSq3UiAAoJEHEy08c4gIABWh4H/3JY6W1V+Klkgs2Zm8QEHxGg AsyL3VB5cvwLuhegIFk3LaywLPk75odISMNie3orX+FQRqEBanuRJsXIjPuVzSC7 GvX8wsXKYIQYJFNezXlk/a5jIbPqTT/BmBbRe05dwF8iixdzYWSzPlhdbJe4IM3z cmvd10dRQAMwI99aXh657wD4EcturKBcldK0oSvylbcX0DnmrzSZMPOk1mWSiqjx H73s6CA4yGhGdoz/q69dmJns0bYCkHKTS+N8bRmUDuVz2ljrb6cnQsS/B2p2JTFy Oifzr7K1kIpcToVusH7oSkx7ctTyO+bI+95QBwf7q/lZdTfaAY4x0GuITN5Kj18= =oZmP -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 21:03:39 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 885E5306 for ; Fri, 13 Dec 2013 21:03:39 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 46C611DA6 for ; Fri, 13 Dec 2013 21:03:39 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=PquqMW83 c=1 sm=0 tr=0 a=fEl05wXzeJCkBz9gs2itqQ==:117 a=N1DYviGaBlcA:10 a=nZF06FCg1C0A:10 a=YNqtyO0l_hcA:10 a=LaogzpLLAAAA:8 a=5ZVS6-6xq5cA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=Ue7fQ1K8x9vUulfZ_48A:9 a=wPNLvfGTeEIA:10 a=6I5d2MoRAAAA:8 a=E_SVR7UhAAAA:8 a=JzkrVNJdh7pZ5ql3wcgA:9 a=cwjiTyHaUAw5GZtI:21 a=_W_S_7VecoQA:10 a=SV7veod9ZcQA:10 a=KmxgzEMZt1kA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.63.29 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [209.6.63.29] ([209.6.63.29:15347] helo=utka.zajac) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id 49/B8-12147-8267BA25; Fri, 13 Dec 2013 16:03:37 -0500 Message-ID: <52AB7628.8050103@aldan.algebra.com> Date: Fri, 13 Dec 2013 16:03:36 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Dmitry Samersoff , Jung-uk Kim Subject: Re: java not starting without explicit maximum memory flag References: <52AB67F0.4030805@aldan.algebra.com> <52AB6CE7.30605@FreeBSD.org> <52AB722F.2050403@aldan.algebra.com> <52AB7522.8040802@samersoff.net> In-Reply-To: <52AB7522.8040802@samersoff.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 21:03:39 -0000 On 13.12.2013 15:53, Jung-uk Kim wrote: > Hmm... Looks fine. Have you tried java/openjdk6? Can't build it -- neither java nor jar would start :-( On 13.12.2013 15:59, Dmitry Samersoff wrote: > java -XX:+PrintGCDetails -version > Well, had to insert the -mx2m into that command line, but here is the output: % java -mx2m -XX:+PrintGCDetails -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK Server VM (build 23.21-b01, mixed mode) Heap PSYoungGen total 1792K, used 295K [0x90490000, 0x90690000, 0x90690000) eden space 1536K, 19% used [0x90490000,0x904d9d58,0x90610000) from space 256K, 0% used [0x90650000,0x90650000,0x90690000) to space 256K, 0% used [0x90610000,0x90610000,0x90650000) ParOldGen total 1024K, used 0K [0x90090000, 0x90190000, 0x90490000) object space 1024K, 0% used [0x90090000,0x90090000,0x90190000) PSPermGen total 16384K, used 1436K [0x8c090000, 0x8d090000, 0x90090000) object space 16384K, 8% used [0x8c090000,0x8c1f73f8,0x8d090000) Thanks! Yours, -mi From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 21:28:51 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2371E03; Fri, 13 Dec 2013 21:28:50 +0000 (UTC) Received: from mircat.net (mircat.net [81.9.105.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D06B1F4D; Fri, 13 Dec 2013 21:28:50 +0000 (UTC) Received: from [192.168.0.77] (port=49079 helo=dooku.mircat.net) by mircat.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77) (envelope-from ) id 1VraHw-000DSv-QX; Sat, 14 Dec 2013 01:28:48 +0400 Message-ID: <52AB7C0D.1060207@samersoff.net> Date: Sat, 14 Dec 2013 01:28:45 +0400 From: Dmitry Samersoff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "Mikhail T." , Jung-uk Kim Subject: Re: java not starting without explicit maximum memory flag References: <52AB67F0.4030805@aldan.algebra.com> <52AB6CE7.30605@FreeBSD.org> <52AB722F.2050403@aldan.algebra.com> <52AB7522.8040802@samersoff.net> <52AB7628.8050103@aldan.algebra.com> In-Reply-To: <52AB7628.8050103@aldan.algebra.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: dms@mircat.net Cc: java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 21:28:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mikhail, Java internal ergonomics incorrectly determine physmem and tries to allocate too large heap. Unfortunately, there is no good workaround. Try to create a file called java like one below #!/bin/sh /bin/java -mx2m $* and make sure /bin is not in your path. - -Dmitry On 2013-12-14 01:03, Mikhail T. wrote: > On 13.12.2013 15:53, Jung-uk Kim wrote: >> Hmm... Looks fine. Have you tried java/openjdk6? > Can't build it -- neither java nor jar would start :-( > > On 13.12.2013 15:59, Dmitry Samersoff wrote: >> java -XX:+PrintGCDetails -version >> > Well, had to insert the -mx2m into that command line, but here is > the output: > > % java -mx2m -XX:+PrintGCDetails -version openjdk version > "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK > Server VM (build 23.21-b01, mixed mode) Heap PSYoungGen total > 1792K, used 295K [0x90490000, 0x90690000, 0x90690000) eden space > 1536K, 19% used [0x90490000,0x904d9d58,0x90610000) from space 256K, > 0% used [0x90650000,0x90650000,0x90690000) to space 256K, 0% used > [0x90610000,0x90610000,0x90650000) ParOldGen total 1024K, > used 0K [0x90090000, 0x90190000, 0x90490000) object space 1024K, 0% > used [0x90090000,0x90090000,0x90190000) PSPermGen total > 16384K, used 1436K [0x8c090000, 0x8d090000, 0x90090000) object > space 16384K, 8% used [0x8c090000,0x8c1f73f8,0x8d090000) > > Thanks! Yours, > > -mi > - -- Dmitry Samersoff Saint Petersburg, Russia, http://devnull.samersoff.net * There will come soft rains ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSq3wNAAoJEHEy08c4gIABLM8H/ixN5UCy6SsIVT5aYUlENgzF uCkGyzPTeHu7h4iW+LiqPlNltnsc1/hBc4121sjJDl9oe9Y1CiTC3sbdX+rrFPhz p4np0aIwViF2VMyxCgmiyG/mM0HfV/ZrrOsslCBNF+yOzdV6rFEChOuZHyj6uffG Gan8YuHKVWeCXGxjyfd0VsXBN6rYDNCyAijLATHuyvrLGXxQyMkvId1jOJaRmtBv WTQkxUtbjZ40XMsKc01/LwQyLEtxjXbXq1O8LkeQHUwREmq+V3ZB62B1YJsKT2ln moW5QBUr7PijbgMMMQczRJl51vhv4IZwGfBDPImi1Xwsjc6/83VmS8DQneAxLvw= =X3qZ -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 23:21:59 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB8A09AD for ; Fri, 13 Dec 2013 23:21:59 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 82B251903 for ; Fri, 13 Dec 2013 23:21:59 +0000 (UTC) Received: from nb981.math (p57AEE6B3.dip0.t-ipconnect.de [87.174.230.179]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MPGl6-1Vvzld1Pyi-005322; Sat, 14 Dec 2013 00:21:57 +0100 Message-ID: <52AB9695.9040506@janh.de> Date: Sat, 14 Dec 2013 00:21:57 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: java-list freebsd Subject: openjdk7 fails to build openjdk7 (on 10.0) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:ZFS1mtNcNZpI+DQfJAKA3vk/oigTVQARXD29loGuXZK qoiM0Sl3HKHEtTfi7sSwjdvou2gyc8klejylazmM8Y+gZBZVZi peEY1B4zrI79x35gMPlsYarpHP3X/sy2Zl80jWBeIfj7AmdeO2 rvQx09djXNbCp+VfsVIK75WIyb5dBbOr/qSaCIBxiNjEEiv3T3 dvRSAsGSm/w0EoA3WIIxKmYM7YZYwT+G+vkgp0IlSpIbNerOW2 PeVYQUwwhc54PupuVBmR/tMs+lGuu+utdtDssHGLzkBThrA7BX dpqZpGIhTgRY7wOh5xbuabZifyohwc42iwWkBe8gBOSHLAK/w= = X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 23:22:00 -0000 Trying to update openjdk7 via portmaster on 10.0-RC1/amd64, I got a build failure. Building openjdk7 with bootstrap-openjdk works (after deleting openjdk7). Now that I have the latest openjdk7 installed (7.45.18) and bootstrap-openjdk removed again, building openjdk7 fails again, for example with this: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000002daaa365, pid=14901, tid=784661504 # # JRE version: OpenJDK Runtime Environment (7.0-b18) (build 1.7.0_45-b18) # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode bsd-amd64 compressed oops) # Problematic frame: # V [libjvm.so+0x6aa365] JVM_FindSignal+0xbbd15 # # Core dump written. Default location: /cores/core or core.14901 # # An error report file with more information is saved as: # /usr/ports/java/openjdk7/work/openjdk/langtools/make/hs_err_pid14901.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp It is not consistent where the build fails, but it always happens very early. Is openjdk7 corrupted or is compiling openjdk7 only supported with bootstrap-openjdk? Thanks, Jan Henrik From owner-freebsd-java@FreeBSD.ORG Fri Dec 13 23:33:34 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id AAF0938D; Fri, 13 Dec 2013 23:33:34 +0000 (UTC) Message-ID: <52AB994E.9000205@FreeBSD.org> Date: Fri, 13 Dec 2013 18:33:34 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Jan Henrik Sylvester , freebsd-java@freebsd.org Subject: Re: openjdk7 fails to build openjdk7 (on 10.0) References: <52AB9695.9040506@janh.de> In-Reply-To: <52AB9695.9040506@janh.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 23:33:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-12-13 18:21:57 -0500, Jan Henrik Sylvester wrote: > Trying to update openjdk7 via portmaster on 10.0-RC1/amd64, I got > a build failure. > > Building openjdk7 with bootstrap-openjdk works (after deleting > openjdk7). > > Now that I have the latest openjdk7 installed (7.45.18) and > bootstrap-openjdk removed again, building openjdk7 fails again, > for example with this: ... > It is not consistent where the build fails, but it always happens > very early. > > Is openjdk7 corrupted or is compiling openjdk7 only supported with > bootstrap-openjdk? AFAICT, recent HotSpot releases (for both 6 and 7) are little unstable for us. Usually bootstrap-openjdk has no problem because I turned off JIT compiler by default. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSq5lOAAoJEHyflib82/FG7YcIAJ9MRBkI20nuH/yt7NxOMSZq YMeDhM4SS/1au0gs2eOPbJ9WdOhG188KraQ6lcKJBBxN6Q9uoCmForeUwtsG7hEV 78T9iRwia9hoJJU6JAo5C90YL6iQOiBOn8dBGgRgsB4ekKQuOdHmEa8M+1W62iyz PT7tRKvsCjbYADPvFxsa6+NJce4fQEFfrStUHgpbjnRotBZKrkDsfuk44UFdSK03 trAxuYceH3LRkiAtfPkmxlIInluY095PkvD2MwDjGlnKF5+6oJyMSGpXK9FRBhvx zDn392dbSnpuqew7J9Cz7csmnyyIAOkLULxJHYvINAVrKCyCCcUrpAcR1/DLjIc= =pj3U -----END PGP SIGNATURE-----