jdk13 fails on FreeBSD 5.1-RELEASE

jdk13 fails on FreeBSD 5.1-RELEASE

Post by jen » Thu, 12 Jun 2003 06:50:28



Hi guys.
While compiling jdk13 on my 5.1 machine i got this:

/usr/bin/gcc  -O -pipe -mcpu=pentiumpro -W -Wall  -Wno-unused
-Wno-parentheses -DMOTIF_VERSION=2  -Di386 -DARCH='"i386"' -DSOLARIS2
-DRELEASE='"1.3.1-p8"' -DFULL_VERSION='"1.3.1-p8-root-030610-21:23"'
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING
-D_LITTLE_ENDIAN -I.
-I../../../build/bsd-i386/tmp/sun/sun.awt/awt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/X11R6/include
-I/usr/X11R6/include -I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/share/native/sun/awt/../java2d/loops
-I../../../src/share/native/sun/awt/../java2d/pipe
-I../../../src/share/native/sun/awt/../dc/doe
-I../../../src/share/native/sun/awt/../dc/path
-I../../../src/solaris/native/sun/awt/../jdga   -c -o
../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_TopLevel.o
../../../src/solaris/native/sun/awt/awt_TopLevel.c
../../../src/solaris/native/sun/awt/awt_TopLevel.c:84:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1102:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1123:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1132:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1140:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1149:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c: In function
`shellEH':
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1714: warning:
`correctWMBottom' might be used uninitialized in this function
../../../src/solaris/native/sun/awt/awt_TopLevel.c:1715: warning:
`correctWMRight' might be used uninitialized in this function
../../../src/solaris/native/sun/awt/awt_TopLevel.c: In function
`Java_sun_awt_motif_MWindowPeer_create':
../../../src/solaris/native/sun/awt/awt_TopLevel.c:2469: warning: cast
to pointer from integer of different size
../../../src/solaris/native/sun/awt/awt_TopLevel.c:2919:8: warning:
extra tokens at end of #endif directive
../../../src/solaris/native/sun/awt/awt_TopLevel.c: In function
`Java_sun_awt_motif_MFramePeer_pGetIconSize':
../../../src/solaris/native/sun/awt/awt_TopLevel.c:3694: warning:
comparison between signed and unsigned
../../../src/solaris/native/sun/awt/awt_TopLevel.c: In function
`Java_sun_awt_motif_MWindowPeer_hasTextComponents':
../../../src/solaris/native/sun/awt/awt_TopLevel.c:4355: internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[3]: ***
[../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_TopLevel.o] Error
1
gmake[3]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt'
gmake[2]: *** [optimized] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13

Any ideas?? I dont think its a hardware issue cause i used to run
gentoo on this very same machine before i installed 5.1 on it.

regards /jens
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 fails on FreeBSD 5.1-RELEASE

Post by Greg Lew » Thu, 12 Jun 2003 08:24:47



> Hi guys.
> While compiling jdk13 on my 5.1 machine i got this:

> /usr/bin/gcc  -O -pipe -mcpu=pentiumpro -W -Wall  -Wno-unused
[snip]
> ../../../src/solaris/native/sun/awt/awt_TopLevel.c:4355: internal
> error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

This is an internal compiler error.  That is to say, the bug lies in gcc.
Some sort of workaround will be needed to avoid triggering this bug.

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java


 
 
 

jdk13 fails on FreeBSD 5.1-RELEASE

Post by jen » Fri, 13 Jun 2003 00:12:43


begin  electrogrammati illius Greg Lewis

> > Hi guys.
> > While compiling jdk13 on my 5.1 machine i got this:

> > /usr/bin/gcc  -O -pipe -mcpu=pentiumpro -W -Wall  -Wno-unused
> [snip]
> > ../../../src/solaris/native/sun/awt/awt_TopLevel.c:4355: internal
> > error: Segmentation fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

> This is an internal compiler error.  That is to say, the bug lies in gcc.
> Some sort of workaround will be needed to avoid triggering this bug.

Really!? I mean are you sure. I was hoping someone would jump in and
tell me that they indeed got either jdk13 or jdk14 working on x86...
..maybe i should just try 4.8 instead?

regards /jens

> --

> Eyes Beyond                         Web     : http://www.eyesbeyond.com


_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 fails on FreeBSD 5.1-RELEASE

Post by Greg Lew » Fri, 13 Jun 2003 01:34:43



