jar launcher not able to handle -march=nocona

Petteri Räty betelgeuse at gentoo.org
Mon May 28 18:06:18 UTC 2007

<<<Finished Recursively making audio all @ Mon May 28 19:55:30 EEST 2007.
>>>Recursively making dcpr all @ Mon May 28 19:55:30 EEST 2007 ...
make[4]: Entering directory
/bin/mkdir -p
/bin/echo -e "Copying classes from
Copying classes from /opt/sun-jdk-
xvf /opt/sun-jdk- sun/dc)
/bin/sh: line 1: 17527 Segmentation fault
xvf /opt/sun-jdk- sun/dc
make[4]: *** [copy-closed-src-classes] Error 139
make[4]: Leaving directory
make[3]: *** [all] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 1
make[2]: Leaving directory
make[1]: *** [j2se-build] Error 2
make[1]: Leaving directory
make: *** [dev-build] Error 2

!!! ERROR: dev-java/openjdk- failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  openjdk-, line 120:   Called die

In this case I am building with "-O2 -march=nocona -g" and using the
following patches:

Here is the bt I get. The line numbers probably don't match because of O2:

(gdb) set args xvf /opt/sun-jdk- sun/dc
(gdb) run
Starting program:
xvf /opt/sun-jdk- sun/dc
[Thread debugging using libthread_db enabled]
[New Thread -1209010512 (LWP 14559)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209010512 (LWP 14559)]
hyperthreading_support () at ../../../src/solaris/bin/java_md.c:1189
1189      if (_launcher_debug) {
(gdb) bt
#0  hyperthreading_support () at ../../../src/solaris/bin/java_md.c:1189
#1  0x0804daf3 in logical_processors_per_package () at
#2  0x0804db97 in physical_processors () at
#3  0x0804dc05 in linux_i586_ServerClassMachine () at
#4  0x0804dc66 in ServerClassMachine () at
#5  0x0804a434 in CheckJvmType (pargc=0xbff8f660, argv=0xbff8f664,
speculative=0 '\0') at ../../../src/share/bin/java.c:709
#6  0x0804e0df in CreateExecutionEnvironment (_argcp=0xbff8f660,
_argvp=0xbff8f664, jrepath=0xbff8e5d8
    so_jrepath=4096, jvmpath=0xbff8d5d8 "", so_jvmpath=4096,
original_argv=0x8052008) at ../../../src/solaris/bin/java_md.c:295
#7  0x0804bbd2 in main (argc=0, argv=0x8052098) at

I am in the process of trying to replicate this without -O2 to get a
back trace but any thoughts on the issue would be appreciated.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20070528/648fda6c/signature.asc>

More information about the core-libs-dev mailing list