|
List Info
Thread: jdk16 build failure on 7.0R/i386
|
|
| jdk16 build failure on 7.0R/i386 |
  United Kingdom |
2008-03-09 17:00:30 |
I get the following trying to build java/jdk16 on i386, same
result if I
bootstrap with diablo-1.5.0_07 or linux-sun-jdk16. Anyone
else seen this,
or know of a workaround?
Thanks,
Scott
===== Port build output =====
gmake[5]: Entering directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java -client -Xmx512m -Xms256m -classpath
../../../../make/tools/CompileProperties CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
#
# An unexpected error has been detected by Java Runtime
Environment:
#
# Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
#
# Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
# An error report file with more information is saved as
hs_err_pid13919.log
#
# Please submit bug reports to freebsd-java FreeBSD.org
#
gmake[5]: ***
[/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/g
ensrc/com/sun/tools/javac/resources/compiler.java] Abort
trap: 6 (core dumped)
gmake[5]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
Stop in /usr/ports/java/jdk16.
*** Error code 1
Stop in /usr/ports/java/jdk16.
===== hs_err_pid13919.log =====
#
# An unexpected error has been detected by Java Runtime
Environment:
#
# Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
#
# Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
# Please submit bug reports to freebsd-java FreeBSD.org
#
--------------- T H R E A D ---------------
Current thread (0x2820b2f0):
[error occurred during error reporting, step 80, id 0xb]
Stack: [0x00000000,0x00000000)
[error occurred during error reporting, step 110, id 0xb]
[error occurred during error reporting, step 120, id 0xb]
[error occurred during error reporting, step 130, id 0xb]
[error occurred during error reporting, step 140, id 0xb]
[error occurred during error reporting, step 150, id 0xb]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
VM state:not at safepoint (not fully initilizated)
VM Mutex/Monitor currently owned by a thread: None
Heap
[error occurred during error reporting, step 190, id 0xb]
Dynamic libraries:
0x08048000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/b
in/java
0x280a0000 /lib/libc.so.7
0x28300000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/client/libjvm.so
0x28af0000 /usr/lib/libstdc++.so.6
0x2819c000 /lib/libm.so.5
0x281b1000 /lib/libgcc_s.so.1
0x281bd000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/native_threads/libhpi.so
0x28063000 /libexec/ld-elf.so.1
VM Arguments:
jvm_args: -Xmx512m -Xms256m
java_command: CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=
CLASSPATH=
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbi
n:/usr/local/bin:/root/bin
LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/b
uild/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/
work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java
/jdk16/work/control/build/bsd-i586/../lib/i386:
SHELL=/bin/sh
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
ARCH=i586
MACHTYPE=i386
Signal Handlers:
SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000,
sa_flags=0x00000002
SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002
SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004,
sa_flags=0x00000002
SIGTERM: SIG_DFL, sa_mask[0]=0x00004000,
sa_flags=0x00000002
SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
--------------- S Y S T E M ---------------
OS:Bsd
uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
19:59:52 UTC 2008 root logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386
rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE
10893
CPU:total 1
Memory: 4k page, physical 662564k(165641k free)
vm_info: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built
on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1
20070719 [FreeBSD]
--
============================================================
===============
Scott Mitchell | PGP Key ID | "Eagles may
soar, but weasels
Cambridge, England | 0x54B171B9 | don't get sucked
into jet engines"
scott at fishballoon.org | 0xAA775B8B | -- Anon
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United States |
2008-03-09 17:32:09 |
Scott Mitchell wrote:
> I get the following trying to build java/jdk16 on i386,
same result if I
> bootstrap with diablo-1.5.0_07 or linux-sun-jdk16.
Anyone else seen this,
> or know of a workaround?
>
I get the same result on 8-current AMD64 with a small
difference since
the addition of cpu_affinity diablo panivs on build.
> Thanks,
>
> Scott
>
> ===== Port build output =====
> gmake[5]: Entering directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java -client -Xmx512m -Xms256m -classpath
../../../../make/tools/CompileProperties CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
> #
> # An unexpected error has been detected by Java Runtime
Environment:
> #
> # Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
> #
> # Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
> # An error report file with more information is saved
as hs_err_pid13919.log
> #
> # Please submit bug reports to freebsd-java FreeBSD.org
> #
> gmake[5]: ***
[/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/g
ensrc/com/sun/tools/javac/resources/compiler.java] Abort
trap: 6 (core dumped)
> gmake[5]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
> gmake[4]: *** [all] Error 1
> gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac'
> gmake[3]: *** [all] Error 1
> gmake[3]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
>
> Stop in /usr/ports/java/jdk16.
> *** Error code 1
>
> Stop in /usr/ports/java/jdk16.
>
> ===== hs_err_pid13919.log =====
> #
> # An unexpected error has been detected by Java Runtime
Environment:
> #
> # Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
> #
> # Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
> # Please submit bug reports to freebsd-java FreeBSD.org
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x2820b2f0):
> [error occurred during error reporting, step 80, id
0xb]
>
> Stack: [0x00000000,0x00000000)
> [error occurred during error reporting, step 110, id
0xb]
>
>
> [error occurred during error reporting, step 120, id
0xb]
>
>
> [error occurred during error reporting, step 130, id
0xb]
>
>
> [error occurred during error reporting, step 140, id
0xb]
>
>
> [error occurred during error reporting, step 150, id
0xb]
>
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
>
> Other Threads:
>
> VM state:not at safepoint (not fully initilizated)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>
> [error occurred during error reporting, step 190, id
0xb]
>
> Dynamic libraries:
> 0x08048000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/b
in/java
> 0x280a0000 /lib/libc.so.7
> 0x28300000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/client/libjvm.so
> 0x28af0000 /usr/lib/libstdc++.so.6
> 0x2819c000 /lib/libm.so.5
> 0x281b1000 /lib/libgcc_s.so.1
> 0x281bd000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/native_threads/libhpi.so
> 0x28063000 /libexec/ld-elf.so.1
>
> VM Arguments:
> jvm_args: -Xmx512m -Xms256m
> java_command: CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=
> CLASSPATH=
>
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbi
n:/usr/local/bin:/root/bin
>
LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/b
uild/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/
work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java
/jdk16/work/control/build/bsd-i586/../lib/i386:
> SHELL=/bin/sh
> HOSTTYPE=FreeBSD
> OSTYPE=FreeBSD
> ARCH=i586
> MACHTYPE=i386
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000,
sa_flags=0x00000002
> SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
> SIGHUP: SIG_DFL, sa_mask[0]=0x00000001,
sa_flags=0x00000002
> SIGINT: SIG_DFL, sa_mask[0]=0x00000002,
sa_flags=0x00000002
> SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004,
sa_flags=0x00000002
> SIGTERM: SIG_DFL, sa_mask[0]=0x00004000,
sa_flags=0x00000002
> SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
>
>
> --------------- S Y S T E M ---------------
>
> OS:Bsd
> uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun
Feb 24 19:59:52 UTC 2008 root logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386
> rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE
10893
> CPU:total 1
>
> Memory: 4k page, physical 662564k(165641k free)
>
> vm_info: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built
on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1
20070719 [FreeBSD]
>
>
>
>
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |

