Date: Thu, 05 Aug 2004 13:45:45 +0200 From: Bartosz Fabianowski <bartosz@fabianowski.de> To: freebsd-java@freebsd.org Subject: JDK 1.4.2 compilation fails on -CURRENT Message-ID: <41121DE9.1080803@fabianowski.de>
next in thread | raw e-mail | index | archive | help
Hi everybody. I just upgraded to -CURRENT post the GCC 3.4.2-pre import and wanted to recompile all C++ programs. Unfortunately, it seems that native JDK compilation was broken by the new GCC (or something else in -CURRENT). The build dies with: /usr/bin/gcc -W -Wall -Wno-unused -Wno-parentheses -DHEADLESS -fPIC -DCC_NOEX -DNEED_BOGUS_DELETE_OPERATORS -Di586 -DARCH='"i586"' -DRELEASE='"1.4.2-p6"' -DFULL_VERSION='"1.4.2-p6-undo_05_aug_2004_02_29"' -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_BSD_SOURCE -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/font -I../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/font -I../../../src/share/native/sun/awt/font/fontmanager/include -I../../../src/share/native/sun/awt/font/t2k -I../../../src/share/native/sun/awt/font/layout -I../../../src/share/native/sun/awt/font/opentype -I../../../src/share/native/sun/awt/font/layoutengine -I../../../src/share/native/sun/awt/font/bidi -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/solaris/native/sun/awt -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/java2d/pipe -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/../../sun.awt/awt/CClassHeaders -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/t2kScalerContext.o ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp: In member function `virtual void CMAPMapper::CharsToGlyphs(int, const Unicode16*, UInt32*) const': ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp:940: error: no matching function for call to `ConvertUnicodeToGlyphs(sfntFileFontObject&, unsigned char*, int&, const Unicode16*&, UInt32*&)' ../../../src/share/native/sun/awt/font/fontmanager/include/cmaps.h:29: note: candidates are: void ConvertUnicodeToGlyphs(sfntFileFontObject&, byte*&, int, const Unicode16*, UInt32*) ../../../src/share/native/sun/awt/font/fontmanager/include/cmaps.h:32: note: void ConvertUnicodeToGlyphs(sfntFileFontObject&, byte*&, int, const Unicode32*, UInt32*) ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp: In member function `virtual void CMAPMapper::CharsToGlyphs(int, const Unicode32*, UInt32*) const': ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp:947: error: no matching function for call to `ConvertUnicodeToGlyphs(sfntFileFontObject&, unsigned char*, int&, const Unicode32*&, UInt32*&)' ../../../src/share/native/sun/awt/font/fontmanager/include/cmaps.h:29: note: candidates are: void ConvertUnicodeToGlyphs(sfntFileFontObject&, byte*&, int, const Unicode16*, UInt32*) ../../../src/share/native/sun/awt/font/fontmanager/include/cmaps.h:32: note: void ConvertUnicodeToGlyphs(sfntFileFontObject&, byte*&, int, const Unicode32*, UInt32*) gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/t2kScalerContext.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Any help is greatly appreciated. - Bartosz Fabianowski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41121DE9.1080803>