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

Kumar Kandasami kumaravel.kandasami at gmail.com
Tue May 7 15:44:52 PDT 2013


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..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20130507/8f377547/attachment.html 


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