Re: Native jdk build issue

2007-02-12 Thread Joerg Sonnenberger
On Sun, Feb 11, 2007 at 09:53:27AM +0100, Francois Tigeot wrote:
 I used a one year old version of lang/sun-jdk14 as a bootstrap since
 recent version fail with an illegal system call error.

This happens due to missing parts in linprocfs.

 The build failed after 2 hours with these error messages:

I suspect issues with gmake-3.81, but haven't had time to trace it down.

Joerg


Re: Native jdk build issue

2007-02-12 Thread Francois Tigeot
On Mon, Feb 12, 2007 at 09:34:17PM +0100, Joerg Sonnenberger wrote:
 On Sun, Feb 11, 2007 at 09:53:27AM +0100, Francois Tigeot wrote:
  I used a one year old version of lang/sun-jdk14 as a bootstrap since
  recent version fail with an illegal system call error.
 
 This happens due to missing parts in linprocfs.

Ok.

  The build failed after 2 hours with these error messages:
 
 I suspect issues with gmake-3.81, but haven't had time to trace it down.

Well, this also happens with gmake-3.80nb5 (used on my
DragonFly 1.6 build).

I have traced the error to this file in the jdk14 source tree:

j2se/src/solaris/bin/java_md.c and

and to this line in particular:

libjvm = dlopen(jvmpath, RTLD_NOW + RTLD_GLOBAL);

The dlopen() call fails; jvmpath is
/usr/obj/pkgsrc/wip/jdk14/work/control/build/bsd-i586/lib/i386/client/libjvm.so
as in the first error message.

-- 
Francois Tigeot