Date: Tue, 22 Apr 2014 07:05:24 +0800 From: Huang Wen Hui <huanghwh@gmail.com> To: Jung-uk Kim <jkim@freebsd.org> Cc: Mike Jakubik <mike.jakubik@intertainservices.com>, Greg Lewis <glewis@freebsd.org>, "freebsd-java@freebsd.org" <freebsd-java@freebsd.org> Subject: Re: Build error in openjdk-7u55 Message-ID: <CAB8uncbjbCgmG%2BqHORUomHSdfBnwUXO2asNzkJahSmH_MW0Whw@mail.gmail.com> In-Reply-To: <53558657.8080706@FreeBSD.org> References: <CAB8uncbZgXdceUPeRrx24jw%2B2KwjmVkkkiu=XXOxFJaC13sKmQ@mail.gmail.com> <53556A26.50600@intertainservices.com> <53558657.8080706@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 2014-04-22 4:57 GMT+08:00 Jung-uk Kim <jkim@freebsd.org>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2014-04-21 14:57:42 -0400, Mike Jakubik wrote: > > On 04/20/14 22:10, Huang Wen Hui wrote: > >> Hi, Build on STABLE-10, got this error: > >> > >> c++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. > >> -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/share/vm/prims > >> > >> > - -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/share/vm > >> -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/share/vm/precompiled > >> > >> > - -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/cpu/x86/vm > >> -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/os_cpu/bsd_x86/vm > >> > >> > - -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/os/bsd/vm > >> -I/usr/ports/java/openjdk7/work/openjdk/hotspot/src/os/posix/vm > >> -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.55-b03\"" > >> -DHOTSPOT_BUILD_TARGET="\"product\"" > >> -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"amd64\" > >> -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -O2 -pipe -DLIBICONV_PLUG > >> -fno-strict-aliasing -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 > >> -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 > >> -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc > >> -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -pthread -m64 > >> -pipe -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 > >> -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 > >> -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc > >> -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -pthread > >> -m64 -pipe -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 > >> -fno-omit-frame-pointer -DINCLUDE_TRACE=1 -Wpointer-arith > >> -Wconversion -Wsign-compare -DLIBICONV_PLUG -c -fpch-deps -MMD > >> -MP -MF ../generated/dependencies/precompiled.hpp.gch.d -x > >> c++-header > >> > /usr/ports/java/openjdk7/work/openjdk/hotspot/src/share/vm/precompiled/precompiled.hpp > >> > >> > >> > - -o precompiled.hpp.gch > >> c++: error: unknown argument: '-fpch-deps' > >> > > > > FYI. Same problem here, also on 10-stable. > > This problem should be fixed with r351714. > Yes, the problem is fixed. But if use 7u55 to build openjdk-7u55, got this error: Sanity check passed. gmake \ SKIP_FASTDEBUG_BUILD=true \ SKIP_DEBUG_BUILD=true \ \ generic_build_repo_series gmake[3]: Entering directory `/usr/ports/java/openjdk7/work/openjdk' /bin/mkdir -p ./build/bsd-amd64/j2sdk-image /bin/mkdir -p /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools ######################################################################## ######################################################################## ##### Entering langtools for target(s) all ##### ######################################################################## (cd ./langtools/make && \ gmake JDK_TOPDIR=/usr/ports/java/openjdk7/work/openjdk/jdk JDK_MAKE_SHARED_DIR=/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b13 JDK_BUILD_NUMBER=b13 FULL_VERSION=1.7.0_55-b13 PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_55 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0_55 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=13 ANT_HOME="/usr/ports/java/openjdk7/work/apache-ant-1.9.3" ALT_OUTPUTDIR=/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools ALT_BOOTDIR=/usr/local/openjdk7 all) gmake[4]: Entering directory `/usr/ports/java/openjdk7/work/openjdk/langtools/make' JAVA_HOME=/usr/local/openjdk7 ANT_OPTS=-Djava.io.tmpdir='/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' /usr/ports/java/openjdk7/work/apache-ant-1.9.3/bin/ant -Djdk.version=1.7.0_55 -Dfull.version='1.7.0_55-b13' -Drelease=1.7.0_55 -Dbuild.number=b13 -Djavac.target=7 -Djavac.source=7 -Dboot.java.home=/usr/local/openjdk7 -Dimport.jdk=/usr/ports/java/openjdk7/work/openjdk/jdk -Dbuild.dir=/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build -Ddist.dir=/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist build Buildfile: /usr/ports/java/openjdk7/work/openjdk/langtools/make/build.xml -def-pcompile: [javac] Compiling 2 source files to /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/toolclasses BUILD FAILED /usr/ports/java/openjdk7/work/openjdk/langtools/make/build.xml:860: Error running /usr/local/openjdk7/bin/javac compiler Total time: 0 seconds gmake[4]: *** [build] Error 1 gmake[4]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk/langtools/make' gmake[3]: *** [langtools-build] Error 2 gmake[3]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk' gmake[2]: *** [build_product_image] Error 2 gmake[2]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk' *** Error code 1 Stop. make[1]: stopped in /usr/ports/java/openjdk7 *** Error code 1 Stop. make: stopped in /usr/ports/java/openjdk7 Cheers, Huang Wenhui
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncbjbCgmG%2BqHORUomHSdfBnwUXO2asNzkJahSmH_MW0Whw>