Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 10:24:01 +0800
From:      Huang wen hui <hwh@gddsn.org.cn>
To:        Jung-uk Kim <jkim@FreeBSD.org>, freebsd-java@freebsd.org
Subject:   Re: JDK 1.6.0 patchset 1 "Brumby"
Message-ID:  <46BBCC41.3080602@gddsn.org.cn>
In-Reply-To: <200708091712.00200.jkim@FreeBSD.org>
References:  <20070803053142.GA4434@misty.eyesbeyond.com>	<46B5EDF6.3020603@gmail.com> <200708091645.05680.jkim@FreeBSD.org> <200708091712.00200.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim wrote:
> On Thursday 09 August 2007 04:44 pm, Jung-uk Kim wrote:
>   
>> On Sunday 05 August 2007 11:34 am, Rene Ladan wrote:
>>     
>>> I tried installing this on my i386 FreeBSD-CURRENT SMP box
>>> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap.  The
>>> build first failed because of GCC 4.2 warnings-as-errors about
>>> deprecated string conversions.  After commenting out a -Werror in
>>> work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug
>>> server built fine, but it failed in test_gamma.  I've attached
>>> the hs_err log.
>>>       
>> The attached patch should fix the build problem on -CURRENT.
>>     
Hotspot problem fixed, but I got another problem :

/usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses
-I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include
-I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include/freebsd
-I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin
-I../../../../src/plugin/solaris/common
-I../../../../src/plugin/share/adapter/oji
-I../../../../src/plugin/share/plugin/mozilla_headers_18/caps
-I../../../../src/plugin/share/plugin/mozilla_headers_18/java
-I../../../../src/plugin/share/plugin/mozilla_headers_18/js
-I../../../../src/plugin/share/plugin/mozilla_headers_18/liveconnect
-I../../../../src/plugin/share/plugin/mozilla_headers_18/nspr
-I../../../../src/plugin/share/plugin/mozilla_headers_18/oji
-I../../../../src/plugin/share/plugin/mozilla_headers_18/plugin
-I../../../../src/plugin/share/plugin/mozilla_headers_18/xpcom
-I../../../../src/plugin/share/adapter/common
-I../../../../src/plugin/share/adapter/include
-I../../../../src/plugin/solaris/nscore -I/usr/local/include
-I/usr/local/include -I../../../../src/plugin/share/jpiapi
-I../../../../../j2se/src/solaris/javavm/export
-I../../../../../j2se/src/share/javavm/export
-I../../../../../j2se/src/share/javavm/include
-I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX
-DPLUGIN_NODOTVERSION=\"160_01\" -DPLUGIN_VERSION=\"1.6.0_01\"
-DVERSION=\"1.6.0_01-p1-b00\" -DRELEASE=\"1.6.0_01-p1\" -DARCH=\"amd64\"
-DLIBARCH=\"amd64\" -c -o
/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JavaPluginFactory.o
../../../../src/plugin/share/adapter/common/CNSAdapter_JavaPluginFactory.cpp
../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:
In member function 'virtual JDresult
CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)':
../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:146:
error: cast from 'PRThread*' to 'JDUint32' loses precision
gmake[5]: ***
[/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o]
Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory
`/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter'
gmake[4]: *** [parallel_compile] Error 2
gmake[4]: Leaving directory
`/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter'
gmake[3]: *** [oji-adapter] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk16/work/deploy/make/plugin/adapter'
gmake[2]: *** [adapter] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin'
gmake[1]: *** [plugin-all] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make'
gmake: *** [deploy-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.




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