Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 09:45:06 GMT
From:      Oleg Pudeyev <oleg@bsdpower.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/174825: java/openjdk6: fails to build on i386 (64-bit mode not compiled in)
Message-ID:  <201212300945.qBU9j6pX081813@red.freebsd.org>
Resent-Message-ID: <201212300950.qBU9o0sJ086400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174825
>Category:       misc
>Synopsis:       java/openjdk6: fails to build on i386 (64-bit mode not compiled in)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 30 09:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Pudeyev
>Release:        9.1
>Organization:
>Environment:
FreeBSD athena.here 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Trying to build java/netbeans, it has java/openjdk6 as dependency which fails with the build log in the attachment.


/home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp:1: sorry, unimplemented: 64-bit mode not compiled in


I found http://osdir.com/ml/freebsd-ports-bugs/2010-02/msg01714.html but it does not appear to be applicable to the current makefile.


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

/bin/mkdir -p /home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir
/bin/mkdir -p /home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/import
cd  ./hotspot/make && \
    gmake JDK_TOPDIR=/home/build/nfs/ports/java/openjdk6/work/jdk JDK_MAKE_SHARED_DIR=/home/build/nfs/ports/java/openjdk6/work/jdk/make/common/shared EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=fcs BUILD_NUMBER=b27 JDK_BUILD_NUMBER=b27 FULL_VERSION=1.6.0_32-b27 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.6.0_32 JDK_MKTG_VERSION=6u32 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_JDK_UPDATE_VERSION=320 COOKED_BUILD_NUMBER=27 ANT_HOME="/home/build/nfs/ports/java/openjdk6/work/apache-ant-1.8.4" ALT_OUTPUTDIR=/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir ALT_EXPORT_PATH=/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/import ALT_SLASH_JAVA=/NOT-SET ALT_BOOTDIR=/usr/local/bootstrap-openjdk ALT_LANGTOOLS_DIST=/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/langtools/dist all_product
gmake[2]: Entering directory `/home/build/nfs/ports/java/openjdk6/work/hotspot/make'
Makefile:375: target `/Xusage.txt' given more than once in the same rule.
cd /home/build/nfs/ports/java/openjdk6/work/hotspot/make; \
gmake VM_TARGET=product generic_build2 ALT_OUTPUTDIR=/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir
gmake[3]: Entering directory `/home/build/nfs/ports/java/openjdk6/work/hotspot/make'
Makefile:375: target `/Xusage.txt' given more than once in the same rule.
mkdir -p /home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir
cd /home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir; \
    gmake -f /home/build/nfs/ports/java/openjdk6/work/hotspot/make/bsd/Makefile \
               LP64=1 JAVA_HOME=/usr/local/bootstrap-openjdk OUTPUTDIR=/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir GAMMADIR=/home/build/nfs/ports/java/openjdk6/work/hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=20.0-b12 JRE_RELEASE_VERSION=1.6.0_32-b27 HOTSPOT_BUILD_VERSION= product
gmake[4]: Entering directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir'
cd bsd_amd64_compiler2/product && gmake -w " LP64=1 "
gmake[5]: Entering directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[6]: Entering directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product'
Compiling /home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp
rm -f ../generated/adfiles/adlparse.o
c++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/prims -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/cpu/x86/vm -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/os/bsd/vm -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/os_cpu/bsd_x86/vm -I/home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/adlc -I../generated -DASSERT -O2 -pipe -march=native -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 -fcheck-new -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  -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -w -g -c -o ../
 generated/adfiles/adlparse.o /home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp 
/home/build/nfs/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
gmake[6]: *** [../generated/adfiles/adlparse.o] Error 1
gmake[6]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [ad_stuff] Error 2
gmake[5]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[4]: *** [product] Error 2
gmake[4]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir'
gmake[3]: *** [generic_build2] Error 2
gmake[3]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work/hotspot/make'
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work/hotspot/make'
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/home/build/nfs/ports/java/openjdk6/work'
gmake: *** [build_product_image] Error 2
*** [do-build] Error code 1

Stop in /nfs/ports/java/openjdk6.
*** [install] Error code 1

Stop in /nfs/ports/java/openjdk6.
*** [run-depends] Error code 1

Stop in /nfs/ports/java/netbeans.


>Release-Note:
>Audit-Trail:
>Unformatted:



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