From owner-freebsd-java@freebsd.org Sun Sep 20 21:00:09 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FA07A0542B for ; Sun, 20 Sep 2015 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5C484118A for ; Sun, 20 Sep 2015 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B290A05425; Sun, 20 Sep 2015 21:00:09 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AC99A05424 for ; Sun, 20 Sep 2015 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36BBD1187 for ; Sun, 20 Sep 2015 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KL09aR047285 for ; Sun, 20 Sep 2015 21:00:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201509202100.t8KL09aR047285@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: java@FreeBSD.org Subject: Problem reports for java@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 20 Sep 2015 21:00:09 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 21:00:09 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 201308 | java/openjdk8: Patches for armv6 1 problems total for which you should take action. From owner-freebsd-java@freebsd.org Wed Sep 23 08:24:57 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B768A06FA8 for ; Wed, 23 Sep 2015 08:24:57 +0000 (UTC) (envelope-from moorsu@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAFD917A1 for ; Wed, 23 Sep 2015 08:24:56 +0000 (UTC) (envelope-from moorsu@gmail.com) Received: by igxx6 with SMTP id x6so24077877igx.1 for ; Wed, 23 Sep 2015 01:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=b3KOUfQTKZWG7RvdKUvezzP/xh3ZK/+Fp91c+XMFW6E=; b=mt2TVMpMGQHGcJDjiPXDa+0cthAZ8xKMsroCEgKvYXjddxl80DjB9AgyKwOY3Sisps zipbzN+UNoVdzIYUA9S/u0Vz+m5uhweU/CwnW+8GlFvesgcVe84EI3+cnQ5PRhxa0mCj +XQ+Hj+RPkm4lHMVTnqGml7RmzrGhiD6iWP+g2KOjCzMuR7hrUYP4D0PTLs9t7ltta6Z yHyR/n0GLGsiE45B7XncbjH/kL6M6Xlx+eBrK0JK4sxv9w3wr1PxTHJtv4/EMTEdcOQS kbzVCQrOqD0j8iV2Cf84M8hoW7bTh8iLzXNVHuDCdLSWfnXCRsXP8V25zqQqmzr8RMaZ Q28w== MIME-Version: 1.0 X-Received: by 10.50.88.101 with SMTP id bf5mr20043113igb.97.1442996696231; Wed, 23 Sep 2015 01:24:56 -0700 (PDT) Received: by 10.36.53.16 with HTTP; Wed, 23 Sep 2015 01:24:56 -0700 (PDT) Date: Wed, 23 Sep 2015 13:54:56 +0530 Message-ID: Subject: OpenJDK 8 From: moorsu To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 08:24:57 -0000 Hi, I am trying to build openjdk8 from sources ( http://hg.openjdk.java.net/jdk8/jdk8) in FreeBSD 8.4. I ran into few build errors. Could you please help me out? -Regards Moor Here is the error snippet. Reading makefile `lib/ServiceabilityLibraries.gmk' (search path) (no ~ expansion)... lib/ServiceabilityLibraries.gmk:37: *** No sources found for BUILD_LIBATTACH when looking inside the dirs /jdk8_sources/jdk/src/solaris/native/sun/tools/attach. Stop. Reaping losing child 0x800c432e0 PID 15246 gmake[1]: *** [libs-only] Error 2 Removing child 0x800c432e0 PID 15246 from chain. Reaping losing child 0x800c53420 PID 15167 gmake: *** [jdk-only] Error 2 Removing child 0x800c53420 PID 15167 from chain. [root@Freebsd_84 /jdk8_sources]# bash ./configure --with-boot-jdk=/usr/local/openjdk7/ --with-cups=/usr/local/cups-2.0.4/cups --with-num-cores=8 --with-memory-size=8192 Running generated-configure.sh configure: configure script generated at timestamp 1389186094. checking for basename... /usr/bin/basename checking for bash... /usr/bin/bash checking for cat... /bin/cat checking for chmod... /bin/chmod checking for cmp... /usr/bin/cmp checking for comm... /usr/bin/comm checking for cp... /bin/cp checking for cpio... /usr/bin/cpio checking for cut... /usr/bin/cut checking for date... /bin/date checking for gdiff... no checking for diff... /usr/bin/diff checking for dirname... /usr/bin/dirname checking for echo... /bin/echo checking for expr... /bin/expr checking for file... /usr/bin/file checking for find... /usr/bin/find checking for head... /usr/bin/head checking for ln... /bin/ln checking for ls... /bin/ls checking for mkdir... /bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /bin/mv checking for printf... /usr/bin/printf checking for rm... /bin/rm checking for sh... /bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for tar... /usr/bin/tar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for uniq... /usr/bin/uniq checking for wc... /usr/bin/wc checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... no checking for mawk... no checking for nawk... nawk checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed checking for nawk... /usr/bin/nawk checking for cygpath... no checking for readlink... /usr/bin/readlink checking for df... /bin/df checking for SetFile... no checking build system type... x86_64-unknown-freebsd8.4 checking host system type... x86_64-unknown-freebsd8.4 checking target system type... x86_64-unknown-freebsd8.4 checking openjdk-build os-cpu... bsd-x86_64 checking openjdk-target os-cpu... bsd-x86_64 checking compilation type... native checking for presence of closed sources... no checking if closed source is suppressed (openjdk-only)... no checking which variant of the JDK to build... normal checking which variants of the JVM to build... server checking which debug level to use... release checking what configuration name to use... bsd-x86_64-normal-server-release checking for apt-get... no checking for yum... no checking for port... no checking for pkgutil... no checking for pkgadd... no checking for gmake... /usr/local/bin/gmake configure: Testing potential make at /usr/local/bin/gmake, found using gmake in PATH configure: Resolving FOUND_MAKE (as /usr/local/bin/gmake) failed, using /usr/local/bin/gmake directly. configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake (version: GNU Make 3.82) checking if find supports -delete... yes checking for unzip... /usr/bin/unzip checking for zip... /usr/local/bin/zip checking for ldd... /usr/bin/ldd checking for otool... no checking for readelf... /usr/bin/readelf checking for hg... /usr/local/bin/hg checking for stat... /usr/bin/stat checking for time... /usr/bin/time checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for 7z... no checking for unzip... unzip checking for wget... wget checking headful support... include support for both headful and headless configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /usr/local/openjdk7 checking Boot JDK version... openjdk version "1.7.0_80" OpenJDK Runtime Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed mode) checking for java in Boot JDK... ok checking for javac in Boot JDK... ok checking for javah in Boot JDK... ok checking for javap in Boot JDK... ok checking for jar in Boot JDK... ok checking for rmic in Boot JDK... ok checking for native2ascii in Boot JDK... ok checking for jtreg... no checking for gcc... /usr/bin/gcc configure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc directly. checking resolved symbolic links for CC... /usr/local/bin/gcc48 checking if CC is disguised ccache... no, keeping CC configure: Using gcc48 (FreeBSD Ports Collection) C compiler version 4.8.5 (located at /usr/local/bin/gcc48) checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/local/bin/gcc48 accepts -g... yes checking for /usr/local/bin/gcc48 option to accept ISO C89... none needed checking for g++... /usr/bin/g++ configure: Resolving CXX (as /usr/bin/g++) failed, using /usr/bin/g++ directly. checking resolved symbolic links for CXX... /usr/bin.real/g++ checking if CXX is disguised ccache... no, keeping CXX configure: Using g++ (GCC) 4.2.1 patched [FreeBSD] C++ compiler version 20070831 patched [FreeBSD] (located at /usr/bin.real/g++) checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin.real/g++ accepts -g... yes checking for ar... ar configure: Rewriting AR to "/usr/bin/ar" checking how to run the C preprocessor... /usr/local/bin/gcc48 -E configure: Resolving CPP (as /usr/local/bin/gcc48) failed, using /usr/local/bin/gcc48 directly. checking how to run the C++ preprocessor... /usr/bin.real/g++ -E configure: Resolving CXXCPP (as /usr/bin.real/g++) failed, using /usr/bin.real/g++ directly. checking for nm... nm configure: Rewriting NM to "/usr/bin/nm" checking for strip... strip configure: Rewriting STRIP to "/usr/bin/strip" checking for gobjdump... no checking for objdump... objdump configure: Rewriting OBJDUMP to "/usr/bin/objdump" checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking size of int *... 8 checking for target address size... 64 bits checking whether byte ordering is bigendian... no checking if compiler supports "-m64"... yes checking if compiler supports "-m64"... yes checking if we should generate debug symbols... false checking if we should zip debug-info files... yes checking what is not needed on bsd?... alsa checking for Mac OS X Java Framework... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking whether -R must be followed by a space... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for X11/extensions/shape.h... yes checking for X11/extensions/Xrender.h... yes checking for X11/extensions/XTest.h... yes checking for X11/Intrinsic.h... yes checking for FREETYPE... yes checking for freetype... yes (using pkg-config) checking if we can compile and link with freetype... yes checking if we should bundle freetype... no checking for main in -ljpeg... no configure: Will use jpeg decoder bundled with the OpenJDK source checking for which giflib to use... bundled checking for compress in -lz... yes checking for which zlib to use... bundled checking for cos in -lm... yes checking for dlopen in -ldl... no checking if elliptic curve crypto implementation is present... yes checking for appropriate number of jobs to run in parallel... 7 checking whether to use sjavac... no checking that precompiled headers work... yes checking for ccache... /usr/local/bin/ccache checking if ccache supports precompiled headers... yes checking if C-compiler supports ccache precompiled headers... yes checking if build directory is on local disk... yes configure: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/config.status config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.gmk config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/hotspot-spec.gmk config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/bootcycle-spec.gmk config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/compare.sh config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.sh config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/Makefile config.status: creating /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h config.status: /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h is unchanged ==================================================== A new configuration has been successfully created in /jdk8_sources/build/bsd-x86_64-normal-server-release using configure arguments '--with-boot-jdk=/usr/local/openjdk7/ --with-cups=/usr/local/cups-2.0.4/cups --with-num-cores=8 --with-memory-size=8192'. Configuration summary: * Debug level: release * JDK variant: normal * JVM variants: server * OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64 Tools summary: * Boot JDK: openjdk version "1.7.0_80" OpenJDK Runtime Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed mode) (at /usr/local/openjdk7) * C Compiler: gcc48 (FreeBSD Ports Collection) version 4.8.5 (at /usr/local/bin/gcc48) * C++ Compiler: g++ (GCC) 4.2.1 patched [FreeBSD] version 20070831 patched [FreeBSD] (at /usr/bin.real/g++) Build performance summary: * Cores to use: 7 * Memory limit: 8192 MB * ccache status: installed and in use WARNING: The result of this configuration has overridden an older configuration. You *should* run 'make clean' to make sure you get a proper build. Failure to do so might result in strange build problems. Make Version Used ----------------- [root@Freebsd_84/jdk8_sources]# make -v GNU Make 3.82 Built for amd64-portbld-freebsd8.4 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. From owner-freebsd-java@freebsd.org Wed Sep 23 08:28:00 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28EA7A0715C for ; Wed, 23 Sep 2015 08:28:00 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (mail.pingpong.net [79.136.116.202]) by mx1.freebsd.org (Postfix) with ESMTP id A58CF1825 for ; Wed, 23 Sep 2015 08:27:59 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (localhost [127.0.0.1]) by mail.pingpong.net (Postfix) with ESMTP id 569A7DC05; Wed, 23 Sep 2015 10:27:58 +0200 (CEST) X-Virus-Scanned: by amavisd-new at pingpong.net Received: from mail.pingpong.net ([127.0.0.1]) by mail.pingpong.net (mail.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tOt2KKv6aKSd; Wed, 23 Sep 2015 10:27:57 +0200 (CEST) Received: from [10.0.0.143] (citron2.pingpong.net [195.178.173.68]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id DBCB4DBFF; Wed, 23 Sep 2015 10:27:57 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: OpenJDK 8 From: Palle Girgensohn In-Reply-To: Date: Wed, 23 Sep 2015 10:27:57 +0200 Cc: freebsd-java@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <197AFC5A-C630-420D-88E0-64A9D1006F30@FreeBSD.org> References: To: moorsu X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 08:28:00 -0000 Hi, Do you really need to run on 8.4? And what is the reason for not using the port? Best regards, Palle > 23 sep 2015 kl. 10:24 skrev moorsu : >=20 > Hi, >=20 > I am trying to build openjdk8 from sources ( > http://hg.openjdk.java.net/jdk8/jdk8) > in FreeBSD 8.4. I ran into few build errors. >=20 > Could you please help me out? >=20 > -Regards > Moor >=20 > Here is the error snippet. >=20 > Reading makefile `lib/ServiceabilityLibraries.gmk' (search path) (no ~ > expansion)... > lib/ServiceabilityLibraries.gmk:37: *** No sources found for > BUILD_LIBATTACH when looking inside the dirs > /jdk8_sources/jdk/src/solaris/native/sun/tools/attach. Stop. > Reaping losing child 0x800c432e0 PID 15246 > gmake[1]: *** [libs-only] Error 2 > Removing child 0x800c432e0 PID 15246 from chain. > Reaping losing child 0x800c53420 PID 15167 > gmake: *** [jdk-only] Error 2 > Removing child 0x800c53420 PID 15167 from chain. >=20 > [root@Freebsd_84 /jdk8_sources]# bash ./configure > --with-boot-jdk=3D/usr/local/openjdk7/ = --with-cups=3D/usr/local/cups-2.0.4/cups > --with-num-cores=3D8 --with-memory-size=3D8192 >=20 > Running generated-configure.sh > configure: configure script generated at timestamp 1389186094. > checking for basename... /usr/bin/basename > checking for bash... /usr/bin/bash > checking for cat... /bin/cat > checking for chmod... /bin/chmod > checking for cmp... /usr/bin/cmp > checking for comm... /usr/bin/comm > checking for cp... /bin/cp > checking for cpio... /usr/bin/cpio > checking for cut... /usr/bin/cut > checking for date... /bin/date > checking for gdiff... no > checking for diff... /usr/bin/diff > checking for dirname... /usr/bin/dirname > checking for echo... /bin/echo > checking for expr... /bin/expr > checking for file... /usr/bin/file > checking for find... /usr/bin/find > checking for head... /usr/bin/head > checking for ln... /bin/ln > checking for ls... /bin/ls > checking for mkdir... /bin/mkdir > checking for mktemp... /usr/bin/mktemp > checking for mv... /bin/mv > checking for printf... /usr/bin/printf > checking for rm... /bin/rm > checking for sh... /bin/sh > checking for sort... /usr/bin/sort > checking for tail... /usr/bin/tail > checking for tar... /usr/bin/tar > checking for tee... /usr/bin/tee > checking for touch... /usr/bin/touch > checking for tr... /usr/bin/tr > checking for uname... /usr/bin/uname > checking for uniq... /usr/bin/uniq > checking for wc... /usr/bin/wc > checking for which... /usr/bin/which > checking for xargs... /usr/bin/xargs > checking for gawk... no > checking for mawk... no > checking for nawk... nawk > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for fgrep... /usr/bin/grep -F > checking for a sed that does not truncate output... /usr/bin/sed > checking for nawk... /usr/bin/nawk > checking for cygpath... no > checking for readlink... /usr/bin/readlink > checking for df... /bin/df > checking for SetFile... no > checking build system type... x86_64-unknown-freebsd8.4 > checking host system type... x86_64-unknown-freebsd8.4 > checking target system type... x86_64-unknown-freebsd8.4 > checking openjdk-build os-cpu... bsd-x86_64 > checking openjdk-target os-cpu... bsd-x86_64 > checking compilation type... native > checking for presence of closed sources... no > checking if closed source is suppressed (openjdk-only)... no > checking which variant of the JDK to build... normal > checking which variants of the JVM to build... server > checking which debug level to use... release > checking what configuration name to use... = bsd-x86_64-normal-server-release > checking for apt-get... no > checking for yum... no > checking for port... no > checking for pkgutil... no > checking for pkgadd... no > checking for gmake... /usr/local/bin/gmake > configure: Testing potential make at /usr/local/bin/gmake, found using > gmake in PATH > configure: Resolving FOUND_MAKE (as /usr/local/bin/gmake) failed, = using > /usr/local/bin/gmake directly. > configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake = (version: > GNU Make 3.82) > checking if find supports -delete... yes > checking for unzip... /usr/bin/unzip > checking for zip... /usr/local/bin/zip > checking for ldd... /usr/bin/ldd > checking for otool... no > checking for readelf... /usr/bin/readelf > checking for hg... /usr/local/bin/hg > checking for stat... /usr/bin/stat > checking for time... /usr/bin/time > checking for pkg-config... /usr/local/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for 7z... no > checking for unzip... unzip > checking for wget... wget > checking headful support... include support for both headful and = headless > configure: Found potential Boot JDK using configure arguments > checking for Boot JDK... /usr/local/openjdk7 > checking Boot JDK version... openjdk version "1.7.0_80" OpenJDK = Runtime > Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build = 24.80-b11, > mixed mode) > checking for java in Boot JDK... ok > checking for javac in Boot JDK... ok > checking for javah in Boot JDK... ok > checking for javap in Boot JDK... ok > checking for jar in Boot JDK... ok > checking for rmic in Boot JDK... ok > checking for native2ascii in Boot JDK... ok > checking for jtreg... no > checking for gcc... /usr/bin/gcc > configure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc > directly. > checking resolved symbolic links for CC... /usr/local/bin/gcc48 > checking if CC is disguised ccache... no, keeping CC > configure: Using gcc48 (FreeBSD Ports Collection) C compiler version = 4.8.5 > (located at /usr/local/bin/gcc48) > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether /usr/local/bin/gcc48 accepts -g... yes > checking for /usr/local/bin/gcc48 option to accept ISO C89... none = needed > checking for g++... /usr/bin/g++ > configure: Resolving CXX (as /usr/bin/g++) failed, using /usr/bin/g++ > directly. > checking resolved symbolic links for CXX... /usr/bin.real/g++ > checking if CXX is disguised ccache... no, keeping CXX > configure: Using g++ (GCC) 4.2.1 patched [FreeBSD] C++ compiler = version > 20070831 patched [FreeBSD] (located at /usr/bin.real/g++) > checking whether we are using the GNU C++ compiler... yes > checking whether /usr/bin.real/g++ accepts -g... yes > checking for ar... ar > configure: Rewriting AR to "/usr/bin/ar" > checking how to run the C preprocessor... /usr/local/bin/gcc48 -E > configure: Resolving CPP (as /usr/local/bin/gcc48) failed, using > /usr/local/bin/gcc48 directly. > checking how to run the C++ preprocessor... /usr/bin.real/g++ -E > configure: Resolving CXXCPP (as /usr/bin.real/g++) failed, using > /usr/bin.real/g++ directly. > checking for nm... nm > configure: Rewriting NM to "/usr/bin/nm" > checking for strip... strip > configure: Rewriting STRIP to "/usr/bin/strip" > checking for gobjdump... no > checking for objdump... objdump > configure: Rewriting OBJDUMP to "/usr/bin/objdump" > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking stdio.h usability... yes > checking stdio.h presence... yes > checking for stdio.h... yes > checking size of int *... 8 > checking for target address size... 64 bits > checking whether byte ordering is bigendian... no > checking if compiler supports "-m64"... yes > checking if compiler supports "-m64"... yes > checking if we should generate debug symbols... false > checking if we should zip debug-info files... yes > checking what is not needed on bsd?... alsa > checking for Mac OS X Java Framework... no > checking for X... libraries /usr/local/lib, headers /usr/local/include > checking whether -R must be followed by a space... no > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for X11/extensions/shape.h... yes > checking for X11/extensions/Xrender.h... yes > checking for X11/extensions/XTest.h... yes > checking for X11/Intrinsic.h... yes > checking for FREETYPE... yes > checking for freetype... yes (using pkg-config) > checking if we can compile and link with freetype... yes > checking if we should bundle freetype... no > checking for main in -ljpeg... no > configure: Will use jpeg decoder bundled with the OpenJDK source > checking for which giflib to use... bundled > checking for compress in -lz... yes > checking for which zlib to use... bundled > checking for cos in -lm... yes > checking for dlopen in -ldl... no > checking if elliptic curve crypto implementation is present... yes > checking for appropriate number of jobs to run in parallel... 7 > checking whether to use sjavac... no > checking that precompiled headers work... yes > checking for ccache... /usr/local/bin/ccache > checking if ccache supports precompiled headers... yes > checking if C-compiler supports ccache precompiled headers... yes > checking if build directory is on local disk... yes > configure: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.status > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.gmk > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/hotspot-spec.gmk > config.status: creating > = /jdk8_sources/build/bsd-x86_64-normal-server-release/bootcycle-spec.gmk > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/compare.sh > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.sh > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/Makefile > config.status: creating > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h > config.status: > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h is = unchanged >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > A new configuration has been successfully created in > /jdk8_sources/build/bsd-x86_64-normal-server-release > using configure arguments '--with-boot-jdk=3D/usr/local/openjdk7/ > --with-cups=3D/usr/local/cups-2.0.4/cups --with-num-cores=3D8 > --with-memory-size=3D8192'. >=20 > Configuration summary: > * Debug level: release > * JDK variant: normal > * JVM variants: server > * OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64 >=20 > Tools summary: > * Boot JDK: openjdk version "1.7.0_80" OpenJDK Runtime = Environment > (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed > mode) (at /usr/local/openjdk7) > * C Compiler: gcc48 (FreeBSD Ports Collection) version 4.8.5 (at > /usr/local/bin/gcc48) > * C++ Compiler: g++ (GCC) 4.2.1 patched [FreeBSD] version 20070831 > patched [FreeBSD] (at /usr/bin.real/g++) >=20 > Build performance summary: > * Cores to use: 7 > * Memory limit: 8192 MB > * ccache status: installed and in use >=20 > WARNING: The result of this configuration has overridden an older > configuration. You *should* run 'make clean' to make sure you get a > proper build. Failure to do so might result in strange build problems. >=20 >=20 > Make Version Used > ----------------- >=20 > [root@Freebsd_84/jdk8_sources]# make -v > GNU Make 3.82 > Built for amd64-portbld-freebsd8.4 > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later = >=20 > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@freebsd.org Wed Sep 23 08:36:03 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DC7BA075E3 for ; Wed, 23 Sep 2015 08:36:03 +0000 (UTC) (envelope-from moorsu@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9BF41C27; Wed, 23 Sep 2015 08:36:02 +0000 (UTC) (envelope-from moorsu@gmail.com) Received: by ioiz6 with SMTP id z6so37595221ioi.2; Wed, 23 Sep 2015 01:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QseRyQoQsM53q7xcCPw5CWyCSUoAsQtPyw7gbubpu6Y=; b=Jmfex5iq0Tah1PAMizPMzVCaWx8EPh4keIRicZRG+odhVT+/Lz9jhbjgJGFUZopLJO WIveAT+Q3AbfY0TMP6ZjuQB21BoihynHTieGDU1X2VfjFQv1DtOed5ZdQp8In1dB/GM3 NzUeQYB/lh09VxW9DFtN9U+EoPK50lFN//XFFBPwgku5cGVMAaKzK2XeSwyCKKg/Zwgn uHTSXVb3kOPjf5YGlSanSihYAs4w7TEJ/wzbEwef+bLuidKCN+y228Ghm3v/Wju4OOEj vdJyzZlj0Q8LVfKkN+WBNZJjFUqfLgwtBirv//vj7gB/T0u7d/nbeyKTDN6z3qIKdFC0 LCGQ== MIME-Version: 1.0 X-Received: by 10.107.166.139 with SMTP id p133mr37929497ioe.113.1442997362127; Wed, 23 Sep 2015 01:36:02 -0700 (PDT) Received: by 10.36.53.16 with HTTP; Wed, 23 Sep 2015 01:36:02 -0700 (PDT) In-Reply-To: <197AFC5A-C630-420D-88E0-64A9D1006F30@FreeBSD.org> References: <197AFC5A-C630-420D-88E0-64A9D1006F30@FreeBSD.org> Date: Wed, 23 Sep 2015 14:06:02 +0530 Message-ID: Subject: Re: OpenJDK 8 From: moorsu To: Palle Girgensohn Cc: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 08:36:03 -0000 Hi, Thanks for helping me out. I have to build it on 8.4. That's a constraint. Is this not supported?. I did try to use ports. The make fails with an error. Please see the error below. I was able to build it on ubuntu with the same code base. I am new to FreeBSD. root@Freebsd_84 /usr/ports/java/openjdk8]# make -version GNU Make 3.82 Built for amd64-portbld-freebsd8.4 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [root@Freebsd_84 /usr/ports/java/openjdk8]# make install Makefile:44: *** missing separator. Stop. [root@Freebsd_84 /usr/ports/java/openjdk8]# gmake -version GNU Make 3.82 Built for amd64-portbld-freebsd8.4 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [root@Freebsd_84 /usr/ports/java/openjdk8]# gmake install Makefile:44: *** missing separator. Stop. [root@Freebsd_84 /usr/ports/java/openjdk8]# Line 44 is .if !exists(/usr/bin/unzip) Regards Moor. On Wed, Sep 23, 2015 at 1:57 PM, Palle Girgensohn wrote: > Hi, > > Do you really need to run on 8.4? > > And what is the reason for not using the port? > > Best regards, > Palle > > > 23 sep 2015 kl. 10:24 skrev moorsu : > > > > Hi, > > > > I am trying to build openjdk8 from sources ( > > http://hg.openjdk.java.net/jdk8/jdk8) > > in FreeBSD 8.4. I ran into few build errors. > > > > Could you please help me out? > > > > -Regards > > Moor > > > > Here is the error snippet. > > > > Reading makefile `lib/ServiceabilityLibraries.gmk' (search path) (no ~ > > expansion)... > > lib/ServiceabilityLibraries.gmk:37: *** No sources found for > > BUILD_LIBATTACH when looking inside the dirs > > /jdk8_sources/jdk/src/solaris/native/sun/tools/attach. Stop. > > Reaping losing child 0x800c432e0 PID 15246 > > gmake[1]: *** [libs-only] Error 2 > > Removing child 0x800c432e0 PID 15246 from chain. > > Reaping losing child 0x800c53420 PID 15167 > > gmake: *** [jdk-only] Error 2 > > Removing child 0x800c53420 PID 15167 from chain. > > > > [root@Freebsd_84 /jdk8_sources]# bash ./configure > > --with-boot-jdk=/usr/local/openjdk7/ > --with-cups=/usr/local/cups-2.0.4/cups > > --with-num-cores=8 --with-memory-size=8192 > > > > Running generated-configure.sh > > configure: configure script generated at timestamp 1389186094. > > checking for basename... /usr/bin/basename > > checking for bash... /usr/bin/bash > > checking for cat... /bin/cat > > checking for chmod... /bin/chmod > > checking for cmp... /usr/bin/cmp > > checking for comm... /usr/bin/comm > > checking for cp... /bin/cp > > checking for cpio... /usr/bin/cpio > > checking for cut... /usr/bin/cut > > checking for date... /bin/date > > checking for gdiff... no > > checking for diff... /usr/bin/diff > > checking for dirname... /usr/bin/dirname > > checking for echo... /bin/echo > > checking for expr... /bin/expr > > checking for file... /usr/bin/file > > checking for find... /usr/bin/find > > checking for head... /usr/bin/head > > checking for ln... /bin/ln > > checking for ls... /bin/ls > > checking for mkdir... /bin/mkdir > > checking for mktemp... /usr/bin/mktemp > > checking for mv... /bin/mv > > checking for printf... /usr/bin/printf > > checking for rm... /bin/rm > > checking for sh... /bin/sh > > checking for sort... /usr/bin/sort > > checking for tail... /usr/bin/tail > > checking for tar... /usr/bin/tar > > checking for tee... /usr/bin/tee > > checking for touch... /usr/bin/touch > > checking for tr... /usr/bin/tr > > checking for uname... /usr/bin/uname > > checking for uniq... /usr/bin/uniq > > checking for wc... /usr/bin/wc > > checking for which... /usr/bin/which > > checking for xargs... /usr/bin/xargs > > checking for gawk... no > > checking for mawk... no > > checking for nawk... nawk > > checking for grep that handles long lines and -e... /usr/bin/grep > > checking for egrep... /usr/bin/grep -E > > checking for fgrep... /usr/bin/grep -F > > checking for a sed that does not truncate output... /usr/bin/sed > > checking for nawk... /usr/bin/nawk > > checking for cygpath... no > > checking for readlink... /usr/bin/readlink > > checking for df... /bin/df > > checking for SetFile... no > > checking build system type... x86_64-unknown-freebsd8.4 > > checking host system type... x86_64-unknown-freebsd8.4 > > checking target system type... x86_64-unknown-freebsd8.4 > > checking openjdk-build os-cpu... bsd-x86_64 > > checking openjdk-target os-cpu... bsd-x86_64 > > checking compilation type... native > > checking for presence of closed sources... no > > checking if closed source is suppressed (openjdk-only)... no > > checking which variant of the JDK to build... normal > > checking which variants of the JVM to build... server > > checking which debug level to use... release > > checking what configuration name to use... > bsd-x86_64-normal-server-release > > checking for apt-get... no > > checking for yum... no > > checking for port... no > > checking for pkgutil... no > > checking for pkgadd... no > > checking for gmake... /usr/local/bin/gmake > > configure: Testing potential make at /usr/local/bin/gmake, found using > > gmake in PATH > > configure: Resolving FOUND_MAKE (as /usr/local/bin/gmake) failed, using > > /usr/local/bin/gmake directly. > > configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake > (version: > > GNU Make 3.82) > > checking if find supports -delete... yes > > checking for unzip... /usr/bin/unzip > > checking for zip... /usr/local/bin/zip > > checking for ldd... /usr/bin/ldd > > checking for otool... no > > checking for readelf... /usr/bin/readelf > > checking for hg... /usr/local/bin/hg > > checking for stat... /usr/bin/stat > > checking for time... /usr/bin/time > > checking for pkg-config... /usr/local/bin/pkg-config > > checking pkg-config is at least version 0.9.0... yes > > checking for 7z... no > > checking for unzip... unzip > > checking for wget... wget > > checking headful support... include support for both headful and headless > > configure: Found potential Boot JDK using configure arguments > > checking for Boot JDK... /usr/local/openjdk7 > > checking Boot JDK version... openjdk version "1.7.0_80" OpenJDK Runtime > > Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build > 24.80-b11, > > mixed mode) > > checking for java in Boot JDK... ok > > checking for javac in Boot JDK... ok > > checking for javah in Boot JDK... ok > > checking for javap in Boot JDK... ok > > checking for jar in Boot JDK... ok > > checking for rmic in Boot JDK... ok > > checking for native2ascii in Boot JDK... ok > > checking for jtreg... no > > checking for gcc... /usr/bin/gcc > > configure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc > > directly. > > checking resolved symbolic links for CC... /usr/local/bin/gcc48 > > checking if CC is disguised ccache... no, keeping CC > > configure: Using gcc48 (FreeBSD Ports Collection) C compiler version > 4.8.5 > > (located at /usr/local/bin/gcc48) > > checking whether the C compiler works... yes > > checking for C compiler default output file name... a.out > > checking for suffix of executables... > > checking whether we are cross compiling... no > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether /usr/local/bin/gcc48 accepts -g... yes > > checking for /usr/local/bin/gcc48 option to accept ISO C89... none needed > > checking for g++... /usr/bin/g++ > > configure: Resolving CXX (as /usr/bin/g++) failed, using /usr/bin/g++ > > directly. > > checking resolved symbolic links for CXX... /usr/bin.real/g++ > > checking if CXX is disguised ccache... no, keeping CXX > > configure: Using g++ (GCC) 4.2.1 patched [FreeBSD] C++ compiler version > > 20070831 patched [FreeBSD] (located at /usr/bin.real/g++) > > checking whether we are using the GNU C++ compiler... yes > > checking whether /usr/bin.real/g++ accepts -g... yes > > checking for ar... ar > > configure: Rewriting AR to "/usr/bin/ar" > > checking how to run the C preprocessor... /usr/local/bin/gcc48 -E > > configure: Resolving CPP (as /usr/local/bin/gcc48) failed, using > > /usr/local/bin/gcc48 directly. > > checking how to run the C++ preprocessor... /usr/bin.real/g++ -E > > configure: Resolving CXXCPP (as /usr/bin.real/g++) failed, using > > /usr/bin.real/g++ directly. > > checking for nm... nm > > configure: Rewriting NM to "/usr/bin/nm" > > checking for strip... strip > > configure: Rewriting STRIP to "/usr/bin/strip" > > checking for gobjdump... no > > checking for objdump... objdump > > configure: Rewriting OBJDUMP to "/usr/bin/objdump" > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking stdio.h usability... yes > > checking stdio.h presence... yes > > checking for stdio.h... yes > > checking size of int *... 8 > > checking for target address size... 64 bits > > checking whether byte ordering is bigendian... no > > checking if compiler supports "-m64"... yes > > checking if compiler supports "-m64"... yes > > checking if we should generate debug symbols... false > > checking if we should zip debug-info files... yes > > checking what is not needed on bsd?... alsa > > checking for Mac OS X Java Framework... no > > checking for X... libraries /usr/local/lib, headers /usr/local/include > > checking whether -R must be followed by a space... no > > checking for gethostbyname... yes > > checking for connect... yes > > checking for remove... yes > > checking for shmat... yes > > checking for IceConnectionNumber in -lICE... yes > > checking for X11/extensions/shape.h... yes > > checking for X11/extensions/Xrender.h... yes > > checking for X11/extensions/XTest.h... yes > > checking for X11/Intrinsic.h... yes > > checking for FREETYPE... yes > > checking for freetype... yes (using pkg-config) > > checking if we can compile and link with freetype... yes > > checking if we should bundle freetype... no > > checking for main in -ljpeg... no > > configure: Will use jpeg decoder bundled with the OpenJDK source > > checking for which giflib to use... bundled > > checking for compress in -lz... yes > > checking for which zlib to use... bundled > > checking for cos in -lm... yes > > checking for dlopen in -ldl... no > > checking if elliptic curve crypto implementation is present... yes > > checking for appropriate number of jobs to run in parallel... 7 > > checking whether to use sjavac... no > > checking that precompiled headers work... yes > > checking for ccache... /usr/local/bin/ccache > > checking if ccache supports precompiled headers... yes > > checking if C-compiler supports ccache precompiled headers... yes > > checking if build directory is on local disk... yes > > configure: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.status > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.gmk > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/hotspot-spec.gmk > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/bootcycle-spec.gmk > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/compare.sh > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.sh > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/Makefile > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h > > config.status: > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h is > unchanged > > > > ==================================================== > > A new configuration has been successfully created in > > /jdk8_sources/build/bsd-x86_64-normal-server-release > > using configure arguments '--with-boot-jdk=/usr/local/openjdk7/ > > --with-cups=/usr/local/cups-2.0.4/cups --with-num-cores=8 > > --with-memory-size=8192'. > > > > Configuration summary: > > * Debug level: release > > * JDK variant: normal > > * JVM variants: server > > * OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64 > > > > Tools summary: > > * Boot JDK: openjdk version "1.7.0_80" OpenJDK Runtime Environment > > (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed > > mode) (at /usr/local/openjdk7) > > * C Compiler: gcc48 (FreeBSD Ports Collection) version 4.8.5 (at > > /usr/local/bin/gcc48) > > * C++ Compiler: g++ (GCC) 4.2.1 patched [FreeBSD] version 20070831 > > patched [FreeBSD] (at /usr/bin.real/g++) > > > > Build performance summary: > > * Cores to use: 7 > > * Memory limit: 8192 MB > > * ccache status: installed and in use > > > > WARNING: The result of this configuration has overridden an older > > configuration. You *should* run 'make clean' to make sure you get a > > proper build. Failure to do so might result in strange build problems. > > > > > > Make Version Used > > ----------------- > > > > [root@Freebsd_84/jdk8_sources]# make -v > > GNU Make 3.82 > > Built for amd64-portbld-freebsd8.4 > > Copyright (C) 2010 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later < > http://gnu.org/licenses/gpl.html > >> > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > From owner-freebsd-java@freebsd.org Wed Sep 23 11:32:49 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E35B8A065F3 for ; Wed, 23 Sep 2015 11:32:49 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (mail.pingpong.net [79.136.116.202]) by mx1.freebsd.org (Postfix) with ESMTP id 59FC41A1B for ; Wed, 23 Sep 2015 11:32:49 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mail.pingpong.net (localhost [127.0.0.1]) by mail.pingpong.net (Postfix) with ESMTP id C660ADB51; Wed, 23 Sep 2015 13:32:46 +0200 (CEST) X-Virus-Scanned: by amavisd-new at pingpong.net Received: from mail.pingpong.net ([127.0.0.1]) by mail.pingpong.net (mail.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1SwQ3oeaxb7A; Wed, 23 Sep 2015 13:32:46 +0200 (CEST) Received: from [10.0.0.143] (citron2.pingpong.net [195.178.173.68]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id 522D5DB4D; Wed, 23 Sep 2015 13:32:45 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: OpenJDK 8 From: Palle Girgensohn In-Reply-To: Date: Wed, 23 Sep 2015 13:32:44 +0200 Cc: freebsd-java@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6E72F178-F445-48E9-B6EB-FAED11CBE482@FreeBSD.org> References: <197AFC5A-C630-420D-88E0-64A9D1006F30@FreeBSD.org> To: moorsu X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 11:32:50 -0000 > 23 sep 2015 kl. 10:36 skrev moorsu : >=20 > Hi, >=20 > Thanks for helping me out. >=20 > I have to build it on 8.4. That's a constraint. Is this not = supported?.=20 Your joking? [https://www.freebsd.org/security/security.html#sup]. You = should really consider reassessing that constraint. 8.4 has been = unsupported for years. >=20 > I did try to use ports. The make fails with an error. Please see the = error below. >=20 > I was able to build it on ubuntu with the same code base. I am new to = FreeBSD.=20 First thing, don't use gmake to build the ports. There is something = wrong in your setup, make is GMake. This is wrong. How could you end up = with this? A bad symlink? Fix it. /usr/bin/make is BSD make. GMake will not build the port at all, it = quite a different beast. If the port does not work with the normal make, try this: You should take all the patches from openjdk8/files and apply them or = you will be out of luck. And also read the Makefile and find out how it = is built, and try to mimic that. There was a bug in the FreeBSD kernel = that makes openjdk8 crash the kernel for some versions, and I believe = the work around was to not upgrade java, or fix the kernel. It should be = documented in the Makefile. You would be far better off just upgrading the OS and "cd openjdk8; make = install". But if you need to stay on 8.4, trying to mimic what the port = does when installing is probaly your best bet. >=20 > root@Freebsd_84 /usr/ports/java/openjdk8]# make -version > GNU Make 3.82 > Built for amd64-portbld-freebsd8.4 > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later = > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20 > [root@Freebsd_84 /usr/ports/java/openjdk8]# make install > Makefile:44: *** missing separator. Stop. >=20 > [root@Freebsd_84 /usr/ports/java/openjdk8]# gmake -version > GNU Make 3.82 > Built for amd64-portbld-freebsd8.4 > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later = > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20 > [root@Freebsd_84 /usr/ports/java/openjdk8]# gmake install > Makefile:44: *** missing separator. Stop. > [root@Freebsd_84 /usr/ports/java/openjdk8]# >=20 > Line 44 is=20 >=20 > .if !exists(/usr/bin/unzip) >=20 > Regards > Moor. >=20 >=20 >=20 > On Wed, Sep 23, 2015 at 1:57 PM, Palle Girgensohn = wrote: > Hi, >=20 > Do you really need to run on 8.4? >=20 > And what is the reason for not using the port? >=20 > Best regards, > Palle >=20 > > 23 sep 2015 kl. 10:24 skrev moorsu : > > > > Hi, > > > > I am trying to build openjdk8 from sources ( > > http://hg.openjdk.java.net/jdk8/jdk8) > > in FreeBSD 8.4. I ran into few build errors. > > > > Could you please help me out? > > > > -Regards > > Moor > > > > Here is the error snippet. > > > > Reading makefile `lib/ServiceabilityLibraries.gmk' (search path) (no = ~ > > expansion)... > > lib/ServiceabilityLibraries.gmk:37: *** No sources found for > > BUILD_LIBATTACH when looking inside the dirs > > /jdk8_sources/jdk/src/solaris/native/sun/tools/attach. Stop. > > Reaping losing child 0x800c432e0 PID 15246 > > gmake[1]: *** [libs-only] Error 2 > > Removing child 0x800c432e0 PID 15246 from chain. > > Reaping losing child 0x800c53420 PID 15167 > > gmake: *** [jdk-only] Error 2 > > Removing child 0x800c53420 PID 15167 from chain. > > > > [root@Freebsd_84 /jdk8_sources]# bash ./configure > > --with-boot-jdk=3D/usr/local/openjdk7/ = --with-cups=3D/usr/local/cups-2.0.4/cups > > --with-num-cores=3D8 --with-memory-size=3D8192 > > > > Running generated-configure.sh > > configure: configure script generated at timestamp 1389186094. > > checking for basename... /usr/bin/basename > > checking for bash... /usr/bin/bash > > checking for cat... /bin/cat > > checking for chmod... /bin/chmod > > checking for cmp... /usr/bin/cmp > > checking for comm... /usr/bin/comm > > checking for cp... /bin/cp > > checking for cpio... /usr/bin/cpio > > checking for cut... /usr/bin/cut > > checking for date... /bin/date > > checking for gdiff... no > > checking for diff... /usr/bin/diff > > checking for dirname... /usr/bin/dirname > > checking for echo... /bin/echo > > checking for expr... /bin/expr > > checking for file... /usr/bin/file > > checking for find... /usr/bin/find > > checking for head... /usr/bin/head > > checking for ln... /bin/ln > > checking for ls... /bin/ls > > checking for mkdir... /bin/mkdir > > checking for mktemp... /usr/bin/mktemp > > checking for mv... /bin/mv > > checking for printf... /usr/bin/printf > > checking for rm... /bin/rm > > checking for sh... /bin/sh > > checking for sort... /usr/bin/sort > > checking for tail... /usr/bin/tail > > checking for tar... /usr/bin/tar > > checking for tee... /usr/bin/tee > > checking for touch... /usr/bin/touch > > checking for tr... /usr/bin/tr > > checking for uname... /usr/bin/uname > > checking for uniq... /usr/bin/uniq > > checking for wc... /usr/bin/wc > > checking for which... /usr/bin/which > > checking for xargs... /usr/bin/xargs > > checking for gawk... no > > checking for mawk... no > > checking for nawk... nawk > > checking for grep that handles long lines and -e... /usr/bin/grep > > checking for egrep... /usr/bin/grep -E > > checking for fgrep... /usr/bin/grep -F > > checking for a sed that does not truncate output... /usr/bin/sed > > checking for nawk... /usr/bin/nawk > > checking for cygpath... no > > checking for readlink... /usr/bin/readlink > > checking for df... /bin/df > > checking for SetFile... no > > checking build system type... x86_64-unknown-freebsd8.4 > > checking host system type... x86_64-unknown-freebsd8.4 > > checking target system type... x86_64-unknown-freebsd8.4 > > checking openjdk-build os-cpu... bsd-x86_64 > > checking openjdk-target os-cpu... bsd-x86_64 > > checking compilation type... native > > checking for presence of closed sources... no > > checking if closed source is suppressed (openjdk-only)... no > > checking which variant of the JDK to build... normal > > checking which variants of the JVM to build... server > > checking which debug level to use... release > > checking what configuration name to use... = bsd-x86_64-normal-server-release > > checking for apt-get... no > > checking for yum... no > > checking for port... no > > checking for pkgutil... no > > checking for pkgadd... no > > checking for gmake... /usr/local/bin/gmake > > configure: Testing potential make at /usr/local/bin/gmake, found = using > > gmake in PATH > > configure: Resolving FOUND_MAKE (as /usr/local/bin/gmake) failed, = using > > /usr/local/bin/gmake directly. > > configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake = (version: > > GNU Make 3.82) > > checking if find supports -delete... yes > > checking for unzip... /usr/bin/unzip > > checking for zip... /usr/local/bin/zip > > checking for ldd... /usr/bin/ldd > > checking for otool... no > > checking for readelf... /usr/bin/readelf > > checking for hg... /usr/local/bin/hg > > checking for stat... /usr/bin/stat > > checking for time... /usr/bin/time > > checking for pkg-config... /usr/local/bin/pkg-config > > checking pkg-config is at least version 0.9.0... yes > > checking for 7z... no > > checking for unzip... unzip > > checking for wget... wget > > checking headful support... include support for both headful and = headless > > configure: Found potential Boot JDK using configure arguments > > checking for Boot JDK... /usr/local/openjdk7 > > checking Boot JDK version... openjdk version "1.7.0_80" OpenJDK = Runtime > > Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build = 24.80-b11, > > mixed mode) > > checking for java in Boot JDK... ok > > checking for javac in Boot JDK... ok > > checking for javah in Boot JDK... ok > > checking for javap in Boot JDK... ok > > checking for jar in Boot JDK... ok > > checking for rmic in Boot JDK... ok > > checking for native2ascii in Boot JDK... ok > > checking for jtreg... no > > checking for gcc... /usr/bin/gcc > > configure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc > > directly. > > checking resolved symbolic links for CC... /usr/local/bin/gcc48 > > checking if CC is disguised ccache... no, keeping CC > > configure: Using gcc48 (FreeBSD Ports Collection) C compiler version = 4.8.5 > > (located at /usr/local/bin/gcc48) > > checking whether the C compiler works... yes > > checking for C compiler default output file name... a.out > > checking for suffix of executables... > > checking whether we are cross compiling... no > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether /usr/local/bin/gcc48 accepts -g... yes > > checking for /usr/local/bin/gcc48 option to accept ISO C89... none = needed > > checking for g++... /usr/bin/g++ > > configure: Resolving CXX (as /usr/bin/g++) failed, using = /usr/bin/g++ > > directly. > > checking resolved symbolic links for CXX... /usr/bin.real/g++ > > checking if CXX is disguised ccache... no, keeping CXX > > configure: Using g++ (GCC) 4.2.1 patched [FreeBSD] C++ compiler = version > > 20070831 patched [FreeBSD] (located at /usr/bin.real/g++) > > checking whether we are using the GNU C++ compiler... yes > > checking whether /usr/bin.real/g++ accepts -g... yes > > checking for ar... ar > > configure: Rewriting AR to "/usr/bin/ar" > > checking how to run the C preprocessor... /usr/local/bin/gcc48 -E > > configure: Resolving CPP (as /usr/local/bin/gcc48) failed, using > > /usr/local/bin/gcc48 directly. > > checking how to run the C++ preprocessor... /usr/bin.real/g++ -E > > configure: Resolving CXXCPP (as /usr/bin.real/g++) failed, using > > /usr/bin.real/g++ directly. > > checking for nm... nm > > configure: Rewriting NM to "/usr/bin/nm" > > checking for strip... strip > > configure: Rewriting STRIP to "/usr/bin/strip" > > checking for gobjdump... no > > checking for objdump... objdump > > configure: Rewriting OBJDUMP to "/usr/bin/objdump" > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking stdio.h usability... yes > > checking stdio.h presence... yes > > checking for stdio.h... yes > > checking size of int *... 8 > > checking for target address size... 64 bits > > checking whether byte ordering is bigendian... no > > checking if compiler supports "-m64"... yes > > checking if compiler supports "-m64"... yes > > checking if we should generate debug symbols... false > > checking if we should zip debug-info files... yes > > checking what is not needed on bsd?... alsa > > checking for Mac OS X Java Framework... no > > checking for X... libraries /usr/local/lib, headers = /usr/local/include > > checking whether -R must be followed by a space... no > > checking for gethostbyname... yes > > checking for connect... yes > > checking for remove... yes > > checking for shmat... yes > > checking for IceConnectionNumber in -lICE... yes > > checking for X11/extensions/shape.h... yes > > checking for X11/extensions/Xrender.h... yes > > checking for X11/extensions/XTest.h... yes > > checking for X11/Intrinsic.h... yes > > checking for FREETYPE... yes > > checking for freetype... yes (using pkg-config) > > checking if we can compile and link with freetype... yes > > checking if we should bundle freetype... no > > checking for main in -ljpeg... no > > configure: Will use jpeg decoder bundled with the OpenJDK source > > checking for which giflib to use... bundled > > checking for compress in -lz... yes > > checking for which zlib to use... bundled > > checking for cos in -lm... yes > > checking for dlopen in -ldl... no > > checking if elliptic curve crypto implementation is present... yes > > checking for appropriate number of jobs to run in parallel... 7 > > checking whether to use sjavac... no > > checking that precompiled headers work... yes > > checking for ccache... /usr/local/bin/ccache > > checking if ccache supports precompiled headers... yes > > checking if C-compiler supports ccache precompiled headers... yes > > checking if build directory is on local disk... yes > > configure: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.status > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.gmk > > config.status: creating > > = /jdk8_sources/build/bsd-x86_64-normal-server-release/hotspot-spec.gmk > > config.status: creating > > = /jdk8_sources/build/bsd-x86_64-normal-server-release/bootcycle-spec.gmk > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/compare.sh > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/spec.sh > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/Makefile > > config.status: creating > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h > > config.status: > > /jdk8_sources/build/bsd-x86_64-normal-server-release/config.h is = unchanged > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > A new configuration has been successfully created in > > /jdk8_sources/build/bsd-x86_64-normal-server-release > > using configure arguments '--with-boot-jdk=3D/usr/local/openjdk7/ > > --with-cups=3D/usr/local/cups-2.0.4/cups --with-num-cores=3D8 > > --with-memory-size=3D8192'. > > > > Configuration summary: > > * Debug level: release > > * JDK variant: normal > > * JVM variants: server > > * OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64 > > > > Tools summary: > > * Boot JDK: openjdk version "1.7.0_80" OpenJDK Runtime = Environment > > (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, = mixed > > mode) (at /usr/local/openjdk7) > > * C Compiler: gcc48 (FreeBSD Ports Collection) version 4.8.5 (at > > /usr/local/bin/gcc48) > > * C++ Compiler: g++ (GCC) 4.2.1 patched [FreeBSD] version 20070831 > > patched [FreeBSD] (at /usr/bin.real/g++) > > > > Build performance summary: > > * Cores to use: 7 > > * Memory limit: 8192 MB > > * ccache status: installed and in use > > > > WARNING: The result of this configuration has overridden an older > > configuration. You *should* run 'make clean' to make sure you get a > > proper build. Failure to do so might result in strange build = problems. > > > > > > Make Version Used > > ----------------- > > > > [root@Freebsd_84/jdk8_sources]# make -v > > GNU Make 3.82 > > Built for amd64-portbld-freebsd8.4 > > Copyright (C) 2010 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later = >> > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >=20 >=20 From owner-freebsd-java@freebsd.org Fri Sep 25 05:01:41 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67C13A09D5C for ; Fri, 25 Sep 2015 05:01:41 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 10B031A52 for ; Fri, 25 Sep 2015 05:01:40 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.15.2/8.15.2) with ESMTP id t8P4beJh051527; Thu, 24 Sep 2015 21:37:40 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.15.2/8.15.2/Submit) id t8P4bdRi051526; Thu, 24 Sep 2015 21:37:39 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 24 Sep 2015 21:37:39 -0700 From: Greg Lewis To: Curtis Hamilton Cc: freebsd-java@freebsd.org Subject: Re: Icedtea on FreeBSD PowerPC Message-ID: <20150925043739.GA51468@misty.eyesbeyond.com> References: <002b01d0ef2d$86363290$92a297b0$@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002b01d0ef2d$86363290$92a297b0$@verizon.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 05:01:41 -0000 On Mon, Sep 14, 2015 at 04:39:59PM -0400, Curtis Hamilton wrote: > Has anyone been successful in building openjdk6 or openjdk7 using icedtea on > a FreeBSD PowerPC based system? If so, I'd love to know how you did it. > > I've successfully implemented a workable bootsrap using GCJ and ECJ, but > encounter problems in building HotSpot. You may be able to build openjdk8 using the Zero VM if you apply the patches from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201308 and additionally modify the Makefile to also allow the correct ARCH settings for powerpc. However, that would still require some sort of bootstrapping, so maybe you'd hit the same error still, depending on what is causing that. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org