jdk14 and FreeBSD 4.8 problem

cvetelin andreev flowerlin at abv.bg
Sat Mar 6 11:02:23 PST 2004


Hi all, i have the following problem with building jdk1.4.2 on FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sat Aug  2 18:21:59 EEST 2003     root at flowerlin:/usr/src/sys/compile/CORE  i386

On #make install clean, the followin errors occures:
Sanity check passed.
(cd  ./../build/bsd-i586/hotspot-i586/tmp; \
  gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \
        HOTSPOT_BUILD_VERSION=1.4.2-p6-root_06_mar_2004_20_56  GAMMADIR=/usr/por
ts/java/jdk14/work/hotspot ; )
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/
hotspot-i586/tmp'
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/
hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/
hotspot-i586/tmp/bsd_i486_compiler2/product'
Making adlc
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp:212: undefined
 reference to `__builtin_vec_new'
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp:244: undefined
 reference to `__builtin_vec_delete'
../generated/adfiles/output_c.o: In function `pipeline_res_stages_initializer(__
sFILE *, PipelineForm *, NameList &, PipeClassForm *)':
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0x7d6):
undefined reference to `__builtin_vec_new'
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0x95e):
undefined reference to `__builtin_vec_new'
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0xa82):
undefined reference to `__builtin_vec_delete'
/usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0xa97):
undefined reference to `__builtin_vec_delete'
../generated/adfiles/output_c.o: In function `pipeline_res_cycles_initializer(__
collect2: ld returned 1 exit status
gmake[3]: *** [../generated/adfiles/adlc] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [ad_stuff] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2
Stop in /usr/ports/java/jdk14.

Here is some information about my system:

~% gcc -v
gcc version 3.4.0 20040218 (prerelease) [FreeBSD]

~% gmake -version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

/usr/local/linux-sun-jdk1.4.2/bin/java -version 
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

Can somebody tell me where is the problem?!


-----------------------------------------------------------------
http://zavedenia.gbg.bg - Къде ще ходите тази вечер?


More information about the freebsd-java mailing list