From owner-freebsd-java@FreeBSD.ORG Fri Feb 20 22:12:02 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 2200916A4CE for ; Fri, 20 Feb 2004 22:12:02 -0800 (PST) Received: from hong.homeunix.net (c-67-171-153-196.client.comcast.net [67.171.153.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B4A543D2D for ; Fri, 20 Feb 2004 22:12:01 -0800 (PST) (envelope-from ljfong@hong.homeunix.net) Received: from hong.homeunix.net (localhost [127.0.0.1]) by hong.homeunix.net (Postfix) with ESMTP id D3F438324 for ; Fri, 20 Feb 2004 22:15:09 -0800 (PST) Received: (from ljfong@localhost) by hong.homeunix.net (8.12.10/8.12.10/Submit) id i1L6F9HW040888 for freebsd-java@freebsd.org; Fri, 20 Feb 2004 22:15:09 -0800 (PST) (envelope-from ljfong) Date: Fri, 20 Feb 2004 22:15:09 -0800 From: Lin Jianfong To: FreeBSD Java List Message-ID: <20040221061509.GA40851@hong.attbi.com> Mail-Followup-To: Lin Jianfong , FreeBSD Java List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: java/jdk14 Build Error 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: Sat, 21 Feb 2004 06:12:02 -0000 Hello, I have been having trouble building java/jdk14 port, the error has always been cc1plus does not recognize option '-auxbase-strip' option. I'm doing this on a FreeBSD 5.2-Release box, and the latest cvsup from yesterday. The error as follows: /usr/bin/sed -e 's!uchardir\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/uchardir.d^M /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-ljfong_20_feb_2004_16_38"' -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/X11TextRenderer.o ../../../src/solaris/native/sun/awt/font/X11TextRenderer.cpp^M cc1plus: unrecognized option `-auxbase-strip'^M cc1plus: output filename specified twice^M gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/X11TextRenderer.o] Error 1^M gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font'^M gmake[3]: *** [optimized] Error 2^M gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/font'^M gmake[2]: *** [all] Error 1^M gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun'^M gmake[1]: *** [all] Error 1^M gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'^M gmake: *** [j2se-build] Error 2^M *** Error code 2^M ^M Stop in /usr/ports/java/jdk14.^M ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall58751.0 make -DWITH_LINUX_BOOTSTRAP^M ** Fix the problem and try again.^M ** The following packages were not installed or upgraded (*:skipped / !:failed)^M ! java/jdk14 (unknown build error)^M Not sure what '-auxbase-strip' option does, however, g++295 seems to recognize this option ok, just not g++ 3.3 with the base system. Any help/suggestion appreciated. -- Hong