Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 18:31:01 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Kurt Miller <kurt@intricatesoftware.com>
Cc:        Scott Mitchell <scott+lists.freebsd@fishballoon.org>, freebsd-java@freebsd.org
Subject:   Re: jdk16 build failure on 7.0R/i386
Message-ID:  <Pine.GSO.4.64.0803111826210.22836@sea.ntplx.net>
In-Reply-To: <Pine.GSO.4.64.0803111804240.22836@sea.ntplx.net>
References:  <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <Pine.GSO.4.64.0803102142200.18214@sea.ntplx.net> <47D5FAEF.3080900@intricatesoftware.com> <Pine.GSO.4.64.0803111804240.22836@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Mar 2008, Daniel Eischen wrote:

> On Mon, 10 Mar 2008, Kurt Miller wrote:
>
>> Hi Daniel,
>> 
>> Hmm, well I'm perplexed then. I can't see why
>> work/control/build/bsd-i586/bin/java isn't recording the NEEDED on
>> libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double
>> -pthread is the culprit. Can you experiment on 7.0 to see if they are
>> involved at all?
>
> I'm sorry, this (jdk16) doesn't even come close to building
> on 7.0 using native jdk15.  It fails right at the get-go.
> See http://people.freebsd.org/~deischen/jdk16.build.log.


Even trying to build jdk15 (1.5.0.14, patchset 8) fails
when using jdk15 (1.5.0.11, patchset 4) as the native
bootstrap:

# Start of jdk build
bsd i586 1.5.0_14-p8 build started: 08-03-11 18:22
if [ -r ./../../deploy/make/Makefile ]; then \
           ( cd  ./../../deploy/make; gmake sanity 
EXTERNALSANITYCONTROL=true 
CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control 
CONTROL_TOPDIR_NAME=control 
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 
ARCH_DATA_MODEL=32 MILESTONE=p8 BUILD_NUMBER=root_11_mar_2008_18_22 
JDK_BUILD_NUMBER=b00 ; ); \
fi
gmake[1]: Entering directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make'
gmake[1]: Leaving directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make'
gmake[1]: Entering directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make'
gmake[1]: Leaving directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make'
if [ -r ./../../install/make/Makefile ]; then \
           ( cd  ./../../install/make; gmake sanity MAKEFLAGS= 
EXTERNALSANITYCONTROL=true 
ALT_CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control 
ALT_J2SE_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/j2se 
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 
ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= 
ALT_NEW_IMAGE_DIR= ALT_BUNDLE_DATE=11_mar_2008 ; ); \
fi
gmake[1]: Entering directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/install/make'
gmake[1]: Leaving directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/install/make'

Build Machine Information:
    build machine =

Build Directory Structure:
    CWD = /opt/FreeBSD/src/ports/java/jdk15/work/control/make
    TOPDIR = ./../..
    CONTROL_TOPDIR = ./../../control
    HOTSPOT_TOPDIR = ./../../hotspot
    J2SE_TOPDIR = ./../../j2se
    DEPLOY_TOPDIR = ./../../deploy
    INSTALL_TOPDIR = ./../../install
    SPONSORS_TOPDIR = ./../../sponsors

Build Directives:
    BUILD_HOTSPOT  = true
    BUILD_MOTIF    = false
    BUILD_INSTALL  = true
    BUILD_SPONSORS = false

Hotspot Settings:
    HOTSPOT_BUILD_JOBS =

Bootstrap Settings:
    JAVAWS_BOOTDIR = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586
    BOOTSTRAP J2SDK VERSION:
    OUTPUTDIR = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586

Build Tool Settings:
    JDK_DEVTOOLS_DIR =
    UNIXCOMMAND_PATH = /bin/
    COMPILER_PATH = /usr/bin/
    DEVTOOLS_PATH = /usr/local/bin/
    USRBIN_PATH = /usr/bin/
    MOZILLA_HEADERS_PATH = ../src/plugin/include
    CC_VER = 4.2.1
    PATH = 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/deischen/bin

Build Directives:
    PEDANTIC =
    INSANE =

Build Platform Settings:
    PLATFORM = bsd
    ARCH = i586
    LIBARCH = i386
    ARCH_FAMILY = i586
    ARCH_DATA_MODEL = 32
    OS_VERSION = 7.0-STABLE
    FREE_SPACE = 74761436

GNU Make Settings:
    MAKE = gmake
    MAKE VERSION =
    MAKECMDGOALS = sanity
    MAKEFLAGS = w -- JDK_BUILD_NUMBER=b00 