|
2008-03-10 08:32:36 |
This look like another case of the jvm not being linked to a
thread library.
At least the 'Dynamic libraries:' section of the crash
report doesn't list a
thread library. What does ldd show?
ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
Can you extract the portion of the build log that shows the
link command
for the 'java' executable? It should look something like
this:
Rebuilding
/usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java
because of /usr/ports/java/jdk16/work/contro
l/build/bsd-amd64/tmp/java/java/obj64/java.o
/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/
java/obj64
/java_md.o
/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/
java/obj64/splashscreen_stubs.o
/usr/bin/gcc -o
/usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java
-L/usr/ports/java/jdk16/work/control/
build/bsd-amd64/lib/amd64 -Wl,-soname=lib.so -static-libgcc
-Wl,--whole-archive /usr/ports/java/jdk16/work/control/
build/bsd-amd64/tmp/java/jli/obj64/static/libjli.a
-Wl,--no-whole-archive
/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/
java/obj64/java.o /usr/ports/java/jdk16/work/contro
l/build/bsd-amd64/tmp/java/java/obj64/java_md.o
/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/
java/ob
j64/splashscreen_stubs.o -pthread -pthread
gmake[4]: Leaving directory
`/usr/ports/java/jdk16/work/j2se/make/java/main/java'
-Kurt
On Sunday 09 March 2008 6:00:30 pm Scott Mitchell wrote:
> I get the following trying to build java/jdk16 on i386,
same result if I
> bootstrap with diablo-1.5.0_07 or linux-sun-jdk16.
Anyone else seen this,
> or know of a workaround?
>
> Thanks,
>
> Scott
>
> ===== Port build output =====
> gmake[5]: Entering directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java -client -Xmx512m -Xms256m -classpath
../../../../make/tools/CompileProperties CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
> #
> # An unexpected error has been detected by Java Runtime
Environment:
> #
> # Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
> #
> # Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
> # An error report file with more information is saved
as hs_err_pid13919.log
> #
> # Please submit bug reports to freebsd-java FreeBSD.org
> #
> gmake[5]: ***
[/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/g
ensrc/com/sun/tools/javac/resources/compiler.java] Abort
trap: 6 (core dumped)
> gmake[5]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/java
c'
> gmake[4]: *** [all] Error 1
> gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac'
> gmake[3]: *** [all] Error 1
> gmake[3]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
>
> Stop in /usr/ports/java/jdk16.
> *** Error code 1
>
> Stop in /usr/ports/java/jdk16.
>
> ===== hs_err_pid13919.log =====
> #
> # An unexpected error has been detected by Java Runtime
Environment:
> #
> # Internal Error (4F533F4253443F491418160E43505002C5),
pid=13919, tid=0x28201400
> #
> # Java VM: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode,
sharing)
> # Please submit bug reports to freebsd-java FreeBSD.org
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x2820b2f0):
> [error occurred during error reporting, step 80, id
0xb]
>
> Stack: [0x00000000,0x00000000)
> [error occurred during error reporting, step 110, id
0xb]
>
>
> [error occurred during error reporting, step 120, id
0xb]
>
>
> [error occurred during error reporting, step 130, id
0xb]
>
>
> [error occurred during error reporting, step 140, id
0xb]
>
>
> [error occurred during error reporting, step 150, id
0xb]
>
>
> --------------- P R O C E S S ---------------
>
> Java Threads: ( => current thread )
>
> Other Threads:
>
> VM state:not at safepoint (not fully initilizated)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>
> [error occurred during error reporting, step 190, id
0xb]
>
> Dynamic libraries:
> 0x08048000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/b
in/java
> 0x280a0000 /lib/libc.so.7
> 0x28300000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/client/libjvm.so
> 0x28af0000 /usr/lib/libstdc++.so.6
> 0x2819c000 /lib/libm.so.5
> 0x281b1000 /lib/libgcc_s.so.1
> 0x281bd000
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/l
ib/i386/native_threads/libhpi.so
> 0x28063000 /libexec/ld-elf.so.1
>
> VM Arguments:
> jvm_args: -Xmx512m -Xms256m
> java_command: CompileProperties
../../../../src/share/classes/com/sun/tools/javac/resources/
compiler.properties
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/ge
nsrc/com/sun/tools/javac/resources/compiler.java
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=
> CLASSPATH=
>
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbi
n:/usr/local/bin:/root/bin
>
LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/b
uild/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/
work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java
/jdk16/work/control/build/bsd-i586/../lib/i386:
> SHELL=/bin/sh
> HOSTTYPE=FreeBSD
> OSTYPE=FreeBSD
> ARCH=i586
> MACHTYPE=i386
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff,
sa_flags=0x00000042
> SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000,
sa_flags=0x00000002
> SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
> SIGHUP: SIG_DFL, sa_mask[0]=0x00000001,
sa_flags=0x00000002
> SIGINT: SIG_DFL, sa_mask[0]=0x00000002,
sa_flags=0x00000002
> SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004,
sa_flags=0x00000002
> SIGTERM: SIG_DFL, sa_mask[0]=0x00004000,
sa_flags=0x00000002
> SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000,
sa_flags=0x00000042
>
>
> --------------- S Y S T E M ---------------
>
> OS:Bsd
> uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun
Feb 24 19:59:52 UTC 2008 root logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386
> rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE
10893
> CPU:total 1
>
> Memory: 4k page, physical 662564k(165641k free)
>
> vm_info: Java HotSpot(TM) Client VM
(1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built
on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1
20070719 [FreeBSD]
>
>
>
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United Kingdom |
2008-03-10 15:28:06 |
On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller
wrote:
> This look like another case of the jvm not being linked
to a thread library.
> At least the 'Dynamic libraries:' section of the crash
report doesn't list a
> thread library. What does ldd show?
>
> ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
Hi Kurt,
Not much to see there I'm afraid:
(511) tuatara:~ $ ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java:
libc.so.7 => /lib/libc.so.7 (0x280a0000)
> Can you extract the portion of the build log that shows
the link command
> for the 'java' executable? It should look something
like this:
I didn't keep the whole log, unfortunately. Will kick the
build off again
and let you know what it says.
Many thanks,
Scott
--
============================================================
===============
Scott Mitchell | PGP Key ID | "Eagles may
soar, but weasels
Cambridge, England | 0x54B171B9 | don't get sucked
into jet engines"
scott at fishballoon.org | 0xAA775B8B | -- Anon
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United Kingdom |
2008-03-10 18:18:03 |
On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller
wrote:
> This look like another case of the jvm not being linked
to a thread library.
> At least the 'Dynamic libraries:' section of the crash
report doesn't list a
> thread library. What does ldd show?
>
> ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>
> Can you extract the portion of the build log that shows
the link command
> for the 'java' executable? It should look something
like this:
Hi Kurt,
Here you go - I saved the entire log so just let me know if
you need to see
any more of it:
Rebuilding
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java because of
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
/usr/bin/gcc -o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
-L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/
lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/jli/obj/static/libjli.a -Wl,--no-whole-archive
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o -pthread -pthread
gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java
'
Cheers,
Scott
--
============================================================
===============
Scott Mitchell | PGP Key ID | "Eagles may
soar, but weasels
Cambridge, England | 0x54B171B9 | don't get sucked
into jet engines"
scott at fishballoon.org | 0xAA775B8B | -- Anon
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |

|
2008-03-10 20:30:01 |
On Monday 10 March 2008 7:18:03 pm Scott Mitchell wrote:
> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller
wrote:
> > This look like another case of the jvm not being
linked to a thread library.
> > At least the 'Dynamic libraries:' section of the
crash report doesn't list a
> > thread library. What does ldd show?
> >
> > ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
> >
> > Can you extract the portion of the build log that
shows the link command
> > for the 'java' executable? It should look
something like this:
>
> Hi Kurt,
>
> Here you go - I saved the entire log so just let me
know if you need to see
> any more of it:
>
> Rebuilding
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java because of
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
> /usr/bin/gcc -o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
-L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/
lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/jli/obj/static/libjli.a -Wl,--no-whole-archive
>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o -pthread -pthread
> gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java
'
>
Hi,
Weird. It seems like gc(1)/ld(1) has changed the way
-pthread is handled. In 6.X
and below it will record a NEEDED entry for libpthread even
if the executable
doesn't reference any pthread symbols. I suspect that in 7.X
if the executable
doesn't reference any pthread symbols it wont record the
NEEDED entry.
You can verify that for me with the following test on 7.0:
=== k.c ====
int
main(void) {
return 0;
}
=========
$ cc k.c -pthread && ldd a.out
a.out:
libpthread.so.2 => /usr/lib/libpthread.so.2
(0x80062a000)
libc.so.6 => /lib/libc.so.6 (0x800755000)
Do you get similar ldd output on 7.0?
-Kurt
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United States |
2008-03-10 20:53:21 |
On Mon, 10 Mar 2008, Kurt Miller wrote:
> On Monday 10 March 2008 7:18:03 pm Scott Mitchell
wrote:
>> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt
Miller wrote:
>>> This look like another case of the jvm not
being linked to a thread library.
>>> At least the 'Dynamic libraries:' section of
the crash report doesn't list a
>>> thread library. What does ldd show?
>>>
>>> ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>
>>> Can you extract the portion of the build log
that shows the link command
>>> for the 'java' executable? It should look
something like this:
>>
>> Hi Kurt,
>>
>> Here you go - I saved the entire log so just let me
know if you need to see
>> any more of it:
>>
>> Rebuilding
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java because of
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
>> /usr/bin/gcc -o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
-L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/
lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/jli/obj/static/libjli.a -Wl,--no-whole-archive
>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o -pthread -pthread
>> gmake[4]: Leaving directory
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java
'
>>
>
> Hi,
>
> Weird. It seems like gc(1)/ld(1) has changed the way
-pthread is handled. In 6.X
> and below it will record a NEEDED entry for libpthread
even if the executable
> doesn't reference any pthread symbols. I suspect that
in 7.X if the executable
> doesn't reference any pthread symbols it wont record
the NEEDED entry.
No, for binaries it works the same way on 7.x as 6.x.
$ gcc -o k k.c -pthread
$ ldd k
k:
libthr.so.3 => /lib/libthr.so.3 (0x2807c000)
libc.so.7 => /lib/libc.so.7 (0x2808f000)
I believe that -pthread does now act differently in 7.0+
when used
to build shared libraries. Prior to 7.0, using -pthread to
build
shared libraries would not record a dependency on
libpthread,
whereas in 7.0+ it will record a dependency.
Other than that, the only change in 7.0 is that libthr is
now the
default instead of libkse (nee libpthread).
--
DE
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |

|
2008-03-10 22:22:23 |
Daniel Eischen wrote:
> On Mon, 10 Mar 2008, Kurt Miller wrote:
>
>> On Monday 10 March 2008 7:18:03 pm Scott Mitchell
wrote:
>>> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt
Miller wrote:
>>>> This look like another case of the jvm not
being linked to a thread
>>>> library.
>>>> At least the 'Dynamic libraries:' section
of the crash report
>>>> doesn't list a
>>>> thread library. What does ldd show?
>>>>
>>>> ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>>
>>>> Can you extract the portion of the build
log that shows the link
>>>> command
>>>> for the 'java' executable? It should look
something like this:
>>>
>>> Hi Kurt,
>>>
>>> Here you go - I saved the entire log so just
let me know if you need
>>> to see
>>> any more of it:
>>>
>>> Rebuilding
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>> because of
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
>>>
>>> /usr/bin/gcc -o
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>
-L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/
lib/i386
>>> -Wl,-soname=lib.so -Wl,--whole-archive
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/jli/obj/static/libjli.a
>>> -Wl,--no-whole-archive
>>>
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
>>> -pthread -pthread
>>> gmake[4]: Leaving directory
>>>
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java
'
>>>
>>
>> Hi,
>>
>> Weird. It seems like gcc(1)/ld(1) has changed the
way -pthread is
>> handled. In 6.X
>> and below it will record a NEEDED entry for
libpthread even if the
>> executable
>> doesn't reference any pthread symbols. I suspect
that in 7.X if the
>> executable
>> doesn't reference any pthread symbols it wont
record the NEEDED entry.
>
> No, for binaries it works the same way on 7.x as 6.x.
>
> $ gcc -o k k.c -pthread
> $ ldd k
> k:
> libthr.so.3 => /lib/libthr.so.3
(0x2807c000)
> libc.so.7 => /lib/libc.so.7 (0x2808f000)
>
> I believe that -pthread does now act differently in
7.0+ when used
> to build shared libraries. Prior to 7.0, using
-pthread to build
> shared libraries would not record a dependency on
libpthread,
> whereas in 7.0+ it will record a dependency.
>
> Other than that, the only change in 7.0 is that libthr
is now the
> default instead of libkse (nee libpthread).
>
Hi Daniel,
Hmm, well I'm perplexed then. I can't see why
work/control/build/bsd-i586/bin/java isn't recording the
NEEDED on
libthr.so. Perhaps the -Wl,-soname=lib.so argument or the
double
-pthread is the culprit. Can you experiment on 7.0 to see if
they are
involved at all?
-Kurt
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United States |
2008-03-11 17:11:27 |
On Mon, 10 Mar 2008, Kurt Miller wrote:
> Daniel Eischen wrote:
>> On Mon, 10 Mar 2008, Kurt Miller wrote:
>>
>>> On Monday 10 March 2008 7:18:03 pm Scott
Mitchell wrote:
>>>> On Mon, Mar 10, 2008 at 08:32:36AM -0500,
Kurt Miller wrote:
>>>>> This look like another case of the jvm
not being linked to a thread
>>>>> library.
>>>>> At least the 'Dynamic libraries:'
section of the crash report
>>>>> doesn't list a
>>>>> thread library. What does ldd show?
>>>>>
>>>>> ldd
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>>>
>>>>> Can you extract the portion of the
build log that shows the link
>>>>> command
>>>>> for the 'java' executable? It should
look something like this:
>>>>
>>>> Hi Kurt,
>>>>
>>>> Here you go - I saved the entire log so
just let me know if you need
>>>> to see
>>>> any more of it:
>>>>
>>>> Rebuilding
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>> because of
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
>>>>
>>>> /usr/bin/gcc -o
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bi
n/java
>>>>
-L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/
lib/i386
>>>> -Wl,-soname=lib.so -Wl,--whole-archive
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/jli/obj/static/libjli.a
>>>> -Wl,--no-whole-archive
>>>>
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java.o
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/java_md.o
>>>>
/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tm
p/java/java/obj/splashscreen_stubs.o
>>>> -pthread -pthread
>>>> gmake[4]: Leaving directory
>>>>
`/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java
'
>>>>
>>>
>>> Hi,
>>>
>>> Weird. It seems like gcc(1)/ld(1) has changed
the way -pthread is
>>> handled. In 6.X
>>> and below it will record a NEEDED entry for
libpthread even if the
>>> executable
>>> doesn't reference any pthread symbols. I
suspect that in 7.X if the
>>> executable
>>> doesn't reference any pthread symbols it wont
record the NEEDED entry.
>>
>> No, for binaries it works the same way on 7.x as
6.x.
>>
>> $ gcc -o k k.c -pthread
>> $ ldd k
>> k:
>> libthr.so.3 => /lib/libthr.so.3
(0x2807c000)
>> libc.so.7 => /lib/libc.so.7
(0x2808f000)
>>
>> I believe that -pthread does now act differently in
7.0+ when used
>> to build shared libraries. Prior to 7.0, using
-pthread to build
>> shared libraries would not record a dependency on
libpthread,
>> whereas in 7.0+ it will record a dependency.
>>
>> Other than that, the only change in 7.0 is that
libthr is now the
>> default instead of libkse (nee libpthread).
>>
>
> Hi Daniel,
>
> Hmm, well I'm perplexed then. I can't see why
> work/control/build/bsd-i586/bin/java isn't recording
the NEEDED on
> libthr.so. Perhaps the -Wl,-soname=lib.so argument or
the double
> -pthread is the culprit. Can you experiment on 7.0 to
see if they are
> involved at all?
I'm sorry, this (jdk16) doesn't even come close to building
on 7.0 using native jdk15. It fails right at the get-go.
See
http://people.freebsd.org/~deischen/jdk16.build.log.
The tail end of the log is this:
Creating test_gamma ...
(
echo '#!/bin/sh';
echo "# Generated by
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/build/bsd/mak
efiles/buildtree.make";
echo '. ./env.sh';
echo "if [ -z $JAVA_HOME ]; then { echo
"JAVA_HOME must be set
to run this test."; exit 0; }; fi";
echo "if ! $/bin/java -d32 -fullversion
2>1 > /dev/null";
echo "then";
echo " echo "JAVA_HOME must point to 32bit
JDK."; exit 0;";
echo "fi";
echo
'CLASSPATH="/opt/FreeBSD/src/ports/java/jdk16/work/hots
pot/build/linux:$CLASSPATH"';
echo '[ -f gamma_g ] && { gamma=gamma_g; }';
echo './${gamma:-gamma} -Xbatch Queens < /dev/null';
) > test_gamma
chmod +x test_gamma
gmake[5]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i5
86/hotspot/outputdir/bsd_i486_compiler2/profiled'
touch bsd_i486_compiler2/profiled
gmake[4]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i5
86/hotspot/outputdir'
cd bsd_i486_compiler2/product && gmake -w
gmake[4]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i5
86/hotspot/outputdir/bsd_i486_compiler2/product'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Removing ../generated/includeDB.current to force
regeneration.
cd ../generated; cat
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
includeDB_core
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
includeDB_gc
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
gc_implementation/includeDB_gc_parallelScavenge
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
gc_implementation/includeDB_gc_concurrentMarkSweep
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
gc_implementation/includeDB_gc_shared
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
includeDB_ci
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/
includeDB_compiler2
> includeDB
cd ../generated; if [ ! -r incls ] ; then
mkdir incls ;
fi
cd ../generated; /usr/local/jdk1.5.0/bin/java
-DUSE_PRECOMPILED_HEADER
-classpath . MakeDeps diffs UnixPlatform platform.current
includeDB.current
/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/build/bsd/pla
tform_i486
includeDB
Old database:
computing closures
New database:
reading database: includeDB
java.lang.NullPointerException
gmake[4]: *** [../generated/includeDB.current] Error 1
gmake[4]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i5
86/hotspot/outputdir/bsd_i486_compiler2/product'
gmake[3]: *** [product] Error 2
gmake[3]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i5
86/hotspot/outputdir'
gmake[2]: *** [generic_build2] Error 2
gmake[2]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/make'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/make'
gmake: *** [hotspot-build] Error 2
*** Error code 2
-- DE
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: jdk16 build failure on 7.0R/i386 |
  United States |
