Problem building jdk14 in 5.0-RELEASE-p7

Problem building jdk14 in 5.0-RELEASE-p7

Post by Mantzios Achille » Wed, 30 Apr 2003 16:18:31



Hi, after applying patch-pthread_attr_get_np.c

my build fails in a strange cc condition:

gmake[3]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_com
piler2/product'^M
Compiling
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/adlparse.cpp
cc1plus in malloc(): warning: recursive call
cc1plus in malloc(): warning: recursive call
internal error: Segmentation fault

I sent a second message with the full output of the build,
which is awaiting moderator approval.

_______________________________________________

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

 
 
 

Problem building jdk14 in 5.0-RELEASE-p7

Post by Tom Samploni » Wed, 30 Apr 2003 16:51:20



> gmake[3]: Entering directory
> `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_com
> piler2/product'^M
> Compiling
> /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/adlparse.cpp
> cc1plus in malloc(): warning: recursive call
> cc1plus in malloc(): warning: recursive call
> internal error: Segmentation fault

...

  Looks like a buggy or damaged gcc.  Are you using the system gcc, or
have you installed a gcc port?

Tom

_______________________________________________

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


 
 
 

Problem building jdk14 in 5.0-RELEASE-p7

Post by Mantzios Achille » Wed, 30 Apr 2003 17:03:24




> > gmake[3]: Entering directory
> > `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_com
> > piler2/product'^M
> > Compiling
> > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/adlparse.cpp
> > cc1plus in malloc(): warning: recursive call
> > cc1plus in malloc(): warning: recursive call
> > internal error: Segmentation fault
> ...

>   Looks like a buggy or damaged gcc.  Are you using the system gcc, or
> have you installed a gcc port?

i am using system's
freebsd# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20021119 (release)
freebsd#

Now it seems i cannot even buildworld due to a same gcc error:

===> gnu/usr.bin/gperf/doc
c++  -O -pipe    -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib
-I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/bool-array.cc
cc1plus in malloc(): warning: recursive call
cc1plus in malloc(): warning: recursive call
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.
======

Seems like g++ is always the problem.
But i cant find a solution yet, since i dont know
if it is wise to try gcc3.2.3 and if it is possible
to build jdk14 with gcc3.2.3.

Quote:

> Tom

    ----------------------------------------------------------------
    | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios |
    ----------------------------------------------------------------

_______________________________________________

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

 
 
 

Problem building jdk14 in 5.0-RELEASE-p7

Post by Greg Lew » Thu, 01 May 2003 00:12:08





> > > gmake[3]: Entering directory
> > > `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_com
> > > piler2/product'^M
> > > Compiling
> > > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/adlparse.cpp
> > > cc1plus in malloc(): warning: recursive call
> > > cc1plus in malloc(): warning: recursive call
> > > internal error: Segmentation fault
> > ...

> >   Looks like a buggy or damaged gcc.  Are you using the system gcc, or
> > have you installed a gcc port?

> i am using system's
> freebsd# gcc -v
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.2.1 [FreeBSD] 20021119 (release)
> freebsd#

> Now it seems i cannot even buildworld due to a same gcc error:

You either have a buggy gcc version or some hardware (e.g. memory)
is going bad.

--

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

_______________________________________________

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

 
 
 

1. build failure of jdk14 on 5.0 current

I get the following error installing jdk14 on 5.0 current (11.3.2003):

Compiling
/usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/monitorChunk.cpp
Compiling /usr/ports/java/jdk14/work/hotspot/src/share/vm/opto/mulnode.cpp
In file included from ../generated/incls/_mulnode.cpp.incl:113,
                 from
/usr/ports/java/jdk14/work/hotspot/src/share/vm/opto/mulnode.cpp:12:
/usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.hpp:1285:
Internal
   compiler error in pop_binding, at cp/decl.c:1196
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]: *** [mulnode.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

Can anyone help me with this?

Andrew

--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!


with "unsubscribe freebsd-java" in the body of the message

2. ppp connect problems

3. is 4.7-RELEASE-p7 too old??

4. rpc.ttdbserverd annoying messages

5. linux-jdk14 dies on 4.3 release and 4.5 release I'm not insane!

6. IP masq and ??? (web servers?)

7. linux-jdk14 dies on 4.3 release but not on 4.5 release

8. Need help on APACHE_1.2.4

9. Another(?) native jdk14 compilation problem on 5.0

10. Yet another problem building /usr/ports/java/jdk14

11. IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor"

12. Failed to build sml-nj from ports on 5.0-RELEASE