My continuing JDK14 build problems

Bill Vermillion bv at wjv.com
Tue Jun 15 13:20:24 GMT 2004


> On or about Tue, Jun 15, 2004 at 09:41 , while attempting a 
> Zarathustra emulation Panagiotis Astithas thus spake:

On or about Tue, Jun 15, 2004 at 09:41 , while attempting a 
Zarathustra emulation Panagiotis Astithas thus spake:

> Bill Vermillion wrote:

....

> >I get a failure trying to install the linux-sun-jdk14 that is
> >required to bootstrap the jdk14. I even downloaded the linux rpm
> >from Sun and installed that via rpm -install <filename> and 
> >in that also generates an install.sfx.core file just as
> >builing from jdk14 or sun-linux-jdk14 with the standard files.

> >Someone suggested setting the defaul brand to 3 in sysctl
> >That made no difference.

> >I always get a 'bad system call' as the final error. [I've posted
> >those before].

> >But thinking more about this and recalling I had a bad system call
> >on a commercial application that defaulted to a SVR4 and I had
> >to brand it as Linux, I ran the sun-linux-jdk14 that extracted
> >the install.sfx into the work directory.

> >Then I performed a brandelf -t Linux on install.sfx.

> >I them commented out the extract of the install.sfx in the
> >Makefile so it wouid not re-extract and write over the rebranded
> >image.

> >Now when I run it I get this:

> >---------
> >Script started on Mon Jun 14 15:26:54 2004
> >root at bilver.wjv.com# make
> >======================================================================
> >Warning: This JDK may be unstable. You are advised to use the native
> >FreeBSD JDK, in ports/java/jdk14.
> >
> >This Java VM will attempt to obtain some system information by
> >accessing files in linux's procfs.  You must install the Linux
> >emulation procfs filesystem for this to work correctly.  The JVM
> >will exhibit various problems otherwise.  This can be accomplished
> >by adding the following line to your /etc/fstab file:
> >
> > linprocfs   /compat/linux/proc   linprocfs   rw   0  0
> >
> >and then, as root, executing the commands:
> >
> >kldload linprocfs
> >mount /compat/linux/proc 
> >
> >======================================================================
> >===>  Extracting for linux-sun-jdk-1.4.2.04
> >
> >>>Checksum OK for j2sdk-1_4_2_04-linux-i586.bin.
> >
> >===>   linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 
> >- found
> >/usr/ports/java/linux-sun-jdk14/work/install.sfx: /lib/ld-linux.so.2: 
> >version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6)
> >*** Error code 1
> >
> >Stop in /usr/ports/java/linux-sun-jdk14.
> >root at bilver.wjv.com# exit
> >
> >Script done on Mon Jun 14 15:26:58 2004


> >So the error changes from 'bad system call' to the above.
> >Am I correct in thinking that if I can get that fixed I may be able
> >to proceed. 

> >I'm treading in new territory here for me.  Am I wrong in thinking
> >that this may point to the problem.  In the commerical application
> >the rebrand to Linux cured the bad system call and that install
> >continued.

....

> >The kernel is set for only the 686 and the only things added
> >are SC_HISTORY size set to 700, MAXCONS to 16, and a couple of
> >other syscons - for the SCO compatible screen, plus default
> >text display of green on black.  I can't see any thing in there
> >would be a problem, but I felt it was better to mention what I've
> >changed than the typical "I dont see anything that could affect
> >this".

> Could you try with a GENERIC kernel, just to be on the safe
> side? Also, have you tried with other versions of the Linux
> libraries? We have the following in ports/emulators:

I will do this.

> linux_base
> linux_base-6
> linux_base-8

Currently I have linux-base which currently is 7.1_7.  I upgraded
to that from an earlier when I first had the problems.

I will also this.

Thanks for the suggestion.

Bill
-- 
Bill Vermillion - bv @ wjv . com


More information about the freebsd-emulation mailing list