Build Error: RHEL 6.4/The stack size specified is too small, Specify at least 1920k

Volker Simonis volker.simonis at gmail.com
Wed May 8 15:14:50 PDT 2013


Hi Kumar,

the README-ppc.html file I mentioned in my first mail only covers the
PPC/AIX specifics of our port. For the general OpenJDK build setup you
should still follow the instructions in the original README-build.html
file.

It contains a special section about how to setup the required ALSA
files: http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-builds.html#alsa

Regards,
Volker


On 5/8/13, Kumar Kandasami <kumaravel.kandasami at gmail.com> wrote:
> Volker: Thank you.
>
> It was a mistake on my end. Now I am using the following repository:
> *hg fclone http://hg.openjdk.java.net/ppc-aix-port/jdk7u jdk7u*
> *
> *
> Hope this is correct at this time.
>
> Now the build fails around sound:* /javax/sound/jsoundalsa. *
> I have attached the logs to this email. I am guessing most likely I have
> not installed some pre-requisite.
>
> Do you have any suggestion around this issue ?
>
> Thank you.
>
> --- Environment --
>
> RHEL 6.4/PPC64
>
> --- Build Command --
>
> make fastdebug_build \
>
> ALT_OUTPUTDIR=/home/u0012225/openjdk-7-src/jdk7/jdk7-dist \
>
> ANT_HOME=/home/u0012225/openjdk-7-src/apache-ant-1.8.0 \
>
> ALT_BOOTDIR=/home/u0012225/openjdk1.7.0-ppc-aix-port-b03 \
>
> FT_CFLAGS=-m64 \
>
> ARCH_DATA_MODEL=64 \
>
> ALT_FREETYPE_HEADERS_PATH=/usr/include/freetype2/freetype/ \
>
> VERBOSE=true CC_INTERP=true \
>
> OPENJDK=true \
>
> HOTSPOT_BUILD_JOBS=8 \
>
> PARALLEL_COMPILE_JOBS=8 \
>
> ALLOW_DOWNLOADS=true
>
>
> Kumar
>
> Kumar    _/|\_
> www.saisk.com
> kumar at saisk.com
> "making a profound difference with knowledge and creativity..."
>
>
> On Wed, May 8, 2013 at 1:19 AM, Volker Simonis
> <volker.simonis at gmail.com>wrote:
>
>> Are you sure you cloned the latest version?
>> As far as I can see the value is already '2096' (see line 84 in
>> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/corba/file/tip/make/common/shared/Defs-java.gmk
>> )
>>
>> I've fixed this in January with the following changeset:
>> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/corba/rev/5edf518c7700
>>
>> In general (as explained in he changeset comment) the problem is related
>> to the fact that HotSpot doesn't handle default OS page sizes greater 4K
>> very well (I suppose you have 64K pages). The problem is currently also
>> discussed on the hotpost mailing list (
>> http://mail.openjdk.java.net/pipermail/hotspot-dev/2013-April/009370.html)
>> and will be hopefully resolved soon.
>>
>> Besides this problem, did your build succeed?
>> Could you please use the latest version from the Mercurial repository
>> because I think we did quite some changes in January/February in order to
>> pass the TCK test suite.
>>
>> Thank you and best regards,
>> Volker
>>
>>
>>
>>
>> On Wed, May 8, 2013 at 1:14 AM, Kumar Kandasami <
>> kumaravel.kandasami at gmail.com> wrote:
>>
>>> FYI : Resolved the problem by overriding the default ThreadStackSize
>>> value from 1056 to 2048 in the following file:
>>>  corba/make/common/shared/Defs-java.gmk
>>>
>>> Kumar    _/|\_
>>> www.saisk.com
>>> kumar at saisk.com
>>> "making a profound difference with knowledge and creativity..."
>>>
>>>
>>> On Tue, May 7, 2013 at 3:44 PM, Kumar Kandasami <
>>> kumaravel.kandasami at gmail.com> wrote:
>>>
>>>> Hi :  I am building on RHEL 6.4/ppc64. I am getting error on the corba
>>>> module. Looks like the ThreadStackSize=1536 however expected in 1920k.
>>>> (I
>>>> am guessing this problem breaks my build). How  can I  fix this
>>>> problem,
>>>> and is there any properties file I an override the stack size ?
>>>>
>>>> Thank you.
>>>>
>>>> --- Build Command --
>>>>
>>>> make fastdebug_build \
>>>>
>>>> ALT_OUTPUTDIR=/home/u0012225/openjdk-7-src/jdk7/jdk7-dist \
>>>>
>>>> ANT_HOME=/home/u0012225/openjdk-7-src/apache-ant-1.8.0 \
>>>>
>>>> ALT_BOOTDIR=/home/u0012225/openjdk1.7.0-ppc-aix-port-b03 \
>>>>
>>>> FT_CFLAGS=-m64 \
>>>>
>>>> ARCH_DATA_MODEL=64 \
>>>>
>>>> ALT_FREETYPE_HEADERS_PATH=/usr/include/freetype2/freetype/ \
>>>>
>>>> VERBOSE=true CC_INTERP=true \
>>>>
>>>> OPENJDK=true \
>>>>
>>>> HOTSPOT_BUILD_JOBS=8 \
>>>>
>>>> PARALLEL_COMPILE_JOBS=8 \
>>>>
>>>> ALLOW_DOWNLOADS=true
>>>>
>>>>
>>>> --- Error Stack ---
>>>>
>>>> (cd  ./corba/make && \
>>>>  make JDK_TOPDIR=/home/u0012225/openjdk-7-src/jdk7/jdk
>>>> JDK_MAKE_SHARED_DIR=/home/u0012225/openjdk-7-src/jdk7/jdk/make/common/shared
>>>> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7
>>>> TARGET_CLASS_VERSION=7
>>>> MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00
>>>> FULL_VERSION=1.7.0-internal-fastdebug-u0012225_2013_05_07_17_29-b00
>>>> PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7
>>>> JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0
>>>> PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6
>>>> PREVIOUS_MICRO_VERSION=0
>>>> ARCH_DATA_MODEL=64 VARIANT=DBG FASTDEBUG=true DEBUG_CLASSFILES=true
>>>> COOKED_BUILD_NUMBER=0
>>>> ANT_HOME="/home/u0012225/openjdk-7-src/apache-ant-1.8.0"
>>>> ALT_OUTPUTDIR=/home/u0012225/openjdk-7-src/jdk7/jdk7-dist/../jdk7-dist-fastdebug/corba
>>>> ALT_BOOTDIR=/home/u0012225/openjdk1.7.0-ppc-aix-port-b03
>>>> ALT_JDK_IMPORT_PATH=/NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/linux-ppc64
>>>> ALT_LANGTOOLS_DIST=/home/u0012225/openjdk-7-src/jdk7/jdk7-dist/../jdk7-dist-fastdebug/langtools/dist
>>>> all)
>>>> make[3]: Entering directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make'
>>>> common/shared/Defs-linux.gmk:130: "WARNING: Value of JDK_IMPORT_PATH
>>>> cannot be empty, check or set ALT_JDK_IMPORT_PATH"
>>>> make[4]: Entering directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make/tools'
>>>> ../common/shared/Defs-linux.gmk:130: "WARNING: Value of JDK_IMPORT_PATH
>>>> cannot be empty, check or set ALT_JDK_IMPORT_PATH"
>>>> make[5]: Entering directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make/tools/strip_properties'
>>>> ../../common/shared/Defs-linux.gmk:130: "WARNING: Value of
>>>> JDK_IMPORT_PATH cannot be empty, check or set ALT_JDK_IMPORT_PATH"
>>>> /bin/echo -e "Main-Class: build.tools.stripproperties.StripProperties"
>>>> >
>>>> /home/u0012225/openjdk-7-src/jdk7/jdk7-dist/../jdk7-dist-fastdebug/corba/btclasses/stripproperties_manifest.mf
>>>> /home/u0012225/openjdk1.7.0-ppc-aix-port-b03/bin/javac
>>>>  -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions
>>>> -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m
>>>> -J-Xms512m
>>>> -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6
>>>> -target
>>>> 6 -d
>>>> /home/u0012225/openjdk-7-src/jdk7/jdk7-dist/../jdk7-dist-fastdebug/corba/btclasses
>>>> \
>>>>     -sourcepath ../../tools/src
>>>> ../../tools/src/build/tools/stripproperties/StripProperties.java
>>>>
>>>> The stack size specified is too small, Specify at least 1920k
>>>> Error: Could not create the Java Virtual Machine.
>>>> Error: A fatal exception has occurred. Program will exit.
>>>> make[5]: ***
>>>> [/home/u0012225/openjdk-7-src/jdk7/jdk7-dist/../jdk7-dist-fastdebug/corba/btjars/stripproperties.jar]
>>>> Error 1
>>>> make[5]: Leaving directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make/tools/strip_properties'
>>>> make[4]: *** [build] Error 1
>>>> make[4]: Leaving directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make/tools'
>>>> make[3]: *** [build] Error 1
>>>> make[3]: Leaving directory
>>>> `/home/u0012225/openjdk-7-src/jdk7/corba/make'
>>>> make[2]: *** [corba-build] Error 2
>>>> make[2]: Leaving directory `/home/u0012225/openjdk-7-src/jdk7'
>>>> make[1]: *** [generic_debug_build] Error 2
>>>> make[1]: Leaving directory `/home/u0012225/openjdk-7-src/jdk7'
>>>> make: *** [build_fastdebug_image] Error 2
>>>> [u0012225 at 172-29-172-86 jdk7]$ vi
>>>> /home/u0012225/openjdk-7-src/jdk7/corba/make/tools/strip_properties
>>>>
>>>>
>>>>
>>>> Kumar    _/|\_
>>>> www.saisk.com
>>>> kumar at saisk.com
>>>> "making a profound difference with knowledge and creativity..."
>>>>
>>>
>>>
>>
>


More information about the ppc-aix-port-dev mailing list