Compiled again, new error and not compiling

Ugo Kanain ugokanain at newsguy.com
Sat Jan 23 20:17:19 PST 2010


Just dled a clean copy. However, it is still giving an error and  
didn't finish compiling correctly (i. e. no bin files).

This is the output of the terminal:
Linking launcher...
Making signal interposition lib...
/usr/bin/gcc  -m32 -dynamiclib -fPIC -fPIC \
                         -D_GNU_SOURCE -pthread   -o libjsig.dylib ~/ 
bsd-port/hotspot/src/os/bsd/vm/jsig.c
~/bsd-port/hotspot/src/os/bsd/vm/jsig.c:39:1: warning: "bool" redefined
In file included from /usr/include/dlfcn.h:40,
                 from ~/bsd-port/hotspot/src/os/bsd/vm/jsig.c:34:
/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdbool.h:36:1:  
warning: this is the location of the previous definition
[ -f libjsig.dylib ] || { ln -s libjsig.dylib libjsig.dylib; }
if [ -d ~/bsd-port/hotspot/agent -a "zero" != "ia64" -a "zero" !=  
"zero" ] ; then \
	  make -f vm.make libsaproc.dylib; \
	fi
All done.
cd bsd_ppc_zero/product && ./test_gamma
openjdk full version "1.7.0-internal-landonf_2009_12_16_12_54-b00"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_bsd_zero.cpp:250), pid=42751, tid=2694170656
#  Error: ShouldNotCall()
#
# JRE version: 7.0
# Java VM: OpenJDK Zero VM (17.0-b07 interpreted mode, sharing bsd-ppc )
# An error report file with more information is saved as:
# ~/bsd-port/build/bsd-ppc/hotspot/outputdir/bsd_ppc_zero/product/ 
hs_err_pid42751.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./test_gamma: line 12: 42751 Abort trap              ./${gamma:-gamma}  
-Xbatch -showversion Queens < /dev/null
make[4]: *** [productzero] Error 134
make[3]: *** [generic_buildzero] Error 2
make[2]: *** [productzero] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2



This is the content of the hs_err_pid42751.log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_bsd_zero.cpp:250), pid=42751, tid=2694170656
#  Error: ShouldNotCall()
#
# JRE version: 7.0
# Java VM: OpenJDK Zero VM (17.0-b07 interpreted mode, sharing bsd-ppc )
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

[error occurred during error reporting (printing bug submit message),  
id 0xa]


---------------  T H R E A D  ---------------

Current thread (0x00000002):
[error occurred during error reporting (printing current thread), id  
0xa]

Stack:
[error occurred during error reporting (printing stack bounds), id 0xa]


[error occurred during error reporting (printing Java stack), id 0xa]


[error occurred during error reporting (printing target Java thread  
stack), id 0xa]


[error occurred during error reporting (printing VM operation), id 0xa]


[error occurred during error reporting (printing current compile  
task), id 0xa]


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x00000002 (exited)
[error occurred during error reporting (printing all threads), id 0xa]

VM state:not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

Dynamic libraries:
0x0050f000 	~/bsd-port/build/bsd-ppc/hotspot/outputdir/bsd_ppc_zero/ 
product/libjvm.dylib
0x00000000 	/usr/lib/libffi.dylib
0x00000000 	/usr/lib/libSystem.B.dylib
0x00036000 	/usr/local/lib/libgcc_s.1.dylib
0x00000000 	/usr/lib/libstdc++.6.dylib
0x00000000 	/usr/lib/libgcc_s.1.dylib
0x00000000 	/usr/lib/system/libmathCommon.A.dylib
0x0006f000 	/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/libverify.dylib
0x0007b000 	/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/libjava.dylib

VM Arguments:
jvm_args: -Xbatch
java_command: Queens
Launcher Type: gamma

Environment Variables:
JAVA_HOME=/Volumes/Alternate/openjdk7_boot
CLASSPATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/rt.jar:/Volumes/ 
Alternate/openjdk7_boot/jre/lib/i18n.jar
PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/ 
local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ 
bin:/usr/X11/bin
LD_LIBRARY_PATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/ 
native_threads:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc:
SHELL=/bin/bash
DISPLAY=/tmp/launch-moODF9/:0
DYLD_LIBRARY_PATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/ 
native_threads:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc:

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x377dc0], sa_mask[0]=0xfffefeff,  
sa_flags=0x00000042
SIGBUS: [libjvm.dylib+0x377dc0], sa_mask[0]=0xfffefeff,  
sa_flags=0x00000042
SIGFPE: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGPIPE: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGXFSZ: SIG_DFL, sa_mask[0]=0x01000000, sa_flags=0x00000002
SIGILL: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002
SIGUSR2: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000


---------------  S Y S T E M  ---------------

OS:Bsd
uname:Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01  
PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
rlimit: STACK 0k, CORE 0k, NPROC 0, NOFILE 0
CPU:total 1

Memory: 4k page, physical 1811392k(452848k free)

vm_info: OpenJDK Zero VM (17.0-b07) for bsd-ppc JRE (1.7.0-internal- 
root_2010_01_23_18_07-b00), built on Jan 23 2010 20:50:08 by "root"  
with gcc 4.0.1 (Apple Inc. build 5493)

time: Sat Jan 23 20:50:36 2010
elapsed time: 0 seconds



For completion this is the build command:
LC_ALL=C
LANG=C
unset CLASSPATH
unset JAVA_HOME
sudo make \
CC=gcc-4.0 \
CXX=g++-4.0 \
SYS_CFLAGS="" LANG="C" JAVA_HOME="" CLASSPATH="" \
LD_LIBRARY_PATH="" MAKEFLAGS="" SKIP_COMPARE_IMAGES="YES" \
ALT_BOOTDIR=/Volumes/Alternate/openjdk7_boot \
ALT_BINARY_PLUGS_PATH=/opt/local/share/java/icedtea6-plugs \
ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
ALT_JIBX_LIBS_PATH=/opt/local/share/java/jibx/lib \
ALT_MOTIF_DIR=/opt/local \
DARWIN_SDK=/Developer/SDKs/MacOSX10.5u.sdk \
ALT_DEVTOOLS_PATH=/usr ALT_CUPS_HEADERS_PATH=/usr/include \
ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/ 
security/cacerts \
LIBFFI_CFLAGS="-I/usr/include/ffi" \
ANT_HOME=/usr/share/ant \
NO_DOCS=true \
HOTSPOT_BUILD_JOBS=1 PARALLEL_BUILD_JOBS=1 \
BUILD_DEPLOY="false" \
ZERO_BUILD=true \
ZERO_ENDIANNESS=big \
ZERO_LIBARCH=ppc \
ZERO_ARCHDEF=PPC \
ZERO_ARCHFLAG=-m32





More information about the bsd-port-dev mailing list