> begin  electrogrammati illius Greg Lewis

> > > Hi guys.
> > > While compiling jdk13 on my 5.1 machine i got this:

> > > /usr/bin/gcc  -O -pipe -mcpu=pentiumpro -W -Wall  -Wno-unused
> > [snip]
> > > ../../../src/solaris/native/sun/awt/awt_TopLevel.c:4355: internal
> > > error: Segmentation fault
> > > Please submit a full bug report,
> > > with preprocessed source if appropriate.
> > > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

> > This is an internal compiler error.  That is to say, the bug lies in gcc.
> > Some sort of workaround will be needed to avoid triggering this bug.

> Really!? I mean are you sure. I was hoping someone would jump in and
> tell me that they indeed got either jdk13 or jdk14 working on x86...
> ..maybe i should just try 4.8 instead?

Thats definitely what the error message says, so yes, I am sure.  Whether
its due to a bug in the compiler or a hardware problem on the machine in
question (e.g. bad memory) isn't quite so clear.  I'm getting 1.3.1 built
and 1.4.1 built on a 5.1 box today, so I should be able to find out more
with that.  Currently I'm having trouble fetching Open Motif though :(.

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 fails on FreeBSD 5.1-RELEASE

Post by Greg Lew » Fri, 13 Jun 2003 08:50:53



> begin  electrogrammati illius Greg Lewis
> > This is an internal compiler error.  That is to say, the bug lies in gcc.
> > Some sort of workaround will be needed to avoid triggering this bug.

> Really!? I mean are you sure. I was hoping someone would jump in and
> tell me that they indeed got either jdk13 or jdk14 working on x86...
> ..maybe i should just try 4.8 instead?

Looks like it may be a problem with your hardware:

Quote:> uname -a


Quote:> /usr/local/jdk1.3.1/bin/java -version

java version "1.3.1-p8"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-glewis-030611-18:14)
Classic VM (build 1.3.1-p8-glewis-030611-18:14, green threads, nojit)

Built and runs fine for me so far.

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 fails on FreeBSD 5.1-RELEASE

Post by jen » Fri, 13 Jun 2003 14:39:06


begin  electrogrammati illius Greg Lewis

> > begin  electrogrammati illius Greg Lewis
> > > This is an internal compiler error.  That is to say, the bug lies in gcc.
> > > Some sort of workaround will be needed to avoid triggering this bug.

> > Really!? I mean are you sure. I was hoping someone would jump in and
> > tell me that they indeed got either jdk13 or jdk14 working on x86...
> > ..maybe i should just try 4.8 instead?

> Looks like it may be a problem with your hardware:

> > uname -a

> > /usr/local/jdk1.3.1/bin/java -version
> java version "1.3.1-p8"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-glewis-030611-18:14)
> Classic VM (build 1.3.1-p8-glewis-030611-18:14, green threads, nojit)

> Built and runs fine for me so far.

yup, unfortunatly that was it. I clocked down my CPU/Mem freq. and i
compiled just fine.
its kinda wierd though cause i've been running gentoo och this box
for the past six months whithout problems...
anyways - thanks for replying

/jens

> --

> Eyes Beyond                         Web     : http://www.eyesbeyond.com

> _______________________________________________

> http://lists.freebsd.org/mailman/listinfo/freebsd-java


_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

1. jdk13 compilation fails on 5.1-RELEASE

A workaround seems first to install mozilla to get the required header
files.

Bye
Matt

--
 Mattias Schlenker  / Tel 0851 9441369 oder 0160 7352988
 Freyunger Str. 42 / http://webweaver.de/
 94034 Passau     / http://webweaver.de/mattias
+-------------------------------------------------------+

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

2. Uploading files with Mozilla 1.2.1

3. jdk13 + freebsd 4.5 - make fails

4. Log In Password security

5. SLS 1.02 doesn't detect my Future Domain TMC-1680?

6. JDK1.4.1 with patchset3 on FreeBSD 5.1-RELEASE

7. Standards-compliance of PC Unixes

8. FreeBSD 5.1 installation fails...

9. SSHD crashed FreeBSD hot 3.1-RELEASE FreeBSD 3.1-RELEASE #1

10. AIX 5.1.B and 5.1.C and AIX 5.1.D

11. ports/37848: linux-ibm-jdk13: IBMJava2-SDK-131.tgz new service release cxia32131-20020410

12. linux-ibm-jdk13: IBMJava2-SDK-131.tgz new service release