From owner-freebsd-java@FreeBSD.ORG Thu Aug 5 11:45:29 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A24616A4CE for ; Thu, 5 Aug 2004 11:45:29 +0000 (GMT) Received: from dd2718.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99C8B43D48 for ; Thu, 5 Aug 2004 11:45:28 +0000 (GMT) (envelope-from bartosz@fabianowski.de) Received: from [192.168.0.7] (dsl-082-082-144-202.arcor-ip.net [82.82.144.202]) by dd2718.kasserver.com (Postfix) with ESMTP id 699532324D for ; Thu, 5 Aug 2004 13:45:26 +0200 (CEST) Message-ID: <41121DE9.1080803@fabianowski.de> Date: Thu, 05 Aug 2004 13:45:45 +0200 From: Bartosz Fabianowski User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040731) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: JDK 1.4.2 compilation fails on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 11:45:29 -0000 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