Hi all, I'm a newbie in openJDK. I want to know whether there is any NetBSD 3.0 port of openJDK? Thanks in advance Renju
Hi, Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin package in pkgsrc, but not for earlier releases (although I probably should build a NetBSD-4 version, since that's still an officially supported release train). I'd expect openjdk to just build on NetBSD-3, see http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto for a recipy. Once you scrub your environment(*) it's fairly straightforward, it just takes a while to build. The patch I needed for the openjdk version I put onto ftp.NetBSD.org has since been integrated, so that one isn't necessary any more; but as lots of new code has been added, too, there's chance of entirely new fun to be had. :-P regards, spz (*) variables like eg $BIN get used as conditional, and the script that sets them as a "yes" indicator doesn't unset them as a "no" indicator, so if you already had them set because you use them differently, you get surprising results. If I had lots more time I'd want to hunt them all down. -- spz@serpens.de (S.P.Zeidler)
Hi, Thanks for your reply. As you described in http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto I could install mercurial successfully. But I'm confused about the second step(- install forest.py). Could you please tell how I can install "forest.py"? I am using a NetBSD 3.1 i386 machine. Please help. Thank and regards Renju -----Original Message----- From: S.P.Zeidler [mailto:spz@serpens.de] Sent: Friday, May 29, 2009 12:19 PM To: Renju Mathew Cc: bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ? Hi, Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin package in pkgsrc, but not for earlier releases (although I probably should build a NetBSD-4 version, since that's still an officially supported release train). I'd expect openjdk to just build on NetBSD-3, see http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto for a recipy. Once you scrub your environment(*) it's fairly straightforward, it just takes a while to build. The patch I needed for the openjdk version I put onto ftp.NetBSD.org has since been integrated, so that one isn't necessary any more; but as lots of new code has been added, too, there's chance of entirely new fun to be had. :-P regards, spz (*) variables like eg $BIN get used as conditional, and the script that sets them as a "yes" indicator doesn't unset them as a "no" indicator, so if you already had them set because you use them differently, you get surprising results. If I had lots more time I'd want to hunt them all down. -- spz@serpens.de (S.P.Zeidler)
See: http://www.selenic.com/mercurial/wiki/ForestExtension Renju Mathew wrote:
Hi, Thanks for your reply. As you described in http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto I could install mercurial successfully. But I'm confused about the second step(- install forest.py). Could you please tell how I can install "forest.py"? I am using a NetBSD 3.1 i386 machine. Please help.
Thank and regards Renju
-----Original Message----- From: S.P.Zeidler [mailto:spz@serpens.de] Sent: Friday, May 29, 2009 12:19 PM To: Renju Mathew Cc: bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ?
Hi,
Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin package in pkgsrc, but not for earlier releases (although I probably should build a NetBSD-4 version, since that's still an officially supported release train).
I'd expect openjdk to just build on NetBSD-3, see http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto for a recipy. Once you scrub your environment(*) it's fairly straightforward, it just takes a while to build.
The patch I needed for the openjdk version I put onto ftp.NetBSD.org has since been integrated, so that one isn't necessary any more; but as lots of new code has been added, too, there's chance of entirely new fun to be had. :-P
regards, spz
(*) variables like eg $BIN get used as conditional, and the script that sets them as a "yes" indicator doesn't unset them as a "no" indicator, so if you already had them set because you use them differently, you get surprising results. If I had lots more time I'd want to hunt them all down.
Hi Thanks for all your support. As of the instructions given in http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto <http://ftp.netbsd.org/pub/NetBSD/misc/spz/openjdk/openjdk7-howto> , I completed all the pre-install steps successfully. But as I gave gmake it exited with the following error: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (nmethod.cpp:1836), pid=1012, tid=49190 # Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code") # # JRE version: 6.0_14-b08 # Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing linux-x86 ) # An error report file with more information is saved as: # /teles/rema/jdk/bsd-port/langtools/make/hs_err_pid1012.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # I Installed "lang/sun-jdk6" from pkgsrc. And I'm working on a NetBSD 3.1 i386 machine... Regards, Renju -----Original Message----- From: S.P.Zeidler [mailto:spz@serpens.de] Sent: Friday, May 29, 2009 12:19 PM To: Renju Mathew Cc: bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ? Hi, Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin package in pkgsrc, but not for earlier releases (although I probably should build a NetBSD-4 version, since that's still an officially supported release train). I'd expect openjdk to just build on NetBSD-3, see http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto for a recipy. Once you scrub your environment(*) it's fairly straightforward, it just takes a while to build. The patch I needed for the openjdk version I put onto ftp.NetBSD.org has since been integrated, so that one isn't necessary any more; but as lots of new code has been added, too, there's chance of entirely new fun to be had. :-P regards, spz (*) variables like eg $BIN get used as conditional, and the script that sets them as a "yes" indicator doesn't unset them as a "no" indicator, so if you already had them set because you use them differently, you get surprising results. If I had lots more time I'd want to hunt them all down. -- spz@serpens.de (S.P.Zeidler)
Renju, I guess something wrong with your bootstrap JDK. Message below actually contains no information: this error appears when JVM signal handler receive a SIGSEGV and source of signal is not legitimate. -Dmitry Renju Mathew wrote:
Hi
Thanks for all your support.
As of the instructions given in http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto <http://ftp.netbsd.org/pub/NetBSD/misc/spz/openjdk/openjdk7-howto>, I completed all the pre-install steps successfully.
But as I gave gmake it exited with the following error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (nmethod.cpp:1836), pid=1012, tid=49190
# Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code")
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# An error report file with more information is saved as:
# /teles/rema/jdk/bsd-port/langtools/make/hs_err_pid1012.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
I Installed “lang/sun-jdk6” from pkgsrc. And I’m working on a NetBSD 3.1 i386 machine…
Regards,
Renju
-----Original Message----- From: S.P.Zeidler [mailto:spz@serpens.de] Sent: Friday, May 29, 2009 12:19 PM To: Renju Mathew Cc: bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ?
Hi,
Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin
package in pkgsrc, but not for earlier releases (although I probably
should build a NetBSD-4 version, since that's still an officially
supported release train).
I'd expect openjdk to just build on NetBSD-3, see
http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto
for a recipy. Once you scrub your environment(*) it's fairly
straightforward, it just takes a while to build.
The patch I needed for the openjdk version I put onto ftp.NetBSD.org has
since been integrated, so that one isn't necessary any more; but as lots of
new code has been added, too, there's chance of entirely new fun to be had.
:-P
regards,
spz
(*) variables like eg $BIN get used as conditional, and the script that
sets them as a "yes" indicator doesn't unset them as a "no" indicator, so
if you already had them set because you use them differently, you get
surprising results. If I had lots more time I'd want to hunt them all down.
--
spz@serpens.de (S.P.Zeidler)
------------------------------------------------------------------------
-- Dmitry Samersoff dms@samersoff.net, http://devnull.samersoff.net * There will come soft rains ...
Hi Thanks for all the support. I was able to move a little further in the OpenJDK compilation on NetBSD3.1 But Now I am facing a new problem. As I continue with the compilation it ended up with the following error. g++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -DPRODUCT -I../generated/adfiles -I../generated/jvmtifiles -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/asm -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/c1 -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/ci -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/classfile -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/code -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/compiler -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion/concurrentMarkSweep -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion/g1 -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion/parNew -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion/parallelScavenge -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_implementat ion/shared -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/gc_interface -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/interpreter -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/libadt -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/memory -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/oops -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/opto -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/prims -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/runtime -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/services -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/share/vm/utilities -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/cpu/x86/vm -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/os/bsd/vm -I/teles/rema/jdk/1stMethod/bsd-port/hotspot/src/os_cpu/bsd_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"16.0-b04\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"admin\"" -DHOTSPOT_LIB_ARCH=\"i386\" -DJRE_RELEASE_VERSION="\"1.7.0-internal-admin_2009_07_08_14_48-b00\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith -Wconversion -Wsign-compare -c -o attachListener_bsd.o /teles/rema/jdk/1stMethod/bsd-port/hotspot/src/os/bsd/vm/attachListener_ bsd.cpp /teles/rema/jdk/1stMethod/bsd-port/hotspot/src/os/bsd/vm/attachListener_ bsd.cpp: In static member function `static BsdAttachOperation* BsdAttachListener::dequeue()': /teles/rema/jdk/1stMethod/bsd-port/hotspot/src/os/bsd/vm/attachListener_ bsd.cpp:323: error: `:: getpeereid' undeclared (first use here) gmake[6]: *** [attachListener_bsd.o] Error 1 gmake[6]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd _i486_compiler2/product' gmake[5]: *** [the_vm] Error 2 gmake[5]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd _i486_compiler2/product' gmake[4]: *** [product] Error 2 gmake[4]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir' gmake[3]: *** [generic_build2] Error 2 gmake[3]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make' gmake[2]: *** [product] Error 2 gmake[2]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make' gmake[1]: *** [hotspot-build] Error 2 gmake[1]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port' gmake: *** [build_product_image] Error 2 Anybody has the similar experience??.. Regards Renju -----Original Message----- From: bsd-port-dev-bounces@openjdk.java.net [mailto:bsd-port-dev-bounces@openjdk.java.net] On Behalf Of Renju Mathew Sent: Monday, June 15, 2009 7:23 PM To: S.P.Zeidler Cc: bsd-port-dev@openjdk.java.net Subject: RE: netbsd port ? Hi Thanks for all your support. As of the instructions given in http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto <http://ftp.netbsd.org/pub/NetBSD/misc/spz/openjdk/openjdk7-howto> , I completed all the pre-install steps successfully. But as I gave gmake it exited with the following error: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (nmethod.cpp:1836), pid=1012, tid=49190 # Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code") # # JRE version: 6.0_14-b08 # Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing linux-x86 ) # An error report file with more information is saved as: # /teles/rema/jdk/bsd-port/langtools/make/hs_err_pid1012.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # I Installed "lang/sun-jdk6" from pkgsrc. And I'm working on a NetBSD 3.1 i386 machine... Regards, Renju -----Original Message----- From: S.P.Zeidler [mailto:spz@serpens.de] Sent: Friday, May 29, 2009 12:19 PM To: Renju Mathew Cc: bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ? Hi, Thus wrote Renju Mathew (m.renju@teles.com):
I'm a newbie in openJDK.
I want to know whether there is any NetBSD 3.0 port of openJDK?
I built binaries for NetBSD 5.0 that are available via the openjdk-bin package in pkgsrc, but not for earlier releases (although I probably should build a NetBSD-4 version, since that's still an officially supported release train). I'd expect openjdk to just build on NetBSD-3, see http://ftp.netbsd.org:/pub/NetBSD/misc/spz/openjdk/openjdk7-howto for a recipy. Once you scrub your environment(*) it's fairly straightforward, it just takes a while to build. The patch I needed for the openjdk version I put onto ftp.NetBSD.org has since been integrated, so that one isn't necessary any more; but as lots of new code has been added, too, there's chance of entirely new fun to be had. :-P regards, spz (*) variables like eg $BIN get used as conditional, and the script that sets them as a "yes" indicator doesn't unset them as a "no" indicator, so if you already had them set because you use them differently, you get surprising results. If I had lots more time I'd want to hunt them all down. -- spz@serpens.de (S.P.Zeidler)
On Jul 8, 5:39pm, m.renju@teles.com ("Renju Mathew") wrote: -- Subject: RE: netbsd port ? | Hi | | Thanks for all the support. I was able to move a little further in the | OpenJDK compilation on NetBSD3.1 | | But Now I am facing a new problem. As I continue with the compilation it | ended up with the following error. NetBSD does not have getpeereid(), use the following implementation from openssh: #if defined(SO_PEERCRED) int getpeereid(int s, uid_t *euid, gid_t *gid) { struct ucred cred; socklen_t len = sizeof(cred); if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) < 0) return (-1); *euid = cred.uid; *gid = cred.gid; return (0); } #else int getpeereid(int s, uid_t *euid, gid_t *gid) { *euid = geteuid(); *gid = getgid(); return (0); } #endif /* defined(SO_PEERCRED) */
Hi Thanks you very much. It worked. But after all the compilation I got the following error All done. gmake[6]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd _i486_compiler2/product' cd bsd_i486_compiler2/product && ./test_gamma java full version "1.6.0_14-b08" [1] Segmentation fault (core dumped) ./${gamma:-gamma... gmake[5]: *** [product] Error 139 gmake[5]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir' gmake[4]: *** [generic_build2] Error 2 gmake[4]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make' gmake[3]: *** [product] Error 2 gmake[3]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make' gmake[2]: *** [hotspot-build] Error 2 gmake[2]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port' gmake[1]: *** [build_product_image] Error 2 gmake[1]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port' gmake: *** [dev-build] Error 2 Please, advise. Thanks! Renju
-----Original Message-----
From: Christos Zoulas [mailto:christos@zoulas.com]
Sent: Wednesday, July 08, 2009 5:44 PM
To: Renju Mathew; S.P.Zeidler
Cc: bsd-port-dev@openjdk.java.net
Subject: RE: netbsd port ?
On Jul 8, 5:39pm, m.renju@teles.com ("Renju Mathew") wrote:
-- Subject: RE: netbsd port ?
| Hi
|
| Thanks for all the support. I was able to move a little further in
the
| OpenJDK compilation on NetBSD3.1
|
| But Now I am facing a new problem. As I continue with the compilation
it
| ended up with the following error.
NetBSD does not have getpeereid(), use the following implementation
from
openssh:
#if defined(SO_PEERCRED)
int
getpeereid(int s, uid_t *euid, gid_t *gid)
{
struct ucred cred;
socklen_t len = sizeof(cred);
if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) <
0)
return (-1);
*euid = cred.uid;
*gid = cred.gid;
return (0);
}
#else
int
getpeereid(int s, uid_t *euid, gid_t *gid)
{
*euid = geteuid();
*gid = getgid();
return (0);
}
#endif /* defined(SO_PEERCRED) */
Renju Mathew wrote:
gmake[6]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product'
cd bsd_i486_compiler2/product && ./test_gamma
java full version "1.6.0_14-b08"
[1] Segmentation fault (core dumped) ./${gamma:-gamma...
gmake[5]: *** [product] Error 139
gmake[5]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir'
gmake[4]: *** [generic_build2] Error 2
gmake[4]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make'
gmake[3]: *** [product] Error 2
gmake[3]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port/hotspot/make'
gmake[2]: *** [hotspot-build] Error 2
gmake[2]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port'
gmake[1]: *** [build_product_image] Error 2
gmake[1]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port'
gmake: *** [dev-build] Error 2
Please, advise. Thanks!
Can you debug the core file? Or try a debug build, maybe an assert triggers. -- Christian
On Jul 9, 4:02pm, m.renju@teles.com ("Renju Mathew") wrote: -- Subject: RE: netbsd port ? | Hi=20 | | =20 | | Thanks you very much. It worked. | | But after all the compilation I got the following error | | =20 | | All done. | | gmake[6]: Leaving directory | `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-i586/hotspot/outputdir/bsd | _i486_compiler2/product' | | cd bsd_i486_compiler2/product && ./test_gamma | | java full version "1.6.0_14-b08" | | [1] Segmentation fault (core dumped) ./${gamma:-gamma... Run it manually and use gdb to give us a backtrace. christos
Hi gdb gives the following gdb ./gamma -c ./gamma.core GNU gdb 5.3nb1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386--netbsdelf"... Core was generated by `gamma'. Program terminated with signal 11, Segmentation fault. Reading symbols from ./libjvm.so...done. Loaded symbols for ./libjvm.so Reading symbols from /usr/lib/libm387.so.0...done. Loaded symbols for /usr/lib/libm387.so.0 Reading symbols from /usr/lib/libm.so.0...done. Loaded symbols for /usr/lib/libm.so.0 Reading symbols from /usr/lib/libpthread.so.0...done. Loaded symbols for /usr/lib/libpthread.so.0 Reading symbols from /usr/lib/libc.so.12...done. Loaded symbols for /usr/lib/libc.so.12 Reading symbols from /usr/lib/libgcc_s.so.1...done. Loaded symbols for /usr/lib/libgcc_s.so.1 Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /usr/pkg/java/sun-6/jre/lib/i386/libverify.so...done. Loaded symbols for /usr/pkg/java/sun-6/jre/lib/i386/libverify.so Reading symbols from /usr/lib/libc.so.6...done. Loaded symbols for /usr/lib/libc.so.6 Reading symbols from /usr/lib/ld-linux.so.2...done. Loaded symbols for /usr/lib/ld-linux.so.2 Reading symbols from /usr/libexec/ld.elf_so...done. Loaded symbols for /usr/libexec/ld.elf_so #0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6 Regards, Renju
-----Original Message-----
From: Christos Zoulas [mailto:christos@zoulas.com]
Sent: Thursday, July 09, 2009 5:53 PM
To: Renju Mathew; S.P.Zeidler
Cc: bsd-port-dev@openjdk.java.net
Subject: RE: netbsd port ?
On Jul 9, 4:02pm, m.renju@teles.com ("Renju Mathew") wrote:
-- Subject: RE: netbsd port ?
| Hi=20
|
| =20
|
| Thanks you very much. It worked.
|
| But after all the compilation I got the following error
|
| =20
|
| All done.
|
| gmake[6]: Leaving directory
| `/teles/rema/jdk/1stMethod/bsd-port/build/bsd-
i586/hotspot/outputdir/bsd
| _i486_compiler2/product'
|
| cd bsd_i486_compiler2/product && ./test_gamma
|
| java full version "1.6.0_14-b08"
|
| [1] Segmentation fault (core dumped) ./${gamma:-gamma...
Run it manually and use gdb to give us a backtrace.
christos
Hi Here is the backtrace (gdb) bt #0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6 #1 0xd550b87a in ?? () #2 0x7cdd02fd in init () from /usr/lib/libc.so.6 Renju..
-----Original Message----- From: Christian.Thalinger@Sun.COM [mailto:Christian.Thalinger@Sun.COM] Sent: Thursday, July 09, 2009 7:41 PM To: Renju Mathew Cc: Christos Zoulas; S.P.Zeidler; bsd-port-dev@openjdk.java.net Subject: Re: netbsd port ?
Renju Mathew wrote:
gdb gives the following
<snip>
#0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6
And a "backtrace"?
-- Christian
Renju Mathew wrote:
Hi
Here is the backtrace
(gdb) bt #0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6 #1 0xd550b87a in ?? () #2 0x7cdd02fd in init () from /usr/lib/libc.so.6
I think it would be good to have a debug build. Please build again with: $ make debug_build -- Christian
On Jul 9, 8:27pm, m.renju@teles.com ("Renju Mathew") wrote: -- Subject: RE: netbsd port ? | Hi=20 | | Here is the backtrace | | (gdb) bt | #0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6 | #1 0xd550b87a in ?? () | #2 0x7cdd02fd in init () from /usr/lib/libc.so.6 | | Renju.. Unfortunately this does not provide enough information, you'll need to build a gamma binary with symbols (cc -g). christos
On Jul 9, 7:28pm, m.renju@teles.com ("Renju Mathew") wrote: -- Subject: RE: netbsd port ? | Hi=20 | | =20 | | gdb gives the following=20 | | =20 | | gdb ./gamma -c ./gamma.core | | GNU gdb 5.3nb1 | | Copyright 2002 Free Software Foundation, Inc. | | GDB is free software, covered by the GNU General Public License, and you | are | | welcome to change it and/or distribute copies of it under certain | conditions. | | Type "show copying" to see the conditions. | | There is absolutely no warranty for GDB. Type "show warranty" for | details. | | This GDB was configured as "i386--netbsdelf"... | | Core was generated by `gamma'. | | Program terminated with signal 11, Segmentation fault. | | Reading symbols from ./libjvm.so...done. | | Loaded symbols for ./libjvm.so | | Reading symbols from /usr/lib/libm387.so.0...done. | | Loaded symbols for /usr/lib/libm387.so.0 | | Reading symbols from /usr/lib/libm.so.0...done. | | Loaded symbols for /usr/lib/libm.so.0 | | Reading symbols from /usr/lib/libpthread.so.0...done. | | Loaded symbols for /usr/lib/libpthread.so.0 | | Reading symbols from /usr/lib/libc.so.12...done. | | Loaded symbols for /usr/lib/libc.so.12 | | Reading symbols from /usr/lib/libgcc_s.so.1...done. | | Loaded symbols for /usr/lib/libgcc_s.so.1 | | Reading symbols from /usr/lib/libstdc++.so.5...done. | | Loaded symbols for /usr/lib/libstdc++.so.5 | | Reading symbols from | /usr/pkg/java/sun-6/jre/lib/i386/libverify.so...done. | | Loaded symbols for /usr/pkg/java/sun-6/jre/lib/i386/libverify.so | | Reading symbols from /usr/lib/libc.so.6...done. | | Loaded symbols for /usr/lib/libc.so.6 | | Reading symbols from /usr/lib/ld-linux.so.2...done. | | Loaded symbols for /usr/lib/ld-linux.so.2 | | Reading symbols from /usr/libexec/ld.elf_so...done. | | Loaded symbols for /usr/libexec/ld.elf_so | | #0 0x7ce25b12 in strrchr () from /usr/lib/libc.so.6 | What's the rest of the backtrace? Can you type "where" at the gdb command line. That it is dying in strrchr is encouraging. christos
participants (6)
-
Christian Thalinger
-
christos@zoulas.com
-
Dmitry Samersoff
-
Kurt Miller
-
Renju Mathew
-
S.P.Zeidler