BUILD_NUMBER=root_11_mar_2008_18_22 MILESTONE=p8 ARCH_DATA_MODEL=32 
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 
CONTROL_TOPDIR_NAME=control 
CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control 
EXTERNALSANITYCONTROL=true
    SHELL = /bin/sh

Target Build Versions:
    JAVAWS_VERSION = 1.5.0_14
    MILESTONE = p8
    BUILD_NUMBER = root_11_mar_2008_18_22

Bootstrap Settings:
    BOOTDIR = /usr/local/jdk1.5.0
    BOOTSTRAP J2SDK VERSION: 1.5.0_11-p5
    OUTPUTDIR = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586

Build Tool Settings:
    JDK_DEVTOOLS_DIR =
    UNIXCOMMAND_PATH = /bin/
    COMPILER_PATH = /usr/bin/
    DEVTOOLS_PATH = /usr/local/bin/
    USRBIN_PATH = /usr/bin/
    MOTIF_DIR = /usr/local
    CC_VER = 4.2.1
    ZIP_VER = 2.32
    PATH = 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/deischen/bin
    TMPDIR = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/tmp

Build Directives:
    USE_ONLY_BOOTDIR_TOOLS =
    USE_HOTSPOT_INTERPRETER_MODE =
    PEDANTIC =
    DEV_ONLY =
    J2RE_ONLY =
    NO_DOCS =
    NO_IMAGES =
    TOOLS_ONLY =
    INSANE =
    PARALLEL_COMPILES = false
    PARALLEL_COMPILE_JOBS = 2
    FASTDEBUG = false
    INCREMENTAL_BUILD = false

Build Platform Settings:
    PLATFORM = bsd
    ARCH = i586
    LIBARCH = i386
    ARCH_FAMILY = i586
    ARCH_DATA_MODEL = 32
    TRUE_PLATFORM = FreeBSD
    OS_VERSION = 7.0-STABLE
    FREE_SPACE = 74762400

GNU Make Settings:
    MAKE = gmake
    MAKE VERSION =
    MAKECMDGOALS = sanity
    MAKEFLAGS =
    SHELL = /bin/sh

Target Build Versions:
    JDK_VERSION = 1.5.0_14
    MILESTONE = p8
    BUILD_NUMBER = root_11_mar_2008_18_22

External File/Binary Locations:
    HOTSPOT_SERVER_PATH = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server
    HOTSPOT_CLIENT_PATH = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client
    HOTSPOT_IMPORT_PATH = 
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import
    MOTIF_DIR = /usr/local
    CACERTS_FILE = ./../src/share/lib/security/cacerts

   No setting required for Unix Systems
WARNING: Your are not building SPONSORS workspace from
          the control build. This will result in a development-only
          build of the J2SE workspace, lacking the installation bundles

WARNING: Your FreeBSD installation is not valid for building a
        the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*.
        Your release is 7.0-STABLE

Sanity check passed.
/bin/mkdir -p ../build/bsd-i586/hotspot-i586/tmp
(cd  ./../build/bsd-i586/hotspot-i586/tmp; \
           gmake -f 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/Makefile 
product \
                 HOTSPOT_BUILD_VERSION=1.5.0_14-p8-root_11_mar_2008_18_22 
GAMMADIR=/opt/FreeBSD/src/ports/java/jdk15/work/hotspot ; )
gmake[1]: Entering directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
if [ `/usr/local/jdk1.5.0/bin/java -fullversion 2>&1 | grep -c 
'1\.[4567]'` -eq 0 ] ; then \
   /usr/local/jdk1.5.0/bin/java -version; \
           echo "*** An XSLT processor (J2SE 1.4.x or newer) is required 
to bootstrap this build"; \
   exit 1; \
fi
sh 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/makefiles/buildATree.sh 
compiler2 /opt/FreeBSD/src/ports/java/jdk15/work/hotspot bsd i486
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Removing ../generated/includeDB.current to force regeneration.
cd ../generated;   cat 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_core 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_gc 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_shared 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_ci 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_compiler2 
> includeDB
cd ../generated;  if [ ! -r incls ] ; then \
         mkdir incls ; \
         fi
cd ../generated;   /usr/local/jdk1.5.0/bin/java -classpath . MakeDeps 
diffs UnixPlatform platform.current includeDB.current 
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/platform_i486 
includeDB
Old database:
         computing closures

New database:
         reading database: includeDB
java.lang.NullPointerException
gmake[2]: *** [../generated/includeDB.current] Error 1
gmake[2]: Leaving directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0803111826210.22836>