2008-03-11 17:31:01 |
On Tue, 11 Mar 2008, Daniel Eischen wrote:
> On Mon, 10 Mar 2008, Kurt Miller wrote:
>
>> Hi Daniel,
>>
>> Hmm, well I'm perplexed then. I can't see why
>> work/control/build/bsd-i586/bin/java isn't
recording the NEEDED on
>> libthr.so. Perhaps the -Wl,-soname=lib.so argument
or the double
>> -pthread is the culprit. Can you experiment on 7.0
to see if they are
>> involved at all?
>
> I'm sorry, this (jdk16) doesn't even come close to
building
> on 7.0 using native jdk15. It fails right at the
get-go.
> See
http://people.freebsd.org/~deischen/jdk16.build.log.
Even trying to build jdk15 (1.5.0.14, patchset 8) fails
when using jdk15 (1.5.0.11, patchset 4) as the native
bootstrap:
# Start of jdk build
bsd i586 1.5.0_14-p8 build started: 08-03-11 18:22
if [ -r ./../../deploy/make/Makefile ]; then
( cd ./../../deploy/make; gmake sanity
EXTERNALSANITYCONTROL=true
CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/contro
l
CONTROL_TOPDIR_NAME=control
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control
/build/bsd-i586
ARCH_DATA_MODEL=32 MILESTONE=p8
BUILD_NUMBER=root_11_mar_2008_18_22
JDK_BUILD_NUMBER=b00 ; );
fi
gmake[1]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make'
gmake[1]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make'
gmake[1]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make'
gmake[1]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make'
if [ -r ./../../install/make/Makefile ]; then
( cd ./../../install/make; gmake sanity
MAKEFLAGS=
EXTERNALSANITYCONTROL=true
ALT_CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/co
ntrol
ALT_J2SE_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/j2se
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control
/build/bsd-i586
ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR=
ALT_NEW_IMAGE_DIR= ALT_BUNDLE_DATE=11_mar_2008 ; );
fi
gmake[1]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk15/work/install/make'
gmake[1]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk15/work/install/make'
Build Machine Information:
build machine =
Build Directory Structure:
CWD =
/opt/FreeBSD/src/ports/java/jdk15/work/control/make
TOPDIR = ./../..
CONTROL_TOPDIR = ./../../control
HOTSPOT_TOPDIR = ./../../hotspot
J2SE_TOPDIR = ./../../j2se
DEPLOY_TOPDIR = ./../../deploy
INSTALL_TOPDIR = ./../../install
SPONSORS_TOPDIR = ./../../sponsors
Build Directives:
BUILD_HOTSPOT = true
BUILD_MOTIF = false
BUILD_INSTALL = true
BUILD_SPONSORS = false
Hotspot Settings:
HOTSPOT_BUILD_JOBS =
Bootstrap Settings:
JAVAWS_BOOTDIR =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6
Build Tool Settings:
JDK_DEVTOOLS_DIR =
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOZILLA_HEADERS_PATH = ../src/plugin/include
CC_VER = 4.2.1
PATH =
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/us
r/local/bin:/home/deischen/bin
Build Directives:
PEDANTIC =
INSANE =
Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
OS_VERSION = 7.0-STABLE
FREE_SPACE = 74761436
GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS = w -- JDK_BUILD_NUMBER=b00
BUILD_NUMBER=root_11_mar_2008_18_22 MILESTONE=p8
ARCH_DATA_MODEL=32
ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control
/build/bsd-i586
CONTROL_TOPDIR_NAME=control
CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/contro
l
EXTERNALSANITYCONTROL=true
SHELL = /bin/sh
Target Build Versions:
JAVAWS_VERSION = 1.5.0_14
MILESTONE = p8
BUILD_NUMBER = root_11_mar_2008_18_22
Bootstrap Settings:
BOOTDIR = /usr/local/jdk1.5.0
BOOTSTRAP J2SDK VERSION: 1.5.0_11-p5
OUTPUTDIR =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6
Build Tool Settings:
JDK_DEVTOOLS_DIR =
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOTIF_DIR = /usr/local
CC_VER = 4.2.1
ZIP_VER = 2.32
PATH =
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/us
r/local/bin:/home/deischen/bin
TMPDIR =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6/tmp
Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY =
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY =
INSANE =
PARALLEL_COMPILES = false
PARALLEL_COMPILE_JOBS = 2
FASTDEBUG = false
INCREMENTAL_BUILD = false
Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
TRUE_PLATFORM = FreeBSD
OS_VERSION = 7.0-STABLE
FREE_SPACE = 74762400
GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh
Target Build Versions:
JDK_VERSION = 1.5.0_14
MILESTONE = p8
BUILD_NUMBER = root_11_mar_2008_18_22
External File/Binary Locations:
HOTSPOT_SERVER_PATH =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6/hotspot-i586/server
HOTSPOT_CLIENT_PATH =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6/hotspot-i586/client
HOTSPOT_IMPORT_PATH =
/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i58
6/hotspot-i586/import
MOTIF_DIR = /usr/local
CACERTS_FILE = ./../src/share/lib/security/cacerts
No setting required for Unix Systems
WARNING: Your are not building SPONSORS workspace from
the control build. This will result in a
development-only
build of the J2SE workspace, lacking the
installation bundles
WARNING: Your FreeBSD installation is not valid for building
a
the J2SDK. You must be using FreeBSD
4.1[01]|5.[345]|6.*.
Your release is 7.0-STABLE
Sanity check passed.
/bin/mkdir -p ../build/bsd-i586/hotspot-i586/tmp
(cd ./../build/bsd-i586/hotspot-i586/tmp;
gmake -f
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/Mak
efile
product
HOTSPOT_BUILD_VERSION=1.5.0_14-p8-root_11_mar_2008_18_22
GAMMADIR=/opt/FreeBSD/src/ports/java/jdk15/work/hotspot ; )
gmake[1]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i5
86/hotspot-i586/tmp'
if [ `/usr/local/jdk1.5.0/bin/java -fullversion 2>&1
| grep -c
'1.[4567]'` -eq 0 ] ; then
/usr/local/jdk1.5.0/bin/java -version;
echo "*** An XSLT processor (J2SE 1.4.x or
newer) is required
to bootstrap this build";
exit 1;
fi
sh
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/mak
efiles/buildATree.sh
compiler2 /opt/FreeBSD/src/ports/java/jdk15/work/hotspot bsd
i486
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i5
86/hotspot-i586/tmp/bsd_i486_compiler2/product'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Removing ../generated/includeDB.current to force
regeneration.
cd ../generated; cat
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
includeDB_core
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
includeDB_gc
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
gc_implementation/includeDB_gc_parallelScavenge
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
gc_implementation/includeDB_gc_shared
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
includeDB_ci
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/
includeDB_compiler2
> includeDB
cd ../generated; if [ ! -r incls ] ; then
mkdir incls ;
fi
cd ../generated; /usr/local/jdk1.5.0/bin/java -classpath .
MakeDeps
diffs UnixPlatform platform.current includeDB.current
/opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/pla
tform_i486
includeDB
Old database:
computing closures
New database:
reading database: includeDB
java.lang.NullPointerException
gmake[2]: *** [../generated/includeDB.current] Error 1
gmake[2]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i5
86/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i5
86/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
|
|