From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 10:43:44 2003 Return-Path: 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 0832B16A4B3 for ; Thu, 23 Oct 2003 10:43:44 -0700 (PDT) Received: from mwinf0603.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0F4643FBD for ; Thu, 23 Oct 2003 10:43:42 -0700 (PDT) (envelope-from nouvelles.fraiches@free.fr) Received: from hplinux (AMarseille-107-1-12-252.w81-51.abo.wanadoo.fr [81.51.19.252]) by mwinf0603.wanadoo.fr (SMTP Server) with SMTP id 4F7702400160; Thu, 23 Oct 2003 19:43:41 +0200 (CEST) Date: Thu, 23 Oct 2003 19:59:05 +0200 From: Thomas Girard To: netbsd-java@NetBSD.org Message-Id: <20031023195905.6b2e861b.nouvelles.fraiches@free.fr> X-Mailer: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: current-users@NetBSD.org cc: freebsd-java@FreeBSD.org Subject: jdk1.4.1 patchset 4 and NetBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 17:43:44 -0000 Hello all, as reported here: http://www.netbsd.org/Changes/#j2sdk-141 the fourth patchset includes support for NetBSD-current on i386. I must do something wrong because I can't compile it under my NetBSD/i386 1.6ZD. I've followed the instructions given in the BUILD file, including setenv DEV_ONLY YES , and typed 'ulimit -d unlimited' before starting. Please note that I'm compiling on an ext2 (tuned without any option) partition. * The sanity check reads: Build Machine Information: build machine = Build Directory Structure: CWD = /emul/linux/home/j2/control/make TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control GENERICS_TOPDIR = ./../../generics HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se MOTIF_TOPDIR = ./../../motif COBUNDLE_TOPDIR = ./../../cobundle Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: BOOTDIR = /usr/pkg/java/sun-1.4 BOOTSTRAP J2SDK VERSION: 1.4.2_01 OUTPUTDIR = /emul/linux/home/j2/control/build/bsd-i586 Build Tool Settings: UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/pkg/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/X11R6 CC_VER = gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = YES J2RE_ONLY = NO_DOCS = NO_IMAGES = TOOLS_ONLY = true INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 1.6ZD FREE_SPACE = 5164336 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.4.1 MILESTONE = p4 BUILD_NUMBER = root_23_oct_2003_15_02 BUNDLE_DATE = 23_oct_2003 External File/Binary Locations: HOTSPOT_SERVER_PATH = /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/server HOTSPOT_CLIENT_PATH = /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/client OPT_JAVAWS = /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip MOZILLA_PATH = /java/devtools MOZILLA_HEADERS_PATH = /java/devtools/share/plugin MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin MOTIF_DIR = /usr/X11R6 CACERTS_FILE = ./../src/share/lib/security/cacerts WARNING: Your build environment has the variable DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. WARNING: You do not have access to the Java Web Start binary. These binaries may be optional for this build. Please check your access to /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip and/or check your value of ALT_JAVAWS_PATH. This will make your images target build incomplete. Sanity check passed. * Also note that I haven't installed mozilla nor nspr. * The compilation fails with: Rebuilding /emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/libhpi.so because of /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/monitor_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/condvar_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/mutex_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/sys_api_td.o ... /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pthread -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p4"' -DFULL_VERSION='"1.4.1-p4-root_23_oct_2003_15_02"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_BSD_SOURCE -I. -I/emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DHAVE_FILIOH -L/emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R /emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server -shared -mimpure-text -o /emul/linux/home/j2 /control/build/bsd-i586/lib/i386/native_threads/libhpi.so `lorder /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/monitor_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/condvar_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/mutex_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/sys_api_td.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_bsd.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/linker_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/memory_md.o /emul/linux/ home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/system_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/hpi.o | tsort -q` -pthread -pthread gcc: /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server: No such file or directory gmake[5]: *** [/emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/libhpi.so] Error 1 gmake[5]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/emul/linux/home/j2/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/emul/linux/home/j2/j2se/make' gmake: *** [j2se-build] Error 2 * So my questions are : why is this happening ? How can I fix this ? Has someone successfully compiled this jdk under NetBSD ? * If that can help, I have put a full compilation log available here : http://nouvelles.fraiches.free.fr/j2se-netbsd.txt Regards, Thomas